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

Transmittron will not connecto mosquitto broker v2.0.12 #18

Closed
ilias-pat opened this issue Feb 4, 2022 · 2 comments
Closed

Transmittron will not connecto mosquitto broker v2.0.12 #18

ilias-pat opened this issue Feb 4, 2022 · 2 comments

Comments

@ilias-pat
Copy link

Transmittron will not connecto mosquitto broker v2.0.12. Possibly something to do with the MQTT protocol version used?

Observed in Windows build.

Rapatas added a commit that referenced this issue Feb 15, 2022
@Rapatas
Copy link
Owner

Rapatas commented Feb 15, 2022

Thank you for identifying this issue!

The timeout and keep-alive fields of the broker options were parsed as milliseconds. When set in the paho client they were converted to seconds (because the values were so small, they were converted to 0). This in turn triggers a bug in the mosquitto v2.0.12 broker that drops connections with keep-alive set to 0 (eclipse/mosquitto#2309).

The parsing is now fixed in the develop branch, but keep in mind that setting keep-alive to 0 will still drop the connection on mosquitto v2.0.12.

@Rapatas
Copy link
Owner

Rapatas commented Jun 22, 2022

Fixed in release 0.0.3.

@Rapatas Rapatas closed this as completed Jun 22, 2022
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

No branches or pull requests

2 participants