You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--> I use my own thread and manage my own select(), and I call mosquitto_loop_misc each second.
Connection is OK and mosquitto_publish is working fine.
Then, when I disconnect with mosquitto_disconnect, and if I try to reconnect with mosquitto_reconnect_async or mosquitto_connect_bind_async, the TCP connection is done, but mosquitto does not send any 'CONNECT' message, so mosquitto is stucked, and the connection fails.
This is similar to the issue #2242. Just in case, I already tried to use the mosquitto_threaded_setworkaround, but it's not working better.
Any help/ideas ?
Thanks !
The text was updated successfully, but these errors were encountered:
I'm using Mosquitto 2.0.15 (on Linux Busybox 1.34.1-1 embedded system).
For the connection, I call :
--> I use my own thread and manage my own
select()
, and I callmosquitto_loop_misc
each second.Connection is OK and
mosquitto_publish
is working fine.Then, when I disconnect with
mosquitto_disconnect
, and if I try to reconnect withmosquitto_reconnect_async
ormosquitto_connect_bind_async
, the TCP connection is done, but mosquitto does not send any 'CONNECT' message, so mosquitto is stucked, and the connection fails.This is similar to the issue #2242. Just in case, I already tried to use the
mosquitto_threaded_set
workaround, but it's not working better.Any help/ideas ?
Thanks !
The text was updated successfully, but these errors were encountered: