Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I’m trying to follow this on ubuntu 14.04 and I get the following error after I added the requirement for certificates: Unable to connect (Lookup error.).
Great guide! Very handy.
However I’m a bit confused. In step six you say:
$ sudo chgrp -R mosquitto /etc/letsencrypt/archive/mqtt.example.com/
But then later you configure references to certs in /etc/letsencrypt/live, not /etc/letsencrypt/archive. Is this a typo?
Thanks, Travis.
I followed this tutorial and everthing works great, except sometimes the broker randomly stop and i have to manually restart the service with sudo service mosquitto restart
does anyon know why ?? last lines in mosquitto.log are saying that a socket connection errored…
1485943735: Socket error on client mqttjs_abceadb0, disconnecting.
1485943737: New client connected from 84.196.75.214 as mqttjs_abceadb0 (c1, k10, u'mosquitto').
1485943757: Socket error on client mqttjs_abceadb0, disconnecting.
1485943758: New client connected from 84.196.75.214 as mqttjs_abceadb0 (c1, k10, u'mosquitto').
1485943761: Socket error on client mqttjs_abceadb0, disconnecting.
1485943765: New client connected from 84.196.75.214 as mqttjs_f93571fe (c1, k10, u'mosquitto').
hy i m stuck at step 6 kindly help me to solve this when i m start publishing or sub this msg show below “Unable to connect (Lookup error.).”
**Password authentication NOT WORKING in digital ocean cloud ubuntu 16.04?..
Your tutorial work fine on my personal computer (ubuntu 16.04), username and password authentication is working, as show in tutorial authenticate with username and password after config mosquitto_passw.
??? But password authentication NOT WORKING in digital ocean cloud ubuntu 16.04, like after config mosquitto_passw it just connect (pub and sub) without authentication (username and password).
I can’t understand why? please help me what I am missing!..********
After executing the last line in Step6 (command for publish), I am getting an error ‘A TLS error occurred’.
What could be the reason of the error.? Thanks in advance.
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mosquitto.plist /usr/local/Cellar/mosquitto/1.4.11_2/homebrew.mxcl.mosquitto.plist: Operation not permitted
If you are leaving a tutorial, make sure the goddamn thing actually works. Otherwise do not bother.
Great tutorial Brian. Everything works perfectcly from my ssh console, but when I try to connect with a client, I find it impossible, being Android, web, or Windows client, to 8883 and to 1883 for which I removed the localhost constraint to check.
Of course the network connection to the host works because I’m logged in through SSH to work on it.
Do you have any idea or suggestion on how could I debug it?
First thanks for the tutorial. It helped me a lot. I got it running on Ubuntu 14 LTS. Some small notes about how I got it working (for future generations).
mosquitto_pub -h mqtt.example.com -t test -m "hello again" -p 8883 --cafile /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem -d -u "sammy" -P "p@zw0rD"
The /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem is the file containing the certificates on my Fedora 26 machine.