Skip to content
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

Require protocol to be set in endpoint URLs #1527

Merged
merged 3 commits into from
Dec 19, 2023
Merged

Require protocol to be set in endpoint URLs #1527

merged 3 commits into from
Dec 19, 2023

Conversation

webmaster128
Copy link
Member

@webmaster128 webmaster128 commented Dec 19, 2023

In an app I am running into errors like this:

_app-XXXXXXX.js:1 Mixed Content: The page at '' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://websocket/'. This request has been blocked; this endpoint must be available over WSS.

This is very confusing since no wwebsocket connection is used here. "ws://websocket/" probably just means the RPC string was empty and "ws://" was prepended and "websocket/" was appended.

It should not be too much to ask the app developer to always include the protocol in the URLs.

@webmaster128 webmaster128 force-pushed the short-denoms branch 2 times, most recently from a3e1e70 to 852093c Compare December 19, 2023 12:39
@webmaster128 webmaster128 merged commit b23d0b7 into main Dec 19, 2023
16 checks passed
@webmaster128 webmaster128 deleted the short-denoms branch December 19, 2023 13:29
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.

1 participant