[GH-ISSUE #4409] [bug]: WebSocket connection fails due to mixed content when using HTTPS #1612

Closed
opened 2026-03-16 21:06:29 +03:00 by kerem · 2 comments
Owner

Originally created by @yemreck on GitHub (Oct 7, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4409

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When cloud page loaded with HTTPS, it fails to connect local websocket clients over HTTP.

WSConnection.ts:33 Mixed Content: The page at 'https://hoppscotch.io/realtime/websocket' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://192.168.1.5:3000/'. This request has been blocked; this endpoint must be available over WSS.

Browser: Arc 129.0.6668.90 (Official Build) (arm64)

Steps to reproduce

try to connect a http websocket client (preferably local) on https://hoppscotch.io/realtime/websocket

Environment

Production

Version

Cloud

Originally created by @yemreck on GitHub (Oct 7, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4409 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When cloud page loaded with HTTPS, it fails to connect local websocket clients over HTTP. ``` WSConnection.ts:33 Mixed Content: The page at 'https://hoppscotch.io/realtime/websocket' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://192.168.1.5:3000/'. This request has been blocked; this endpoint must be available over WSS. ``` Browser: Arc 129.0.6668.90 (Official Build) (arm64) ### Steps to reproduce try to connect a http websocket client (preferably local) on [https://hoppscotch.io/realtime/websocket](https://hoppscotch.io/realtime/websocket) ### Environment Production ### Version Cloud
kerem 2026-03-16 21:06:29 +03:00
Author
Owner

@yemreck commented on GitHub (Oct 7, 2024):

added https://hoppscotch.io/realtime/websocket url to here.
chrome://settings/content/insecureContent

seems browser related so closing, sorry 🙏

<!-- gh-comment-id:2396418705 --> @yemreck commented on GitHub (Oct 7, 2024): added [https://hoppscotch.io/realtime/websocket](https://hoppscotch.io/realtime/websocket) url to here. chrome://settings/content/insecureContent seems browser related so closing, sorry 🙏
Author
Owner

@Ayysz commented on GitHub (Dec 16, 2024):

added https://hoppscotch.io/realtime/websocket url to here. chrome://settings/content/insecureContent

seems browser related so closing, sorry 🙏

but how you do in desktop application then?

<!-- gh-comment-id:2544992237 --> @Ayysz commented on GitHub (Dec 16, 2024): > added https://hoppscotch.io/realtime/websocket url to here. chrome://settings/content/insecureContent > > seems browser related so closing, sorry 🙏 but how you do in desktop application then?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1612
No description provided.