Skip to content

Fix: Unencrypted Web Request Could Expose Sensitive Data in docext/app/utils.py #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docext/app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ def cleanup(signum, frame, vllm_server):

def check_vllm_healthcheck(host: str, port: int):
try:
response = requests.get(f"http://{host}:{port}/healthcheck")
response = requests.get(f"https://{host}:{port}/healthcheck")
return response.status_code == 200
except Exception as e:
return False


def check_ollama_healthcheck(host: str, port: int):
try:
response = requests.get(f"http://{host}:{port}")
response = requests.get(f"https://{host}:{port}")
return response.status_code == 200
except Exception as e:
return False
Expand Down