Get channel error: lorawan/band: invalid channel


#1

Hey folks,

I’m pretty sure I’m holding things wrong here.

I have an IC880A gateway running lora-gateway-os, and an installation of loraserver.io on a remote host.

The gateways are connected to the server via MQTT.

I can see the “JOIN” and “JOIN ACCEPT” packets flying back and forth between my nodes, however in the loraserver logs I see the following:

Mar 14 15:26:19 loraserver1 loraserver[20729]: time="2019-03-14T15:26:19Z" level=info msg="backend/gateway: gateway stats packet received" mac=<MY MAC>
Mar 14 15:26:19 loraserver1 loraserver[20729]: time="2019-03-14T15:26:19Z" level=info msg="gateway updated" mac=<MY MAC>
Mar 14 15:26:19 loraserver1 loraserver[20729]: time="2019-03-14T15:26:19Z" level=error msg="handle gateway-configuration update error" error="get channel error: lorawan/band: invalid channel" mac=<MY MAC>

I’ve searched this error message in the forums and in the bug trackers, however I can’t find an instance of get channel error: lorawan/band: invalid channel that doesn’t have either the channel or the frequency specified after it.

I’ve had this node working on TTN, so I’m confident it’s not a node issue, but what have I misconfigured to see this error?


#2

Changing the channels in the Gateway Profile to 0,1,2 resolved this error.