-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Bridge dropping connection #2107
Comments
I noticed this happens only with the bridge from RPi to a x64 server, I have other x64 bridges working without issues. |
It's a bit difficult to say anything meaningful without more details I'm afraid. Could it have been a temporary network problem? Does it happen repeatedly? Always after 7 hours? :) |
I know. |
Happened again, seems that the bridge is not able to recover specially when SSL is involved |
That's useful information, thank you. I have fixed a bridge connection related problem in 2.0.9 which could be related. Which version are you using? The packages for 2.0.9 are available as of right now if you'd like to try them. I'll try with my Pi to see if I can reproduce it. |
I'm on fixes branch, |
It happened again, after connection is lost, the bridge is unable to recover. |
I haven't been able to reproduce this yet on my pi4 - I've been trying to simulate the connection closing to no avail. Are there any configuration / compile time options that you used that you could share? |
Bridge connection is being lost for us on 2.0.9 on Raspberry Pi and X86_64 units, especially after reboot it fails to establish the connection for some reason. It seems manually restarting Mosquitto helps, but the permanent solution for us was to downgrade to 2.0.5 which fixed the problem. |
If I restart the Pi, I get the issue, if I restart the service, it connects fine. |
Same here, Raspberry Pi Zero with Bridge Config -> X86_64 Broker |
then let's close this |
@Rod-O Im sorry for my word choice. Its not really fixed. 2.0.5 is an downgrade, where the bug doesnt occur. Please Reopen :D |
Hi all, is there any progress on this? I have a similar issue, albeit no RaspberryPi is involved. The bridge in question is from one docker to another, both running on X86_64. Mosquitto A <-- Mosquitto B Config on A is like this:
Restarting A is not a problem, but if for whatever reason B went down or even if the container B is restarted due to an update, bridging is dead. |
Unfortunately this happens for me on 2.0.15 but 2.0.14 works correctly. Have you tried 2.0.14? |
on RPi client it restores if I restart the service, but after 7 hours I have in the logs:
Client local.XXXXXX closed its connection.
Connecting bridge XXXXX (XX.XX.XX:XXX)
on Server:
Bad socket read/write on client
The text was updated successfully, but these errors were encountered: