Skip to content
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

MQTT - Fix Interrupt in connection on request files #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ThomasMeyerdirks
Copy link
Collaborator

When the agrirouterclient request files from agrirouter and the files have a big size so the MQTT client close the connection.
The problem is, that the agrirouter broker don't reply the ping request from the MQTT Client in the time of the file request. That is not allowed and the MQTT client close the conncection with the Code 19 "Connection refused".

The Resolution is to increase the time for the ping request.

…to version (#14)

* segmentation fault init mqtt with an old mosquitto version

* use private methods

* first loop and then connect to connect on broker that missing on startup

* revert change loop and connect - no connection in this case
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