Quantcast
Channel: The Things Network - Latest posts
Viewing all articles
Browse latest Browse all 116820

Running TTN back-end locally reports gateway errors

$
0
0

Hi @htdvisser

Thanks for replying, following the wiki I have made a configuration file like this

$ cat config.ttnctl.yaml
debug: true
ttn-router: "localhost:1700"
app-eui: "0000000000000000"
mqtt-broker: "localhost:1883"
ttn-handler: "0.0.0.0:1782"
ttn-account-server: "https://account.thethingsnetwork.org"

However I am facing issues when trying to register a device into my local TTN backed instance, I got the following error

> $ ./ttnctl-linux-amd64 devices register personalized 02010103 2B7E151628AED2A6ABF7158809CF4F3C 2B7E151628AED2A6ABF7158809CF4F3C  --config "$HOME/TTNbackend/config.ttnctl.yaml"
> Using config file: /home/lorabackbone/TTNbackend/config.ttnctl.yaml
>  FATAL Could not register device                error=rpc error: code = 2 desc = Invalid operation: rpc error: code = 2 desc = Invalid operation: Unauthorized

Thanks again!


Viewing all articles
Browse latest Browse all 116820

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>