Closed AdamMiltonBarker closed 2 years ago
@knolleary hi mate, please would it be possible to get some assistance with this issue. Thanks mate.
It turns out it wasn't a problem with the certificate it was a problem with a the more recent versions of websockets, for anyone that comes up against this issue compile libwebsockets from source and use v.2.42.
Thanks for the help ;)
wget https://github.com/warmcat/libwebsockets/archive/refs/tags/v2.4.2.zip unzip v2.4.2.zip cd libwebsockets-2.4.2 mkdir build && cd build cmake .. make && sudo make install sudo ldconfig
I have mosquitto set up with websockets enabled, an installation I have done many times. Both mosquitto and clients (python etc) can access the certificates however with websockets it is failing, below are the logs:
Installed on ubuntu 20.04. mosquitto-1.5.5
I have removed some domain and session info from the logs as the domain is private. Yesterday I also got the following a few a times
Client error:
Any suggestions on what may be causing this issue given that the broker loads the certs correctly and clients are able to connect to mqtt fine.
Thanks in advance.