-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
[BUG] Devtools doesn't allow insecure websocket over a secure (https) page #438
Comments
It would help if the quick fix provided by nireak could be applied. You don't necessarily need to support wss directly in the devtools since one could create a simple websocket proxy (nginx/caddy etc). The proxy is then configured with certificates but pass the websocket unencrypted to devtools. |
@christianalfoni are you sure that the protocol in
|
Thanks for the suggestions but I haven't been able to implement them. I'm using Chrome and Opera. I wanted to use overmind devtools while developing at Amazon Cloud9 IDE that runs on a EC2 instance remotely. My running app has then some url like https://xxxxxxxxx.vfs.cloud9.us-east-1.amazonaws.com/. I know it's a very specific use case. :( |
Hello
When I'm running the app over a secure (https) connection I get an error: "SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS." originating at src/Devtools.ts:33
How can I use from an https page?
perhaps changing the websocket protocol to a secure one ?
Or it is not as easy? Perhaps, although you change your code, it would need some kind of certificate, etc...
Thanks!
The text was updated successfully, but these errors were encountered: