"get channel error" since update to 3.12

Hey,

I just updated the Chirpstack stack on my docker-compose to the latest release ( should be 3.12) and now some sensors don’t get trough. I get the following errors on the network server:

chirpstack-network-server_1 | time=“2021-03-04T17:55:51Z” level=error msg=“uplink: processing uplink frame error” ctx_id=ea334e8f-8259-4e1f-8318-4d5c1d685b14 error=“get channel error: no channel found for frequency: 867500000, dr: 5”
chirpstack-network-server_1 | time=“2021-03-04T17:55:55Z” level=error msg=“uplink: processing uplink frame error” ctx_id=3cd30618-7c0c-4ffb-9e89-a60ffbe9afbb error=“get channel error: no channel found for frequency: 867900000, dr: 5”
chirpstack-network-server_1 | time=“2021-03-04T17:55:57Z” level=error msg=“uplink: processing uplink frame error” ctx_id=7e17ffe3-0865-456c-80e2-10bbb7665a8b error=“get channel error: no channel found for frequency: 867500000, dr: 5”
chirpstack-network-server_1 | time=“2021-03-04T17:56:30Z” level=error msg=“uplink: processing uplink frame error” ctx_id=14e397f1-d8a6-45da-b90a-57c0f69cbcb1 error=“get channel error: no channel found for frequency: 867300000, dr: 5”
chirpstack-network-server_1 | time=“2021-03-04T17:56:32Z” level=error msg=“uplink: processing uplink frame error” ctx_id=a29cb1c4-c657-47c9-86f1-0dca3991fcae error=“get channel error: no channel found for frequency: 867100000, dr: 5”

Could you may tell me how to fix this or is there a workaround?

thanks in advance,
Spider

okay found it. There seems to be a breaking change in one of this versions where you have to add “extra channels” for the EU band. I dont know why, and I’m a little confused why such a big breaking change will be added to the network server without changing the major version, but maybe I overlooked something

For anyone who is facing the same issue: you have to update your chirpstack networkserver configuration file to add the extra channels. You can find it for EU here:
chirpstack-network-server/chirpstack-network-server.toml at 99e9d6646bf275cb627bbc5af2e12e70368dad2b · brocaar/chirpstack-network-server (github.com)

One question is still open: I actually using the enviorment version with docker-compose but I dont know how to implement these via env variable? Could one maybe help me out here?

Best,
Max

Hi, good to know that there is this problem. I’m also running Docker with docker-compose “env” and version image “latest”.
It seem like an unintentional change in configuration. Why should one care about “extra channels” if it is “default” configuration and there is no need to change it?
Some directions how to construct environmental variables shows this post:

I don’t think this change was added recently, at least not intentional.

Exactly Patar. Those env vars don’t seem to apply as there are no examples for arrays. @brocaar: Yes, I updated from 3.7 to 3.12. Is there a documentation how to implement those extra channels via ENV?

Best,
Spider

What you mean by “doesn’t seem to apply” ?
Arrays on ENV vars follow docker standard, comma separated values

Example:
NETWORK_SERVER__NETWORK_SETTINGS__ENABLED_UPLINK_CHANNELS = 0,1,2,3,4,5,6,7,64

1 Like

@gtaspider, just checked now my version of network server which is running in Docker without problems: 3.12.1-7-g19d8a25. I’m running this version from 24.2.2021.