# Errors

**URL:** https://forum.cedalo.com/c/errors/32.md

[Latest](https://forum.cedalo.com/latest.md) · [Categories](https://forum.cedalo.com/categories.md)

---

## [About the Errors category](https://forum.cedalo.com/t/about-the-errors-category/1138)

<div class="topic-metadata">

**Author:** [@January](https://forum.cedalo.com/u/January)\
**Replies:** 0

</div>

---

## [General inquiry about support](https://forum.cedalo.com/t/general-inquiry-about-support/1244)

<div class="topic-metadata">

**Author:** [@ericg2026](https://forum.cedalo.com/u/ericg2026)\
**Replies:** 2\
**Last updated:** [November 14, 2026, 7:26pm UTC](https://forum.cedalo.com/t/general-inquiry-about-support/1244 "2026-11-14T19:26:47Z")

</div>

Hello- I posted a message topic recently and I did receive a response with some helpful info in it, but I am hoping I can continue to receive input- as I am still finding no-joy getting Mosquitto up and running on my Ra…

---

## [Reconnect and QoS](https://forum.cedalo.com/t/reconnect-and-qos/1268)

<div class="topic-metadata">

**Author:** [@ofm](https://forum.cedalo.com/u/ofm)\
**Replies:** 0\
**Last updated:** [September 14, 2026, 2:57pm UTC](https://forum.cedalo.com/t/reconnect-and-qos/1268 "2026-09-14T14:57:24Z")

</div>

Hi, I’m using libmosquitto with Solace MQTT broker, MQTTv5. Works great except for when the Solace brokers are restarted for any reason. When reconnecting the same session, Solace seems to accept new connections prematur…

---

## [Mosquitto migration from 1.x to 2.0.20](https://forum.cedalo.com/t/mosquitto-migration-from-1-x-to-2-0-20/1238)

<div class="topic-metadata">

**Author:** [@Akash](https://forum.cedalo.com/u/Akash)\
**Replies:** 0\
**Last updated:** [March 26, 2026, 2:23pm UTC](https://forum.cedalo.com/t/mosquitto-migration-from-1-x-to-2-0-20/1238 "2026-03-26T14:23:33Z")

</div>

I want to migrate Mosquitto from version 1.x to 2.0.20 on and we are using the persistent database file mosquitto.db. When I copied the old mosquitto.db (version 1.x) to the persistence path of new mosquito (2.0.20) and…

---

## [Mosquitto\_sub connection timeout when subscribing from remote laptop over TLS (port 8883)](https://forum.cedalo.com/t/mosquitto-sub-connection-timeout-when-subscribing-from-remote-laptop-over-tls-port-8883/1222)

<div class="topic-metadata">

**Author:** [@Ranjith](https://forum.cedalo.com/u/Ranjith)\
**Replies:** 11\
**Last updated:** [February 3, 2026, 10:30am UTC](https://forum.cedalo.com/t/mosquitto-sub-connection-timeout-when-subscribing-from-remote-laptop-over-tls-port-8883/1222 "2026-02-03T10:30:31Z")

</div>

I have set up a Mosquitto broker on Laptop A (10.2.30.23) listening on port 8883 with TLS enabled. The broker starts successfully and local publish/subscribe on Laptop A works fine. Laptop A acts as: MQTT Broker M…

---

## [Devices are connected but can’t be controlled](https://forum.cedalo.com/t/devices-are-connected-but-can-t-be-controlled/587)

<div class="topic-metadata">

**Author:** [@bernhard](https://forum.cedalo.com/u/bernhard)\
**Replies:** 1\
**Last updated:** [May 15, 2025, 12:47pm UTC](https://forum.cedalo.com/t/devices-are-connected-but-can-t-be-controlled/587 "2025-05-15T12:47:15Z")

</div>

Hello! My setup was one day working fine but I decided to install it all from scratch and via docker to make it pretty and resolve some other issues. Now my devices show up in Zigbee2MQTT. I can look at the map and giv…

---

## [Memory not freed for retained message topic tree](https://forum.cedalo.com/t/memory-not-freed-for-retained-message-topic-tree/666)

<div class="topic-metadata">

**Author:** [@vikasmaan](https://forum.cedalo.com/u/vikasmaan)\
**Replies:** 0\
**Last updated:** [November 29, 2022, 8:49am UTC](https://forum.cedalo.com/t/memory-not-freed-for-retained-message-topic-tree/666 "2022-11-29T08:49:12Z")

</div>

While using mosquitto(v2.0.10) in our application, I found that if we keep posting retained topics memory increases but it doesn’t go back to normal even if we remove those retained messages. After examination I found, …

---

## [Undefined reference to Mosquitto\_publish Raspberry Pi](https://forum.cedalo.com/t/undefined-reference-to-mosquitto-publish-raspberry-pi/815)

<div class="topic-metadata">

**Author:** [@abasacchi](https://forum.cedalo.com/u/abasacchi)\
**Replies:** 0\
**Last updated:** [June 12, 2023, 6:31pm UTC](https://forum.cedalo.com/t/undefined-reference-to-mosquitto-publish-raspberry-pi/815 "2023-06-12T18:31:14Z")

</div>

I have been using Mosquitto.h on another program within the Raspberry Pi 4 with no issues. I recently purchased an Allied Vision camera that uses the VimbaX SDK. In trying to add the #include \<mosquitto.h\> and my MQTT …

---

## [Listening to Unix Domain Sockets on a Windows machine](https://forum.cedalo.com/t/listening-to-unix-domain-sockets-on-a-windows-machine/833)

<div class="topic-metadata">

**Author:** [@bprager](https://forum.cedalo.com/u/bprager)\
**Replies:** 0\
**Last updated:** [July 19, 2023, 9:55pm UTC](https://forum.cedalo.com/t/listening-to-unix-domain-sockets-on-a-windows-machine/833 "2023-07-19T21:55:14Z")

</div>

I am trying to run the Mosquitto broker (mosquitto version 2.0.15) on a Windows host listening to a Unix Domain Socket. I tried from the command line: ‘C:\\Program Files\\mosquitto\\mosquitto.exe’ -v -p /tmp/mosquitto.so…

---

## [Mint Linux: Mosquitto v5.0 is authenticating/connecting w/ 2nd machine - broker no messages displayed](https://forum.cedalo.com/t/mint-linux-mosquitto-v5-0-is-authenticating-connecting-w-2nd-machine-broker-no-messages-displayed/946)

<div class="topic-metadata">

**Author:** [@preWarp](https://forum.cedalo.com/u/preWarp)\
**Replies:** 0\
**Last updated:** [March 9, 2024, 12:52am UTC](https://forum.cedalo.com/t/mint-linux-mosquitto-v5-0-is-authenticating-connecting-w-2nd-machine-broker-no-messages-displayed/946 "2024-03-09T00:52:06Z")

</div>

I have two PCs running desktop OSes, Ubuntu on one and Mint on other. Systemctl shows that ufw is inactive and that mosquitto is active on both machines. My mosquitto.conf has allow anonymous set to false, password\_fil…

---

## [Client \<unknown\> disconnected due to protocol error](https://forum.cedalo.com/t/client-unknown-disconnected-due-to-protocol-error/993)

<div class="topic-metadata">

**Author:** [@sailaja](https://forum.cedalo.com/u/sailaja)\
**Replies:** 0\
**Last updated:** [May 25, 2024, 3:01pm UTC](https://forum.cedalo.com/t/client-unknown-disconnected-due-to-protocol-error/993 "2024-05-25T15:01:49Z")

</div>

Hi all, Running Mosquitto 2.0.11 with password. and ubuntu version is 22.04.3 LTS. Some clients are disconnecting from broker with the below error.

---

## [Arduino mega won't connect to mosquito broker running on Win11](https://forum.cedalo.com/t/arduino-mega-wont-connect-to-mosquito-broker-running-on-win11/1081)

<div class="topic-metadata">

**Author:** [@stumbleinn](https://forum.cedalo.com/u/stumbleinn)\
**Replies:** 0\
**Last updated:** [January 6, 2025, 8:55pm UTC](https://forum.cedalo.com/t/arduino-mega-wont-connect-to-mosquito-broker-running-on-win11/1081 "2025-01-06T20:55:29Z")

</div>

I have the ellipse mosquito broker running on a win 11 machine with IP address 192.168.0.22 . I also have NodRed running on the same machine. I can subscribe and publish using mqtt to the mosquito broker with NodeRed, …

---

## [Mosquitto crash when log\_dest stdout added](https://forum.cedalo.com/t/mosquitto-crash-when-log-dest-stdout-added/1127)

<div class="topic-metadata">

**Author:** [@x32](https://forum.cedalo.com/u/x32)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 2:39pm UTC](https://forum.cedalo.com/t/mosquitto-crash-when-log-dest-stdout-added/1127 "2025-03-12T14:39:51Z")

</div>

Hello, I’m new to Mosquitto. I’ve spent the better part of the last three days reading instructions and experimenting trying to learn how it works. I’m using a Tasmota 4 channel relay for learning as I thought it would…

---

## [Broker connection times out](https://forum.cedalo.com/t/broker-connection-times-out/1109)

<div class="topic-metadata">

**Author:** [@csongor.varga](https://forum.cedalo.com/u/csongor.varga)\
**Replies:** 5\
**Last updated:** [February 5, 2025, 7:39pm UTC](https://forum.cedalo.com/t/broker-connection-times-out/1109 "2025-02-05T19:39:04Z")

</div>

I recompiled a few year old project for my ESP8266 and it is not able to connect to the MQTT broker. Credentials an everything else is correct, I have lot of devices already on the broker. When the ESP is trying to conn…

---

## [My router freezes after i start mosquitto](https://forum.cedalo.com/t/my-router-freezes-after-i-start-mosquitto/824)

<div class="topic-metadata">

**Author:** [@Cristianmirkomoi](https://forum.cedalo.com/u/Cristianmirkomoi)\
**Replies:** 3\
**Last updated:** [January 14, 2025, 7:34am UTC](https://forum.cedalo.com/t/my-router-freezes-after-i-start-mosquitto/824 "2025-01-14T07:34:28Z")

</div>

Hi everyone. I have a problem with mosquitto installed on my raspberry, I start serviIo and everything works, but after a while everything works, my router locks up, the internal network works, but I can’t surf the net a…

---

## [Memory leak bug - Mosquitto client says invalid argument for loop stop](https://forum.cedalo.com/t/memory-leak-bug-mosquitto-client-says-invalid-argument-for-loop-stop/1031)

<div class="topic-metadata">

**Author:** [@Eugeny](https://forum.cedalo.com/u/Eugeny)\
**Replies:** 2\
**Last updated:** [August 16, 2024, 1:04pm UTC](https://forum.cedalo.com/t/memory-leak-bug-mosquitto-client-says-invalid-argument-for-loop-stop/1031 "2024-08-16T13:04:50Z")

</div>

(I have replaced of the contents of original question - the text below was originally posted on SO, had been downvoted, attempted to be closed to confirm that SO is a wrong place to consider) Using openwrt for armv5. Va…

---

## [Mosquitto\_will\_set\_v5 crashes with props](https://forum.cedalo.com/t/mosquitto-will-set-v5-crashes-with-props/1020)

<div class="topic-metadata">

**Author:** [@rubinstu-ns](https://forum.cedalo.com/u/rubinstu-ns)\
**Replies:** 3\
**Last updated:** [July 11, 2024, 5:54pm UTC](https://forum.cedalo.com/t/mosquitto-will-set-v5-crashes-with-props/1020 "2024-07-11T17:54:36Z")

</div>

Hello! I just added code to setup the “last will and testament” with Mosquitto MQTT (C interface, Ubuntu Linux on x86-64). If I call mosquitto\_will\_set\_v5() with “null” for the properties, everything works fine. If I se…

---

## [Unable to connect localhost](https://forum.cedalo.com/t/unable-to-connect-localhost/1018)

<div class="topic-metadata">

**Author:** [@jameschan07](https://forum.cedalo.com/u/jameschan07)\
**Replies:** 1\
**Last updated:** [July 9, 2024, 7:38am UTC](https://forum.cedalo.com/t/unable-to-connect-localhost/1018 "2024-07-09T07:38:31Z")

</div>

Please advise.

---

## [Broker stops publishing for 30 seconds](https://forum.cedalo.com/t/broker-stops-publishing-for-30-seconds/1005)

<div class="topic-metadata">

**Author:** [@george\_c7](https://forum.cedalo.com/u/george_c7)\
**Replies:** 2\
**Last updated:** [June 5, 2024, 3:07pm UTC](https://forum.cedalo.com/t/broker-stops-publishing-for-30-seconds/1005 "2024-06-05T15:07:23Z")

</div>

I have two MQTT clients, with MQTT client 1 transmitting 18 topics every 600ms. Client 2 transmits 2 topics. Out of these two, one topic is transmitted every 5 seconds and other one every one second. Client 1 is in loca…

---

## [Client xxxxxxxxxxxx disconnected due to malformed packet](https://forum.cedalo.com/t/client-xxxxxxxxxxxx-disconnected-due-to-malformed-packet/992)

<div class="topic-metadata">

**Author:** [@sailaja](https://forum.cedalo.com/u/sailaja)\
**Replies:** 1\
**Last updated:** [May 27, 2024, 7:08am UTC](https://forum.cedalo.com/t/client-xxxxxxxxxxxx-disconnected-due-to-malformed-packet/992 "2024-05-27T07:08:51Z")

</div>

Hi all, IOT device after connecting to broker it subscribes on two topics. After subscribing to second topic below message is observed in the log. Client XXXXXXXXXX disconnected due to malformed packet. This error is…

---

## [Client disconnected due to malformed packet](https://forum.cedalo.com/t/client-disconnected-due-to-malformed-packet/956)

<div class="topic-metadata">

**Author:** [@djdrey909](https://forum.cedalo.com/u/djdrey909)\
**Replies:** 3\
**Last updated:** [April 24, 2024, 8:04am UTC](https://forum.cedalo.com/t/client-disconnected-due-to-malformed-packet/956 "2024-04-24T08:04:46Z")

</div>

Hi all, I’m new to the community. I’m trying to reverse engineer the MQTT messaging of an IOT device (an Air Purifier in this case). It seems fairly straight forward MQTT messaging after a HTTP discussion to determine M…

---

## [Problem connection with both local host and wifi](https://forum.cedalo.com/t/problem-connection-with-both-local-host-and-wifi/925)

<div class="topic-metadata">

**Author:** [@Matt1of3](https://forum.cedalo.com/u/Matt1of3)\
**Replies:** 5\
**Last updated:** [January 12, 2024, 5:29pm UTC](https://forum.cedalo.com/t/problem-connection-with-both-local-host-and-wifi/925 "2024-01-12T17:29:38Z")

</div>

I have a windows 11 PC running mosquitto –v –c my.conf I have set the following in my.conf: allow\_anonymous true listener 1883 0.0.0.0 Wifi listener’s can here Wifi pub. and local host listener’s can here local host …

---

## [Problems that occur with the mosquitto client in Windows 10 system](https://forum.cedalo.com/t/problems-that-occur-with-the-mosquitto-client-in-windows-10-system/905)

<div class="topic-metadata">

**Author:** [@modasd](https://forum.cedalo.com/u/modasd)\
**Replies:** 4\
**Last updated:** [November 23, 2023, 1:34am UTC](https://forum.cedalo.com/t/problems-that-occur-with-the-mosquitto-client-in-windows-10-system/905 "2023-11-23T01:34:46Z")

</div>

---

## [No Device Data with mosquitto\_sub](https://forum.cedalo.com/t/no-device-data-with-mosquitto-sub/856)

<div class="topic-metadata">

**Author:** [@TasteOfIT](https://forum.cedalo.com/u/TasteOfIT)\
**Replies:** 1\
**Last updated:** [October 6, 2023, 9:16am UTC](https://forum.cedalo.com/t/no-device-data-with-mosquitto-sub/856 "2023-10-06T09:16:47Z")

</div>

Hi, i installed mosquitto (2.0.11) and zigbee2mqtt on Debian 11 Host. I could connect Sonoff Device and see it in Zigbee2MQTT. I setup mosquitto with Port 1833 and allow\_untrust true. If i run mosquitto\_sub -v -t “zigb…

---

## [Cedalo claims it cannot connect to broker (MQTT)](https://forum.cedalo.com/t/cedalo-claims-it-cannot-connect-to-broker-mqtt/850)

<div class="topic-metadata">

**Author:** [@alekacz](https://forum.cedalo.com/u/alekacz)\
**Replies:** 7\
**Last updated:** [August 28, 2023, 7:32am UTC](https://forum.cedalo.com/t/cedalo-claims-it-cannot-connect-to-broker-mqtt/850 "2023-08-28T07:32:41Z")

</div>

Hello, We have both MQTT and Cedalo running within a docker environment in Debian. System has 2 cores (CPU) and 16GB of RAM as we noticed memory utilization being quite high. Recently over the weekend it appears that a…

---

## [Mosquitto Broker Bridge connection not reconnecting](https://forum.cedalo.com/t/mosquitto-broker-bridge-connection-not-reconnecting/839)

<div class="topic-metadata">

**Author:** [@Ela](https://forum.cedalo.com/u/Ela)\
**Replies:** 1\
**Last updated:** [August 9, 2023, 7:30am UTC](https://forum.cedalo.com/t/mosquitto-broker-bridge-connection-not-reconnecting/839 "2023-08-09T07:30:38Z")

</div>

I have a mosquitto Broker B1 running on a Windows 10 machine, that has few mqtt clients, and another broker B2 running on Linux Cloud VM. B1 is bridged to B2 on port 61883 Sometimes, The bridge connection does not reco…

---

## [Connection to cedalo management center with pro licence suddenly does not work anymore](https://forum.cedalo.com/t/connection-to-cedalo-management-center-with-pro-licence-suddenly-does-not-work-anymore/831)

<div class="topic-metadata">

**Author:** [@jvdputten](https://forum.cedalo.com/u/jvdputten)\
**Replies:** 1\
**Last updated:** [July 10, 2023, 10:27am UTC](https://forum.cedalo.com/t/connection-to-cedalo-management-center-with-pro-licence-suddenly-does-not-work-anymore/831 "2023-07-10T10:27:27Z")

</div>

I have been using cedalo for the last few months with little issues. However, my connections to the MQTT broker have suddenly stopped working since july third. I am gathering data using Lora, which is published by the L…

---

## [Paho PUBLISH client disconnected after 200 second](https://forum.cedalo.com/t/paho-publish-client-disconnected-after-200-second/779)

<div class="topic-metadata">

**Author:** [@DS256](https://forum.cedalo.com/u/DS256)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 11:21am UTC](https://forum.cedalo.com/t/paho-publish-client-disconnected-after-200-second/779 "2023-04-12T11:21:09Z")

</div>

Running Mosquitto 2.0.11. PAHO-MQTT pakage shows 1.6.1 with “MQTT version 5.0/3.1.1 client class” I have a program, that sends out a 130 byte payload every 10 seconds (will be 10 mins but testing now). I run a mosquitto…

---

## [/etc/mosquitto/mosquitto.conf Not Being Loaded](https://forum.cedalo.com/t/etc-mosquitto-mosquitto-conf-not-being-loaded/775)

<div class="topic-metadata">

**Author:** [@DS256](https://forum.cedalo.com/u/DS256)\
**Replies:** 6\
**Last updated:** [April 3, 2023, 11:51am UTC](https://forum.cedalo.com/t/etc-mosquitto-mosquitto-conf-not-being-loaded/775 "2023-04-03T11:51:16Z")

</div>

I have Mosquito installed and to this point have only tested local pub/sub. Today I tried an external client which failed. My Mosquito looks like pi@wethCAM:~ $ mosquitto -v 1680048972: mosquitto version 2.0.11 startin…

---

## [How to fix mosquitto.exe (2.0.15-x86) 0xc0000005 error?](https://forum.cedalo.com/t/how-to-fix-mosquitto-exe-2-0-15-x86-0xc0000005-error/754)

<div class="topic-metadata">

**Author:** [@Bear](https://forum.cedalo.com/u/Bear)\
**Replies:** 1\
**Last updated:** [March 16, 2023, 7:57am UTC](https://forum.cedalo.com/t/how-to-fix-mosquitto-exe-2-0-15-x86-0xc0000005-error/754 "2023-03-16T07:57:58Z")

</div>

I installed (mosquitto-2.0.15-install-windows-x86.exe) on 32 bit & 64 bit windows computer, but no matter what the windows os is, the mosquitto.exe would crash. The reason of crash reason from event viewer is Exception …

[Next page](https://forum.cedalo.com/c/errors/32.md?page=1)
