Facing issues with connect with AWS IoT core for LoRaWAN.

0

We are using CloudGate Options gateway for connecting to AWS LoRaWAN. We have installed basic station for it. Also we have configured it with details which we got it from IoT core Lorawan gateway registration Enter image description here Enter image description here

but when we checking on the gateway logs we could see that 2023 Sep 11 05:12:04.289 station: [TCE:VERB] Connecting to MUXS... 2023 Sep 11 05:12:06.391 chaser [3443]: <1> chaser.c:hw_watchdog_kick(660) - *** barks to the HW dog *** 2023 Sep 11 05:12:06.526 station: [TCE:VERB] Connected to MUXS. 2023 Sep 11 05:12:06.528 station: [AIO:DEBU] [3|WS] Server sent close: reason=1006 2023 Sep 11 05:12:06.529 station: [AIO:DEBU] [3] ws_close reason=1006 2023 Sep 11 05:12:06.531 station: [AIO:ERRO] Recv failed: SSL - The peer notified us that the connection is going to be closed 2023 Sep 11 05:12:06.533 station: [AIO:DEBU] [3] WS connection shutdown... 2023 Sep 11 05:12:06.535 station: [TCE:VERB] Connection to MUXS closed in state 4 2023 Sep 11 05:12:06.536 station: [TCE:INFO] INFOS reconnect backoff 10s (retry 1)

Enter image description here Please see the screenshot for aws logs. It is showing Gateway connection getting closed after 2-4 seconds. How can we resolve this issue?

已提问 9 个月前286 查看次数
1 回答
0

Hi. I think it's an authentication error. So I think it's likely that there's something wrong with the URI, server CA cert, gateway cert or gateway key. From searching the Basic Station issues on GitHub it seems you can get more insight by setting the following environment variable:

export STATION_TLSDBG=4

And then restarting Basic Station. I tried it, and it does indeed give a lot more detail in the logs about what TLS is doing.

profile pictureAWS
专家
Greg_B
已回答 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则