[bug]: Error when connecting to local WebSocket endpoint
mathaimon opened this issue · comments
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
While trying to connect to a local WebSocket endpoint i get get and error saying that ws:// cannot be accessed because the page was loaded over HTTPS.
Steps to reproduce
- Go to Realtime -> Websocket
- Connect to local websocket server
Environment
Production
Version
Local
Can you try the WSS
protocol instead of WS
and see if the issue persists?
It works fine while using WSS
.
The prefixes wss://
indicate that the connection is secured using TLS/SSL encryption. The prefixes ws://
indicate the connection is unsecured.
As of now, Hoppscotch requires secured API endpoints for its testing playground.
Feel free to create another issue ticket if anything goes wrong.
is there any way that i can use hoppscotch to test local ws
endpoints without ssl.
Also its not mentioned in the docs. https://docs.hoppscotch.io/documentation/getting-started/realtime/websocket