Concentratord errors

Hi,

Using the Chirpstack base image 3.3, I have had a Rak Wireless 2245 running happily on a RPi Zero W for a few months. The Gateway now will initially connect to Chirpstack in the cloud but will then disconnect and not re-connect. On my RPi, I am getting the following in my logs:

Jul  2 09:13:50 raspberrypi0-wifi user.info monit[364]: 'chirpstack-concentratord' process is running with pid 450
Jul 02 09:13:52 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[450]: Scheduled packet for TX, downlink_id: 948eb7e4-3fd7-4a9b-8fef-55d0c8fe2fbb, count_us: 11450084, freq: 926900000, bw: 500000, mod: LoRa, dr: SF12
Jul 02 09:14:14 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[450]: Publishing stats event, stats_id: 72883e65-3948-4630-a6f6-9c88a9a39ae0, rx_received: 2, rx_received_ok: 1, tx_received: 1, tx_emitted: 1
Jul  2 09:14:14 raspberrypi0-wifi user.info chirpstack-gateway-bridge[320]: time="2021-07-02T09:14:14Z" level=info msg="backend/concentratord: stats event received" stats_id=72883e65-3948-4630-a6f6-9c88a9a39ae0
Jul  2 09:14:14 raspberrypi0-wifi user.info chirpstack-gateway-bridge[320]: time="2021-07-02T09:14:14Z" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=72883e65-3948-4630-a6f6-9c88a9a39ae0 topic=gateway/403cfcfffe005d31/event/stats
Jul  2 09:14:14 raspberrypi0-wifi user.info chirpstack-gateway-bridge[320]: time="2021-07-02T09:14:14Z" level=info msg="integration/mqtt: gateway configuration received" topic=gateway/403cfcfffe005d31/command/config
Jul  2 09:14:14 raspberrypi0-wifi user.info chirpstack-gateway-bridge[320]: time="2021-07-02T09:14:14Z" level=info msg="backend/concentratord: forwarding configuration command" version=f156e75b-7917-4b92-9667-18550c5fa5f5-r1625193508
Jul 02 09:14:14 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[450]: Stopping the concentrator
Jul 02 09:14:14 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[450]: Updating concentrator configuration
Jul  2 09:14:14 raspberrypi0-wifi user.err chirpstack-gateway-bridge[320]: time="2021-07-02T09:14:14Z" level=error msg="backend/concentratord: receive event message error" error=EOF
Jul  2 09:14:16 raspberrypi0-wifi user.err chirpstack-gateway-bridge[320]: time="2021-07-02T09:14:16Z" level=error msg="backend/concentratord: event socket dial error" error="dial event api url error: zmq4: could not dial to \"ipc:///tmp/concentratord_event\": dial unix /tmp/co
Jul  2 09:14:20 raspberrypi0-wifi user.err chirpstack-gateway-bridge[320]: time="2021-07-02T09:14:20Z" level=error msg="backend/concentratord: event socket dial error" error="dial event api url error: zmq4: could not dial to \"ipc:///tmp/concentratord_event\": dial unix /tmp/co
Jul  2 09:14:21 raspberrypi0-wifi user.err monit[364]: 'chirpstack-concentratord' process is not running
Jul  2 09:14:21 raspberrypi0-wifi user.info monit[364]: 'chirpstack-concentratord' trying to restart
Jul  2 09:14:21 raspberrypi0-wifi user.info monit[364]: 'chirpstack-concentratord' start: '/etc/init.d/chirpstack-concentratord start'
Jul 02 09:14:21 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[465]: Configuring reset pin, pin: 17
Jul 02 09:14:21 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[465]: Starting Concentratord SX1301 (version: 3.2.0, docs: https://www.chirpstack.io/concentratord/)
Jul 02 09:14:21 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[465]: Triggering concentrator reset
Jul 02 09:14:21 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[465]: Setting spi device path, spidev_path: /dev/spidev0.0
Jul 02 09:14:21 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[465]: Setting board configuration, lorawan_public: true, clock_source: 1
Jul 02 09:14:21 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[465]: Setting up concentrator radios
Jul 02 09:14:21 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[465]: Configuring radio, radio: 0, enabled: true, center_freq: 917200000, type: SX1257
Jul 02 09:14:21 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[465]: Configuring radio, radio: 1, enabled: true, center_freq: 918200000, type: SX1257
Jul 02 09:14:21 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[465]: Setting up concentrator channels
Jul 02 09:14:21 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[465]: Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 916800000, rf_chain: 0, if_freq: -400000

Previous threads on the forums have suggested that this could be a wiring issue, but I suspect that probably isn’t the case. Are there any suggestions on where I should look to try to track this down?

Thanks for your time.

An invalid gateway-profile assigned to your gateway could cause it to restart. Have you tried removing the gateway-profile from the gateway config (in the web-interface)?

Thanks so much brocarr, yes so it is now working again. I have a feeling that in gateway-profiles, on the chirpstack server, the channels were listed as:

*8, 9, 10, 11, 12, 13, 14, 15, 60

And that it started working after I corrected it to:

*8, 9, 10, 11, 12, 13, 14, 15, 65

Thanks so much for your time, seems to be working reliably again.

So in that case what happened:

The Concentratord would apply the new config, fail because the hardware does not support the given channel-plan (the channels have to fit in the radio’s bandwidth), it would restart to revert to the config in the .toml file, after which the NS would re-try to configure the channel-plan, and so on…