OTAA Activation Failed


#1

Hi everybody, I have the next problem. When I try to connect a device RN2483 or mDot in OTAA mode, the device cannot do join and the Loraserver show the next problem in “loraserver.service” page:

Dec 10 15:42:25 loraserver loraserver[6854]: time=“2018-12-10T15:42:25Z” level=info msg=“backend/gateway: rx packet received”
Dec 10 15:42:25 loraserver loraserver[6854]: time=“2018-12-10T15:42:25Z” level=info msg=“packet(s) collected” dev_eui=0004a30b001b0b0f gw_count=1 gw_macs=00800000a00003cc mtype=JoinRequest
Dec 10 15:42:25 loraserver loraserver[6854]: time=“2018-12-10T15:42:25Z” level=error msg=“processing rx packet error: join-request to join-server error: http post error: Post http://localhost:8003: dial tcp [::1]:8003: connect: connection refused” data_base64=“AAAAAAAAAAAADwsbAAujBAAOXYQwfvM=”
Dec 10 15:42:26 loraserver loraserver[6854]: time=“2018-12-10T15:42:26Z” level=info msg=“backend/gateway: gateway stats packet received” mac=7076ffffff019d30
Dec 10 15:42:26 loraserver loraserver[6854]: time=“2018-12-10T15:42:26Z” level=info msg=“gateway updated” mac=7076ffffff019d30
Dec 10 15:42:26 loraserver loraserver[6854]: time=“2018-12-10T15:42:26Z” level=error msg=“handle gateway-configuration update error” error=“get channel error: lorawan/band: invalid channel” mac=7076ffffff019d30

How to resolve this problem to configuring the end-device with Loraserver in OTAA Activation.

Thanks


#2

I see two errors in your log. Have you tried to resolve these and if yes, what did you try?


#3

Just i tried change the port 8003 by 8001 in “lora-app-server.toml” and “loraserver.toml” but the problem is the same.


#4

I’m going to close this topic as it is not related to OTAA activation but to your general setup. There are already other topics covering port configuration etc… In general, I suggest you start with the https://www.loraserver.io/guides/docker-compose/ setup as most of the configuration is already done for you.


#5