Hi, I have several octoprint instances installed using octoprint deploy for my printers at home. I wanted to use the mqtt plugin to monitor my printers and was trying on one of the instances running on my raspberry pi. However, it seems it cannot even start a connection as it drops out with an error. My mqtt server does not see the connection attemps. Here is the error log from octoprint.
2026-01-02 11:46:06,189 - octoprint.plugins.mqtt - WARNING - The templates of this plugin are currently not being autoescaped. This has potential security implications. For that reason OctoPrint 1.13.0 will globally enforce autoescaping. Plugin authors seeing this should read https://faq.octoprint.org/plugin-autoescape.
2026-01-02 11:46:09,020 - octoprint.plugin - ERROR - Error while calling plugin mqtt
File "/home/joseosanchez/OctoPrint/lib/python3.13/site-packages/octoprint_mqtt/__init__.py", line 86, in on_startup
self.mqtt_connect()
File "/home/joseosanchez/OctoPrint/lib/python3.13/site-packages/octoprint_mqtt/__init__.py", line 393, in mqtt_connect
self._mqtt.tls_set(**tls_args)
File "/home/joseosanchez/OctoPrint/lib/python3.13/site-packages/paho/mqtt/client.py", line 804, in tls_set
| MQTT (0.8.16) = /home/joseosanchez/OctoPrint/lib/python3.13/site-packages/octoprint_mqtt
2026-01-02 11:51:33,600 - octoprint.plugins.mqtt - WARNING - The templates of this plugin are currently not being autoescaped. This has potential security implications. For that reason OctoPrint 1.13.0 will globally enforce autoescaping. Plugin authors seeing this should read https://faq.octoprint.org/plugin-autoescape.
2026-01-02 11:51:36,718 - octoprint.plugin - ERROR - Error while calling plugin mqtt
File "/home/joseosanchez/OctoPrint/lib/python3.13/site-packages/octoprint_mqtt/__init__.py", line 86, in on_startup
self.mqtt_connect()
File "/home/joseosanchez/OctoPrint/lib/python3.13/site-packages/octoprint_mqtt/__init__.py", line 393, in mqtt_connect
self._mqtt.tls_set(**tls_args)
File "/home/joseosanchez/OctoPrint/lib/python3.13/site-packages/paho/mqtt/client.py", line 804, in tls_set
Hi, I have several octoprint instances installed using octoprint deploy for my printers at home. I wanted to use the mqtt plugin to monitor my printers and was trying on one of the instances running on my raspberry pi. However, it seems it cannot even start a connection as it drops out with an error. My mqtt server does not see the connection attemps. Here is the error log from octoprint.