Hi,
My gateway (raspberry pi zero + rak831) seems to have issues with reconnections to the TTN bridge.
At first, everything works perfectly well for weeks usually.
Aug 26 19:59:10 loragw loragw[468]: ### [ CONNECTIONS ] ###
Aug 26 19:59:10 loragw loragw[468]: # bridge.eu.thethings.network: Connected
Aug 26 19:59:10 loragw loragw[468]: # Semtech status report sent.
Aug 26 19:59:10 loragw loragw[468]: ##### END #####
Then suddenly, the connection breaks for some reason:
Aug 26 19:59:10 loragw loragw[468]: 19:59:10 INFO: [TTN] bridge.eu.thethings.network RTT 37
Aug 26 19:59:12 loragw loragw[468]: 19:59:12 ERROR: [TTN] send status failed for bridge.eu.thethings.network
Aug 26 19:59:12 loragw loragw[468]: 19:59:12 INFO: [TTN] Reconnecting bridge.eu.thethings.network
Aug 26 19:59:12 loragw loragw[468]: 19:59:12 ERROR: [up] TTN lora send to server "bridge.eu.thethings.network" failed
Aug 26 19:59:12 loragw loragw[468]: 19:59:12 INFO: [TTN] reconnect called while reconnecting
Aug 26 19:59:12 loragw loragw[468]: 19:59:12 INFO: [TTN] server "bridge.eu.thethings.network" connected
Aug 26 19:59:12 loragw loragw[468]: 19:59:12 INFO: [up] TTN lora packet sent to server "bridge.eu.thethings.network"
Aug 26 19:59:12 loragw loragw[468]: 19:59:12 INFO: [up] TTN lora packet sent to server "bridge.eu.thethings.network"
Aug 26 19:59:14 loragw loragw[468]: 19:59:14 ERROR: [up] TTN lora send to server "bridge.eu.thethings.network" failed
Aug 26 19:59:14 loragw loragw[468]: 19:59:14 INFO: [TTN] Reconnecting bridge.eu.thethings.network
From now on, the gateway is stuck and won't send any more messages to TTN until I restart the packet forwarder. The connection status is always "Connecting" and there's no other log related to the connection again. Only the usual reports are printed.
Aug 26 20:00:09 loragw loragw[468]: ### [ CONNECTIONS ] ###
Aug 26 20:00:09 loragw loragw[468]: # bridge.eu.thethings.network: Connecting
Aug 26 20:00:09 loragw loragw[468]: # Semtech status report sent.
Aug 26 20:00:09 loragw loragw[468]: ##### END #####
It feels like there's a deadlock somewhere in the reconnection process but so far I was unable to pinpoint it.
Hi,
My gateway (raspberry pi zero + rak831) seems to have issues with reconnections to the TTN bridge.
At first, everything works perfectly well for weeks usually.
Then suddenly, the connection breaks for some reason:
From now on, the gateway is stuck and won't send any more messages to TTN until I restart the packet forwarder. The connection status is always "Connecting" and there's no other log related to the connection again. Only the usual reports are printed.
It feels like there's a deadlock somewhere in the reconnection process but so far I was unable to pinpoint it.