Why can’t I connect to the broker over WS from browser, but there is no issue with Node.js? #1428
Unanswered
tukusejssirs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to connect to the broker over (insecure) websockets from a browser, but it fails. In all tests, I use
[email protected]
.test.html
However, when I connect to the very same server using Node.js, it works as expected.
test.js
The broker is created using
[email protected]
and[email protected]
in Nest.js + TypeScript.broker.ts
Tested in Firefox 97.0.1 (stable) and Firefox 99.0a1 (nightly).
Beta Was this translation helpful? Give feedback.
All reactions