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 reconnect fail #2

Open
awrede opened this issue May 8, 2018 · 0 comments
Open

mqtt reconnect fail #2

awrede opened this issue May 8, 2018 · 0 comments

Comments

@awrede
Copy link
Member

awrede commented May 8, 2018

Observed an infinite loop of mqtt re-connect attempts, maybe caused by ip/wifi stack issues. Should the node reset after a certain number of unsuccessful attempts?

05-08 07:18:57: Connection failedMQTT connecting to:
05-08 07:18:57: Server: mqtt.steamlink.net:8883
05-08 07:18:57: At millis: 116688888
05-08 07:19:04: Connection failedMQTT connecting to:
05-08 07:19:04: Server: mqtt.steamlink.net:8883
05-08 07:19:04: At millis: 116695913
05-08 07:19:11: Connection failedMQTT connecting to:
05-08 07:19:11: Server: mqtt.steamlink.net:8883
05-08 07:19:11: At millis: 116702937
05-08 07:19:18: Connection failedMQTT connecting to:
05-08 07:19:18: Server: mqtt.steamlink.net:8883
05-08 07:19:18: At millis: 116709987
05-08 07:19:25: Connection failedSteamLinkGeneric::update Sending heartbeat...
05-08 07:19:25: SteamLinkGeneric::send_ss packet: 
05-08 07:19:25: SteamLinkGeneric::send_data malloc: 3FFF4E74
05-08 07:19:25: SLID: 289SteamLinkGeneric:: generic_send():: send pkt via BRIDGE or PHY:
05-08 07:19:25:  
05-08 07:19:25: |-----------------------------------|
05-08 07:19:25: |         START OF PACKET           |
05-08 07:19:25: |-----------------------------------|
05-08 07:19:25: |           DATA HEADER             |
05-08 07:19:25: |-----------------------------------|
05-08 07:19:25: | OP      : 3D <-> SS 
05-08 07:19:25: | SLID    : 289 <-> HEX: 121
05-08 07:19:25: | PKG NUM : 231
05-08 07:19:25: | RSSI    : 203
05-08 07:19:25: |-----------------------------------|
05-08 07:19:25: |           END OF PACKET           |
05-08 07:19:25: |-----------------------------------|
05-08 07:19:25:  
05-08 07:19:25: SLID: 289SteamLinkGeneric:: generic_send():: sending pkt via PHY
05-08 07:19:25: enqueue len: 11
05-08 07:19:25: MQTT connecting to:
05-08 07:19:25: Server: mqtt.steamlink.net:8883
05-08 07:19:25: At millis: 116717042
05-08 07:19:32: Connection failedSteamLinkGeneric::update: about to dequeue
05-08 07:19:32: Sending user string over mqtt
05-08 07:19:32: SteamLinkESP::driver_send len: 11 to: 1 test:  packet: 
05-08 07:19:32: 3d 21 01 00 00 e7 00 cb 4f 4b 00 =!......OK.
05-08 07:19:32: MQTT not connected, Dropping user packet
05-08 07:19:32: SteamLinkGeneric::update driver_send dropping packet!!
05-08 07:19:32: MQTT connecting to:
05-08 07:19:32: Server: mqtt.steamlink.net:8883
05-08 07:19:32: At millis: 116724005
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