MQTT.js
MQTT.js copied to clipboard
Connection error with remote host in different browser
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