Basic Station error message: No TC.URI configured

Issue: Error on Basic Station communication

Setup: RAK7249 1.3.8_RAK b184

LoRa® Server: AWS IoT Core for LoRaWAN

Details:

As we can see in the screenshot below TC.URI is in the /etc/station directory together with cups files, but the system is sending the error message below:

06-09-2023 19:24:32 User.Error 192.168.1.58 Jun 9 19:24:33 basicstation[21533]: [TCE:ERRO] No TC URI configured

Same issue with 7289V2…

So I have actually just uncovered this issue myself and it may or may not be your issue. I am getting these errors on a 7268C in Basic Station mode with AWS IoT Core as the LNS.

user.err basicstation[2436]: [CUP:ERRO] No CUPS URI configured

The hub is unable to establish the WSS connection to the LNS endpoint. In my case, the issue was that the system clock was too far out of sync.

Hopefully this is helpful to you or whoever comes across this post.