Skip to content
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

Error: ws does not work in the browser #1143

Closed
zgliuhouqing opened this issue Aug 14, 2020 · 3 comments
Closed

Error: ws does not work in the browser #1143

zgliuhouqing opened this issue Aug 14, 2020 · 3 comments

Comments

@zgliuhouqing
Copy link

Error: ws does not work in the browser. Browser clients must use the native WebSocket object
at new t.exports (mqtt.min.js:1)
at c (mqtt.min.js:1)
at Object.t.exports (mqtt.min.js:1)
at w.streamBuilder (mqtt.min.js:1)
at w._setupStream (mqtt.min.js:1)
at new w (mqtt.min.js:1)
at Function.u [as connect] (mqtt.min.js:1)

@ttsirkia
Copy link

Duplicate, #1141

@ttsirkia
Copy link

I changed the topic for that another issue to be more accurate.

@YoDaMa
Copy link
Contributor

YoDaMa commented Aug 24, 2020

release 4.2.1 (#1149) fixes this.

@YoDaMa YoDaMa closed this as completed Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants