Summary
Hi all
I’m trying to setup a Cloudgate device (expansion card CG2123) as a Lora Gateway, to receive on TTN the uplink messages coming from the end devices registered on cloudgate. I’ve installed the Basic Stations plugin then two options are available : CUPS or LNS.
I’ve tryed both, by following the instructions indicated on CloudGate | The Things Stack for LoRaWAN with no success
By assuming that the URL are correctly entered, the same for the keys, etc., the cloudgate logs shows that TTN server is reached but for a unknown reason, the connection is rejected :
Logs
LNS config :
[TCE:INFO] Connecting to INFOS: wss://eu1.cloud.thethings.network:8887
[TCE:ERRO] Infos error: ::0 Unauthorized
CUPS config :
[CUP:VERB] Retrieving update-info from CUPS https://eu1.cloud.thethings.network:443…
[CUP:DEBU] CUPS Request: {“router”:“c:e3ff:fe75:8035”,“cupsUri”:“https://eu1.cloud.thethings.network:443”,“tcUri”:null,“cupsCredCrc”:3270070736,“tcCredCrc”:2077607535,“station”:“2.0.6 2022-06-08 08:20:01”,“model”:“linux”,“package”:null,“keys”:}
[CUP:VERB] Failed to retrieve TCURI from CUPS: (401) Unauthorized
[AIO:DEBU] [3] HTTP connection shutdown…
Hardware
CloudGate with expansion card CG2132
My big doubt : on TTN documentation, it is clearly indicated as prerequisite the CG2132 LoRa expansion card installed in to the CloudGate.
I have a CG2123 card but my reseller ensured me that it is equivalent CG2132.
Could be something at hardware level preventing the authentication to work ?
Or is there an alternative (for exemple : using Cloudgate LuvitRed to send messsages received by the sensor to TTN trought MQTT / port 8883) ?
Any hint is really appreciated, thanks a lot!