Skip to content

fix: prevent duplicate mqtt connections #229

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

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

jburhenn
Copy link
Contributor

This change is to fix issue #226.

Since the chirpstack connection timeout is shorter than the Paho one it can retry a connection while Paho is still attempting the first one. If both eventually succeed they can fight over the connection causing a constant disconnect/reconnect loop. This change increases the default chirpstack connection timeout and disconnects before it attempts a retry to prevent multiple connections from being made.

@brocaar brocaar merged commit 2d793a4 into chirpstack:v3 Jun 27, 2023
brocaar pushed a commit that referenced this pull request Jun 27, 2023
@asanchezdelc asanchezdelc deleted the fix/connection-timeout branch April 30, 2024 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants