Basic Station Protocol Problem for RPI gateway

Hi, everyone.

I have encountered a basic station protocol problem:
When I try to connect rpi gateway to ttn stack v3 using basic station protocol, the stack returns the error as shown:

basicstationlns:no_auth_provided (no auth provided for gateway id `{id}`)

The ttn-lw yaml is shown here:

# If Gateway Configuration Server enabled, defaults for "thethings.example.com":
gcs:
  basic-station:
    allow-unauthenticated: true
    fallback-frequency-plan-id: ""
    listen: ttnlorans.duckdns.org:1887
    listen-tls: ttnlorans.duckdns.org:8887
    use-traffic-tls-address: true
    ws-ping-interval: 30s

Is there any other configuration to solve this problem?

Thx so much, everyone

This is the gateway logs:
2020-08-15 09:31:32.488 [SYS:INFO] Logging : stderr (maxsize=10000000, rotate=3)
2020-08-15 09:31:32.488 [SYS:INFO] Station Ver : 2.0.5(rpi/std) 2020-08-11 17:53:02
2020-08-15 09:31:32.488 [SYS:INFO] Package Ver : (null)
2020-08-15 09:31:32.488 [SYS:INFO] proto EUI : 0:b827:ebcb:c3cc (/sys/class/net/eth0/address)
2020-08-15 09:31:32.488 [SYS:INFO] prefix EUI : ::1 (builtin)
2020-08-15 09:31:32.488 [SYS:INFO] Station EUI : b827:ebff:fecb:c3cc
2020-08-15 09:31:32.488 [SYS:INFO] Station home: ./ (builtin)
2020-08-15 09:31:32.488 [SYS:INFO] Station temp: /var/tmp/ (builtin)
2020-08-15 09:31:32.488 [SYS:WARN] Station in NO-CUPS mode
2020-08-15 09:31:32.690 [TCE:INFO] Starting TC engine
2020-08-15 09:31:32.691 [any:INFO] ./tc.trust:
cert. version : 3
serial number : 0A:01:41:42:00:00:01:53:85:73:6A:0B:85:EC:A7:08
issuer name : O=Digital Signature Trust Co., CN=DST Root CA X3
subject name : C=US, O=Let’s Encrypt, CN=Let’s Encrypt Authority X3
issued on : 2016-03-17 16:40:46
expires on : 2021-03-17 16:40:46
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true, max_pathlen=0
key usage : Digital Signature, Ke2020-08-15 09:31:32.691 [AIO:INFO] tc has no key+cert configured - running server auth only
2020-08-15 09:31:32.881 [TCE:INFO] Connecting to INFOS: wss://ttnlorans.duckdns.org:8887
2020-08-15 09:31:33.133 [TCE:INFO] Infos: b827:ebff:fecb:c3cc muxs-::0 wss://ttnlorans.duckdns.org:8887/traffic/eui-B827EBFFFECBC3CC
2020-08-15 09:31:33.133 [AIO:DEBU] [3] ws_close reason=1000
2020-08-15 09:31:33.133 [AIO:DEBU] Echoing close - reason=1000
2020-08-15 09:31:33.133 [AIO:ERRO] Recv failed: SSL - The peer notified us that the connection is going to be closed
2020-08-15 09:31:33.133 [AIO:DEBU] [3] WS connection shutdown…
2020-08-15 09:31:33.133 [any:INFO] ./tc.trust:
cert. version : 3
serial number : 0A:01:41:42:00:00:01:53:85:73:6A:0B:85:EC:A7:08
issuer name : O=Digital Signature Trust Co., CN=DST Root CA X3
subject name : C=US, O=Let’s Encrypt, CN=Let’s Encrypt Authority X3
issued on : 2016-03-17 16:40:46
expires on : 2021-03-17 16:40:46
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true, max_pathlen=0
key usage : Digital Signature, Ke2020-08-15 09:31:33.133 [AIO:INFO] tc has no key+cert configured - running server auth only
2020-08-15 09:31:33.139 [TCE:VERB] Connecting to MUXS…
2020-08-15 09:31:33.316 [AIO:ERRO] [3] WS upgrade failed with HTTP status code: 401
2020-08-15 09:31:33.316 [AIO:DEBU] [3] WS connection shutdown…
2020-08-15 09:31:33.316 [TCE:VERB] Connection to MUXS closed in state 3
2020-08-15 09:31:33.316 [TCE:INFO] INFOS reconnect backoff 10s (retry 1)

Any information for this problem?

A bit impatient? There won’t be a lot of people that know about this particular setup and over the weekend most will be off-line.

Thx so much. This issue has been solved. So, I will close this problem.

Please share what your issue was so others may benefit.

2 Likes

It is ok. I am busy recently and will make the summarization in few days.

This topic was automatically closed after 30 days. New replies are no longer allowed.