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?

asked 8 months ago267 views
1 Answer
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
EXPERT
Greg_B
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions