Mosquitto 2.0.12 errors Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Mosquitto 2.0.12 errors

Post by EddyG »

I upgraded mosquitto from 2.0.11 to 2.0.12
With that upgrade came an upgrade of libwebsockets12 to libwebscockets18
After that upgrade I got these errors.

Code: Select all

Bad socket read/write on client mqttjs_4cba3646: Invalid arguments provided.
I reverted back to 2.0.11 and libwebsockets12 and everything works fine again.

But does anybody know how to solve the error?
User avatar
jvdz
Posts: 2328
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Mosquitto 2.0.12 errors

Post by jvdz »

maybe you are seeing this issue and can try that "fix"? : https://github.com/eclipse/mosquitto/is ... -968064107

This seems to be a similar issue like this with another client: https://forum.micropython.org/viewtopic ... 76&p=60836
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Mosquitto 2.0.12 errors

Post by EddyG »

The second link I saw, but no solution.
The first link brought me to the setting "max_keepalive" which was to low in my case.
Tnx. Problem solved.
Eraser
Posts: 24
Joined: Friday 13 January 2017 9:24
Target OS: Windows
Domoticz version: 3.8153
Contact:

Re: Mosquitto 2.0.12 errors

Post by Eraser »

Thanks for this. I changed "max_keepalive" in Mosquitto from 10 to 1000 and now everything works fine again.
I don't know if this value represents seconds or milliseconds but I guess the latter.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest