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: not receiving any payloads #6

Open
lynxis opened this issue Mar 9, 2023 · 1 comment
Open

mqtt: not receiving any payloads #6

lynxis opened this issue Mar 9, 2023 · 1 comment

Comments

@lynxis
Copy link
Member

lynxis commented Mar 9, 2023

v4runa didn't received any mqtt payloads. So the doorkicker didn't worked anymore.
The mqtt connection seemed healthy, at least ping/pong messages came through.

There were still a lot of log messages. Maybe from a leaked mqtt connection?

Mar 09 10:52:52 afra pipenv[325]: DEBUG:amqtt.client.plugins:Plugins len(_fired_events)=1
Mar 09 10:52:52 afra pipenv[325]: DEBUG:amqtt.client.plugins.packet_logger_plugin:amqtt/i]f3f^daWtlI_dDU <-in-- PingRespPacket(>
Mar 09 10:53:17 afra pipenv[325]: DEBUG:amqtt.mqtt.protocol.handler:Scheduling Ping
Mar 09 10:53:17 afra pipenv[325]: DEBUG:amqtt.client.plugins:Plugins len(_fired_events)=1
Mar 09 10:53:17 afra pipenv[325]: DEBUG:amqtt.client.plugins.packet_logger_plugin:amqtt/i]f3f^daWtlI_dDU -out-> PingReqPacket(t>
Mar 09 10:53:17 afra pipenv[325]: DEBUG:amqtt.mqtt.protocol.handler:amqtt/i]f3f^daWtlI_dDU Input stream read timeout
Mar 09 10:53:17 afra pipenv[325]: DEBUG:amqtt.client.plugins:Plugins len(_fired_events)=1
Mar 09 10:53:17 afra pipenv[325]: DEBUG:amqtt.client.plugins.packet_logger_plugin:amqtt/i]f3f^daWtlI_dDU <-in-- PingRespPacket(>
Mar 09 10:53:42 afra pipenv[325]: DEBUG:amqtt.mqtt.protocol.handler:Scheduling Ping
Mar 09 10:53:42 afra pipenv[325]: DEBUG:amqtt.client.plugins:Plugins len(_fired_events)=1
Mar 09 10:53:42 afra pipenv[325]: DEBUG:amqtt.client.plugins.packet_logger_plugin:amqtt/i]f3f^daWtlI_dDU -out-> PingReqPacket(t>
Mar 09 10:53:42 afra pipenv[325]: DEBUG:amqtt.mqtt.protocol.handler:amqtt/i]f3f^daWtlI_dDU Input stream read timeout
Mar 09 10:53:42 afra pipenv[325]: DEBUG:amqtt.client.plugins:Plugins len(_fired_events)=1
Mar 09 10:53:42 afra pipenv[325]: DEBUG:amqtt.client.plugins.packet_logger_plugin:amqtt/i]f3f^daWtlI_dDU <-in-- PingRespPacket(>
Mar 09 10:54:07 afra pipenv[325]: DEBUG:amqtt.mqtt.protocol.handler:Scheduling Ping
Mar 09 10:54:07 afra pipenv[325]: DEBUG:amqtt.client.plugins:Plugins len(_fired_events)=1
Mar 09 10:54:07 afra pipenv[325]: DEBUG:amqtt.client.plugins.packet_logger_plugin:amqtt/i]f3f^daWtlI_dDU -out-> PingReqPacket(t>
Mar 09 10:54:07 afra pipenv[325]: DEBUG:amqtt.mqtt.protocol.handler:amqtt/i]f3f^daWtlI_dDU Input stream read timeout
Mar 09 10:54:07 afra pipenv[325]: DEBUG:amqtt.client.plugins:Plugins len(_fired_events)=1
Mar 09 10:54:07 afra pipenv[325]: DEBUG:amqtt.client.plugins.packet_logger_plugin:amqtt/i]f3f^daWtlI_dDU <-in-- PingRespPacket(>
Mar 09 10:54:32 afra pipenv[325]: DEBUG:amqtt.mqtt.protocol.handler:Scheduling Ping
Mar 09 10:54:32 afra pipenv[325]: DEBUG:amqtt.client.plugins:Plugins len(_fired_events)=1
Mar 09 10:54:32 afra pipenv[325]: DEBUG:amqtt.client.plugins.packet_logger_plugin:amqtt/i]f3f^daWtlI_dDU -out-> PingReqPacket(t>
Mar 09 10:54:32 afra pipenv[325]: DEBUG:amqtt.mqtt.protocol.handler:amqtt/i]f3f^daWtlI_dDU Input stream read timeout
Mar 09 10:54:32 afra pipenv[325]: DEBUG:amqtt.client.plugins:Plugins len(_fired_events)=1
Mar 09 10:54:32 afra pipenv[325]: DEBUG:amqtt.client.plugins.packet_logger_plugin:amqtt/i]f3f^daWtlI_dDU <-in-- PingRespPacket(>
@lynxis
Copy link
Member Author

lynxis commented Oct 28, 2023

The problem lies in amqtt. It doesn't properly handles reconnects or not even disconnects.
See Yakifo/amqtt#153 which fixes at least the disconnects and we can do the reconnect on our own.

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

1 participant