Hi guys,
I have bought a new Laird RG186 gateway and I can’t get it to connect to TTN.
Following the guide at Application Note - Setting up Basic station on the Things Stack v3 I did the following steps:
- Connected the gateway via ethernet, changed my credentials and updated the firmware to the latest version (Laird Linux gatwick-laird-93.9.6.30).
- Logged in to the TTN console > go to gateways > Register gateway
- Entered the gateway EUI (C0EE40FFFF2A378C), gateway ID, name, frequency plan (Europe 863-870 MHz (SF9))
- Not in the manual, but I guess this is necessary: enabled ‘Require authenticated connection’ and enabled ‘generate API key for’ CUPS and LNS.
- Registered the gateway.
- Logged in to the gateway again, LoRa > Forwarder, set the mode to ‘Semtech Basics Station’.
- Set the LNS address to
wss://eu1.cloud.thethings.network:8887
- Uploaded the ISRG Root X1 server certificate file I downloaded from https://letsencrypt.org/certs/isrgrootx1.pem
- Uploaded the tc.key file that was generated earlier.
- Pressed the ‘Update’ button.
- Connection state remains ‘false’ and nothing new in the TTN console, so I rebooted the gateway.
- Still nothing, so I checked the gateway logs:
RG1xx2A378C root user.notice Jan 16 20:04:19 restarting the lora packet forwarder
RG1xx2A378C root user.notice Jan 16 20:04:15 resetting the lora concentrator
RG1xx2A378C lora user.notice Jan 16 20:04:15 /opt/lora/basicstation/tc-boot.uri
RG1xx2A378C lora user.notice Jan 16 20:04:15 /opt/lora/basicstation/tc-bak.uri
RG1xx2A378C lora user.notice Jan 16 20:04:15 /opt/lora/basicstation/tc.uri
RG1xx2A378C lora user.notice Jan 16 20:04:15 /opt/lora/basicstation/cups-boot.uri
RG1xx2A378C lora user.notice Jan 16 20:04:15 /opt/lora/basicstation/cups-bak.uri
RG1xx2A378C lora user.notice Jan 16 20:04:15 /opt/lora/basicstation/cups.uri
RG1xx2A378C lora user.notice Jan 16 20:04:15 No server URIs configured - expecting at least one of the following files to exist:
RG1xx2A378C lora user.notice Jan 16 20:04:15 /opt/lora/basicstation/tc-bak.uri: Misconfigured URI - expecting scheme ws: wss://eu1.cloud.thethings.network:8887/
RG1xx2A378C lora user.notice Jan 16 20:04:15 /opt/lora/basicstation/tc.uri: Misconfigured URI - expecting scheme ws: wss://eu1.cloud.thethings.network:8887/
RG1xx2A378C lora user.notice Jan 16 20:04:15 2023-01-16 20:04:15.588 [AIO:ERRO] Malformed URI - expecting ws(s)://host:port (no path, port mandatory) but found: wss://eu1.cloud.thethings.network:8887/
RG1xx2A378C lora user.notice Jan 16 20:04:15 2023-01-16 20:04:15.587 [AIO:ERRO] Malformed URI - expecting ws(s)://host:port (no path, port mandatory) but found: wss://eu1.cloud.thethings.network:8887/
RG1xx2A378C root user.notice Jan 16 20:04:15 restarting the lora packet forwarder
RG1xx2A378C root user.notice Jan 16 20:04:11 resetting the lora concentrator
RG1xx2A378C lora user.notice Jan 16 20:04:11 /opt/lora/basicstation/tc-boot.uri
RG1xx2A378C lora user.notice Jan 16 20:04:11 /opt/lora/basicstation/tc-bak.uri
RG1xx2A378C lora user.notice Jan 16 20:04:11 /opt/lora/basicstation/tc.uri
RG1xx2A378C lora user.notice Jan 16 20:04:11 /opt/lora/basicstation/cups-boot.uri
RG1xx2A378C lora user.notice Jan 16 20:04:11 /opt/lora/basicstation/cups-bak.uri
RG1xx2A378C lora user.notice Jan 16 20:04:11 /opt/lora/basicstation/cups.uri
I also tried LNS address wss://eu1.cloud.thethings.network:8887/
(with the trailing slash), but still nothing.
Could anyone please help me? Thanks in advance for your help.
Paul