xoseperez / standalone-lorawan-gateway-balena

Deploys the The Things Stack LoRaWAN Network Server Open Source Edition, BasicStation and Backend tools using Balena.
Apache License 2.0
23 stars 9 forks source link

Login Failed #3

Open fabmie opened 1 year ago

fabmie commented 1 year ago

Hi I installed this module by the deploy on balena on my raspberry pi 4 and all run fine until I tried to connect to the IP of my raspberry pi. I have the TTN login window but when I enter login/password I have a login failed error with a error:pkg/web/oauthclient:exchange

The details given after are as following : { "code": 7, "message": "error:pkg/web/oauthclient:exchange (token exchange refused)", "details": [ { "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails", "namespace": "pkg/web/oauthclient", "name": "exchange", "message_format": "token exchange refused", "correlation_id": "4bac2feb935a475d8c3a300ef27398c5", "cause": { "namespace": "pkg/errors", "name": "net_operation", "message_format": "net operation failed", "attributes": { "address": "192.168.1.171:443", "net": "tcp", "op": "dial", "timeout": false }, "correlation_id": "b8972595b5a74d198923f1792ba51957", "code": 14 }, "code": 7 } ] }

I tried to change TTS_DOMAIN to my router IP, to my local IP (IP of the computer from which I am trying to connect), and I also tried to delete the certificate but it stills not work.

AI have been struggling with this issue all day long and I would appreciate any suggestion ;-).