New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mosquitto bridge broker won't connect to system mosquitto server since upgrading from 1.6.12 to 2.0.2 #1960
Milestone
Comments
Some strace excerpts (for a different run from the log entries in the original post): bridge mosquitto process:
server mosquitto process:
|
Thanks very much, I've pushed a fix and this will be part of 2.0.3 shortly. |
Thanks. I've confirmed that it fixes the issue for my case. |
fAuernigg
pushed a commit
to fAuernigg/mosquitto
that referenced
this issue
Jan 4, 2021
…use. Closes eclipse#1960. Thanks to twegener-embertec.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a test setup where the bridge runs on the same host as the main mosquitto server.
Previously, when using mosquitto 1.6.12 for both bridge and system server, it worked fine.
Since upgrading to mosquitto 2.0.2 for both bridge broker and system server, the bridge tries to connect, and shows up as e.g.
New connection from ::1:34006 on port 1883.
in the server log, but it does not make it to theNew bridge connected from
stage. Instead, it eventually reports:Client <unknown> closed its connection.
Meanwhile, the bridge has log entries like the following:
...and it keeps cycling like that indefinitely.
The client connected to the bridge receives one
$SYS/broker/connection/test.client/state
message with payload '0' (where we'd hope for '1' on connect).The bridge config looks like:
(I've omitted irrelevant parts such as topic config.)
The system mosquitto server is just using the default system config.
This is on Ubuntu 18.04.5 LTS, using mosquitto 2.0.2-0mosquitto3~bionic3 package from the PPA.
The text was updated successfully, but these errors were encountered: