mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3890] [bug]: Error when connecting to local WebSocket endpoint #1367
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1367
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mathaimon on GitHub (Mar 11, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3890
Is there an existing issue for this?
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
Environment
Production
Version
Local
@liyasthomas commented on GitHub (Mar 11, 2024):
Can you try the
WSSprotocol instead ofWSand see if the issue persists?@mathaimon commented on GitHub (Mar 11, 2024):
It works fine while using
WSS.@liyasthomas commented on GitHub (Mar 11, 2024):
The prefixes
wss://indicate that the connection is secured using TLS/SSL encryption. The prefixesws://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.
@mathaimon commented on GitHub (Mar 11, 2024):
is there any way that i can use hoppscotch to test local
wsendpoints without ssl.@mathaimon commented on GitHub (Mar 11, 2024):
Also its not mentioned in the docs. https://docs.hoppscotch.io/documentation/getting-started/realtime/websocket