I seem to have the gateway working well except it drops from TTN after every hour
My gateway Wifi signal seems strong. Perhaps I’m missing some setting or there is an authentication timeout? Any insight you could share would be appreciated!
You ca test your connection to AWS, I know the EU one is in Ireland (if I recall correctly), go run the ping test from the same network the gateway is on.
Do I see this correctly, does it sent only 1 status message and becomes quiet ? It could be your firewall terminating the connectivity due to inactivity - what gateway model are you using ?
No real issues with PING/ICMP that I can tell of. Especially with it dropping on the hour.
I checked the firewall logs. I don’t see anything specific to that host (DHCP expiration, etc). None of my other devices drop at 1 hour increments. Certainly strange.
Both websocket and MQTT protocols typically operate over a TCP connection, which may need occasional keepalive packets to keep something in the chain from dropping them or forging droppery.
It might be interesting to try to connect the gateway through a router where you can run packet dump software like tshark or tcpdump; if secure sessions the actual content will be opaque, but the outer TCP connection state is open to see and you might be able to see who hung up.
This would be particularly suspect if the time duration from connection initiation to failure tends to be similar.
@cslorabox
Agree. I’ll look into a capture but saw where there was active traffic just a few minutes before a recent disconnect. If thats the case, there should be some variability in the drop schedule specific to idle time, no?
The station log does not indicate a disconnect event. The message on broken CRC is just informative to indicate the reception of a non-LoRaWAN compliant LoRa frame.
Try to capture the station log during a disconnect/reconnect. That should contain a reason for the disconnect.
I’m not sure I understand the ask. I did supply the gateway logs in the first post. Is that what you are referring to? These are clearly labeled as gateway disconnects. There is no real reason shown on the disconnect
Your first post only has screenshots from the TTN console, no gateway logs - gateway logs are from the gateway’s perspective, not the server’s.
The gateway log you posted didn’t span the time of a disconnection event.
It only showed the receipt of a corrupted packet with bad CRC (or as likely an imagined non-packet), which has nothing to do with the interaction of the gateway and network server.
Hi, I have a similar observation with a gateway that uses MQTT protobuf protocol. Until now I have not been able to identify the source of the issue. I tend to think that TTNV3 is contributing to the issue by some “too tight” timeout timer.