Gateway no longer connects

I have a gateway that I’ve been fiddling with based on a Pi and an Seed WM1303 from a SenseCap M1.

I had this running back in April of this year, but due to other commitments had to shelve it. Yesterday I dug it out and powered it on but it’s not working. The TTN dashboard shows the gateway as disconnected.

Checking the station.log, the lines that I suspect are the issue are…

key usage : Key Cert Sign,2023-10-15 17:04:16.980 [TCE:VERB] Connecting to MUXS…
2023-10-15 17:04:17.328 [AIO:ERRO] [4] WS upgrade failed with HTTP status code: 401
2023-10-15 17:04:17.328 [AIO:DEBU] [4] WS connection shutdown…
2023-10-15 17:04:17.328 [TCE:VERB] Connection to MUXS closed in state 3
2023-10-15 17:04:17.329 [TCE:INFO] INFOS reconnect backoff 10s (retry 1)

key usage : Key Cert Sign,2023-10-15 17:04:38.124 [TCE:INFO] Connecting to INFOS: wss://eu1.cloud.thethings.network:8887
2023-10-15 17:04:38.562 [TCE:INFO] Infos: b827:ebff:fe56:3ac0 muxs-::0 wss://eu1.cloud.thethings.network:8887/traffic/eui-B827EBFFFE563AC0
2023-10-15 17:04:38.562 [AIO:DEBU] [4] ws_close reason=1000
2023-10-15 17:04:38.562 [AIO:ERRO] Recv failed: SSL - The peer notified us that the connection is going to be closed

The only thing I can think might have happened is the cert expired?

Idiot!

Found the issue, it was the API Key, no idea why, but I’d set it to expire in May!

Changed the date on the key, saved it and await it went.

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.