Skip to content

Conversation

@Deenyoro
Copy link

The code was only converting ws:// to http:// but not handling wss:// to https://. When using secure websockets, this left the URL as wss:// which broke downloads since requests.get() can't handle websocket URLs.

Added .replace("wss://", "https://") to handle secure websockets.

Fixes the InvalidSchema exception when downloading mesh agents with secure websocket configs.

The code was only converting ws:// to http:// but not handling wss://
to https://. When using secure websockets, this left the URL as wss://
which broke downloads since requests.get() can't handle websocket URLs.

Added .replace("wss://", "https://") to handle secure websockets.

Fixes the InvalidSchema exception when downloading mesh agents with
secure websocket configs.
@CLAassistant
Copy link

CLAassistant commented Dec 16, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants