nik-zp / Vue-Mqtt

Connect to mqtt through websocket, implementation for Vuejs 2
95 stars 33 forks source link

how to detect failed: Error in connection establishment #12

Open Sleepnezzz opened 4 years ago

Sleepnezzz commented 4 years ago

In console error: WebSocket connection to 'ws://10.0.0.110:8081/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT

harshilishere commented 3 years ago

@Sleepnezzz found some solution yet? I am getting the same error! It connects well on test.mosquitto.org but i have a broker on aws instance and this same things happens with my broker.

masbagas23 commented 1 year ago

The browser doesn't support WS protcol, upgrade to WSS protocol to remove this error