Hello everybody and thank you for checking this post
Currently I am trying to connect to my Home Assistant’s Mosquitto addon via a websocket client (http://www.hivemq.com/demos/websocket-client/) but without success.
The Mosquitto log indicates that 1884 is open as a websocket listener.
1591012212: Opening ipv4 listen socket on port 1883. 1591012212: Opening ipv6 listen socket on port 1883. 1591012212: Opening websockets listen socket on port 1884.
Unfortunately nothing happens when I try to connect to it and the websocket client reports the following error :
However when I change the port to 1883 in the websocket client I still get an error BUT this time the Mosquitto log register the connexion attempt.
1591012214: New connection from 192.168.1.101 on port 1883. 1591012215: Socket error on client <unknown>, disconnecting.
When I asked on the HA Discord, I was told the error might come from “addon network config” but, despite my research, I am not sure what it refers to.
I have been trying to find the solution for days now and would be very grateful for any help.
Thanks in advance !