You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
Connect to any mqtt broker using mqtt.py with values for username, clientId, password and/or will-message so that the "remaining length" of the connect message exceeds 128, i.e.:
The broker will reset the connection after receiving the CONNECT packet.
What were you expecting to happen?
The broker should not reset the connection.
Any logs, error output, etc?
Unfortunately no. After reading the code and the mqtt specification, I found out, that mqtt.py does not implement the "remaining length" field correctly for values above 128. See mqtt 3.1.1 specification
Any other comments?
The publish packet seems to implement this field correctly.
The text was updated successfully, but these errors were encountered:
What are the steps to reproduce this issue?
What happens?
The broker will reset the connection after receiving the CONNECT packet.
What were you expecting to happen?
The broker should not reset the connection.
Any logs, error output, etc?
Unfortunately no. After reading the code and the mqtt specification, I found out, that mqtt.py does not implement the "remaining length" field correctly for values above 128. See mqtt 3.1.1 specification
Any other comments?
The publish packet seems to implement this field correctly.
The text was updated successfully, but these errors were encountered: