-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Problem Not Working Connection with Nodejs or Browser #1265
Comments
updates I kept testing:
nodejs:
firefox:
|
@sergioxdev so I understand correctly, you are saying that with your snippet of code using WSS, it does not work in NodeJS but it does work when running the code in a Browser environment? |
@YoDaMa Yes, right |
MQTT 5.0.0 BETA is now available! Try it out and give us feedback: |
Feel free to reopen this issue if it happens also with v5 |
I post the code that I am creating,
starting it from the shell with the command: node script.js
result:
lost connection! undefined
connection closed! undefined
same code, starting it from firefox: inserted in a web page
result: it works
something wrong, suggestions are welcome
The text was updated successfully, but these errors were encountered: