MQTT.js icon indicating copy to clipboard operation
MQTT.js copied to clipboard

Connection error with remote host in different browser

Open paolosantarsiero opened this issue 2 years ago • 0 comments

Hi everyone, i had a a problem when trying to connect to remote host mqtt server. With chrome browser it works very well but when i run the same on a different browser( like chromium and firefox) i receive this error:

ws.js?fcb9:108 WebSocket connection to 'ws://minervas.ddns.net:8083/' failed: 
createBrowserWebSocket @ ws.js?fcb9:108

in particular on this function let socket = new WebSocket(url, [websocketSubProtocol]).

I tried with either websocket protocol (ws and wss) but not works. The instance is a vue app written in javascript

paolosantarsiero avatar Apr 04 '22 14:04 paolosantarsiero