Question

i am configuring mosquitto on ubuntu with the help of cloud but i am not able to run mosquitto mqtt on websockets

Posted January 17, 2020 149 views
Ubuntu 18.04

allowanonymous false
passwd
file /etc/mosquitto/passwd

listener 8083
protocol websockets
certfile /etc/letsencrypt/live/mqtt.example.com/IndoAgro.pem
cafile /etc/letsencrypt/live/mqtt.example.com/IndoAgro.pem
keyfile /etc/letsencrypt/live/mqtt.example.com/IndoAgro.pem

this the entry of my log file

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

The configuration looks correct. Do you have port 8083 open via your firewall? Also what is the exact error that you get in the logs?

Submit an Answer