Chirpstack-concentrator keeps gettings restarting

Gateway OS V - 4.2.0
Chirpstack V - 4.5.0
I’m trying to use Chirpstack Gateway OS Base on Raspberry P using RAK2287 HAT
I’m building Gateways os using below steps for Raspberry Pi 4B

make init
make switch-env ENV=base_raspberrypi_bcm27xx_bcm2709
make devshell
make

I’m planning to use gateway base os(openwrt) + server containing [ network server + app server ] where communication between them should be using MQTT.

Below are the files that i’ve changed from OpenWRT interface UI.
chirpstack-mqtt-forwarder.toml

[logging]
level="trace"
log_to_syslog=true

[backend]
enabled="concentratord"
[mqtt]
topic_prefix="eu868"
json=true
server="tcp://192.168.0.113:1883"
username=""
password=""
qos=0
clean_session=true
client_id=""
ca_cert=""
tls_cert=""
tls_key=""

concentrator.toml

[concentratord]
log_level="TRACE"
log_to_syslog=true
stats_interval="30s"

  [concentratord.api]
  event_bind="ipc:///tmp/concentratord_event"
  command_bind="ipc:///tmp/concentratord_command"

[gateway]
antenna_gain=0
lorawan_public=true
region="EU868"
model="rak_2287"
model_flags=[]

Below are my chirpstack server files.
chirpstack.toml

[logging]
  level="debug"

[postgresql]
  dsn="postgres://chirpstack:chirpstack@localhost/chirpstack?sslmode=disable"
  max_open_connections=10
  min_idle_connections=0

[redis]
  servers=[
    "redis://localhost/",
  ]

  tls_enabled=false
  cluster=false

[network]
  net_id="000000"
  enabled_regions=[
#    "as923",
#    "as923_2",
#    "as923_3",
#    "as923_4",
#    "au915_0",
#    "cn470_10",
#    "cn779",
#    "eu433",
    "eu868",
#    "in865",
#    "ism2400",
#    "kr920",
#    "ru864",
#    "us915_0",
#    "us915_1",
  ]

[api]
  bind="0.0.0.0:8080"
  #   openssl rand -base64 32
  secret="4Vuisqe4jo9BN+pR+qJOFLgQy50J+6PIxKX+q8zwplY="

[integration]
  enabled=["mqtt"]

  [integration.mqtt]
    server="tcp://localhost:1883/"
    json=true

While in runtime i’m getting multiple responses multiple times
First time

user.info chirpstack-mqtt-forwarder[2205]: Starting ChirpStack MQTT Forwarder (version: 4.1.1, docs: https://www.chirpstack.io/)
user.info chirpstack-mqtt-forwarder[2205]: Setting up ChirpStack Concentratord backend
user.info chirpstack-mqtt-forwarder[2205]: Setting up ChirpStack Concentratord backend
user.info chirpstack-mqtt-forwarder[2205]: Connecting to Concentratord event API, event_url: ipc:///tmp/concentratord_event
user.info chirpstack-mqtt-forwarder[2205]: Connecting to Concentratord command API, command_url: ipc:///tmp/concentratord_command
user.info chirpstack-mqtt-forwarder[2205]: Reading gateway id
user.info chirpstack-mqtt-forwarder[2205]: Received gateway id, gateway_id: 0016c001f1075349
user.debug chirpstack-mqtt-forwarder[2205]: Retrieving Gateway ID from backend
user.info chirpstack-mqtt-forwarder[2205]: Received Gateway ID from backend, gateway_id: 0016c001f1075349
user.debug chirpstack-mqtt-forwarder[2205]: Setting up MQTT client
user.debug chirpstack-mqtt-forwarder[2205]: Starting event loop
user.debug chirpstack-mqtt-forwarder[2205]: Create options: CreateOptions { copts: MQTTAsync_createOptions { struct_id: [77, 81, 67, 79], struct_version: 2, sendWhileDisconnected: 0, maxBufferedMessages: 100, MQTTVersion: 5, allowDisconnectedSendAtAnyTime: 0, deleteOldestMessages: 0, restoreMessages: 1, persistQoS0: 1 }, server_uri: "tcp://192.168.0.113:1883", client_id: "0016c001f1075349", persistence: File with Path, user_data: None }
user.debug chirpstack-mqtt-forwarder[2205]: Creating client with persistence: 0
user.debug chirpstack-mqtt-forwarder[2205]: AsyncClient w/ Inner 0xb62403e8 and Handle: 0xb62b51b0
user.info chirpstack-mqtt-forwarder[2205]: Connecting to MQTT broker, server: tcp://192.168.0.113:1883, clean_session: true, client_id: 0016c001f1075349, qos: 0
user.debug chirpstack-mqtt-forwarder[2205]: Connecting. Handle: 0xb62b51b0
user.debug chirpstack-mqtt-forwarder[2205]: Updating client MQTT version: 0
user.debug chirpstack-mqtt-forwarder[2205]: Connect options: ConnectOptions { copts: MQTTAsync_connectOptions { struct_id: [77, 81, 84, 67], struct_version: 8, keepAliveInterval: 60, cleansession: 1, maxInflight: 65535, will: 0xb600f988, username: 0x0, password: 0x0, connectTimeout: 30, retryInterval: 0, ssl: 0x0, onSuccess: Some(0x510700), onFailure: Some(0x510820), context: 0xb600f2a8, serverURIcount: 0, serverURIs: 0x0, MQTTVersion: 0, automaticReconnect: 1, minRetryInterval: 1, maxRetryInterval: 30, binarypwd: MQTTAsync_connectOptions__bindgen_ty_1 { len: 0, data: 0x0 }, cleanstart: 0, connectProperties: 0x0, willProperties: 0x0, onSuccess5: None, onFailure5: None, httpHeaders: 0x0, httpProxy: 0x0, httpsProxy: 0x0 }, data: ConnectOptionsData { will: Some(WillOptions { copts: MQTTAsync_willOptions { struct_id: [77, 81, 84, 87], struct_version: 1, topicName: 0xb6010bf0, message: 0x0, retained: 1, qos: 0, payload: MQTTAsync_willOptions__bindgen_ty_1 { len: 32, data: 0xb6010c20 } }, data: MessageDat
user.debug chirpstack-mqtt-forwarder[2205]: Token success! Token: 0xb600f2a8, Response: 0xb5fe6c00
user.debug chirpstack-mqtt-forwarder[2205]: Completing Token w ID 0 and code: 0
user.debug chirpstack-mqtt-forwarder[2205]: Expecting server response for: Connect
user.debug chirpstack-mqtt-forwarder[2205]: Got response: ServerResponse { rsp: Connect(ConnectResponse { server_uri: "192.168.0.113:1883", mqtt_version: 4, session_present: false }), props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, reason_code: Success }
user.debug chirpstack-mqtt-forwarder[2205]: Updating client MQTT version: 4
user.debug chirpstack-mqtt-forwarder[2205]: Connected! Client 0xb62403e8
user.debug chirpstack-mqtt-forwarder[2205]: Invoking connected callback
user.info chirpstack-mqtt-forwarder[2205]: Connected to MQTT broker
user.info chirpstack-mqtt-forwarder[2205]: Subscribing to command topic, topic: eu868/gateway/0016c001f1075349/command/+
user.debug chirpstack-mqtt-forwarder[2205]: Subscribe to '"eu868/gateway/0016c001f1075349/command/+"' @ QOS 0
user.info chirpstack-mqtt-forwarder[2205]: Starting MQTT consumer loop
user.debug chirpstack-mqtt-forwarder[2205]: Token success! Token: 0xb600f0a8, Response: 0xb5fe6c00
user.debug chirpstack-mqtt-forwarder[2205]: Completing Token w ID 1 and code: 0
user.debug chirpstack-mqtt-forwarder[2205]: Expecting server response for: Subscribe
user.debug chirpstack-mqtt-forwarder[2205]: Got response: ServerResponse { rsp: Subscribe(0), props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, reason_code: Success }
user.info chirpstack-mqtt-forwarder[2205]: Sending conn state, topic: eu868/gateway/0016c001f1075349/state/conn
user.debug chirpstack-mqtt-forwarder[2205]: Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 49, payload: 0xb600c2d0, qos: 0, retained: 1, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "eu868/gateway/0016c001f1075349/state/conn", payload: [123, 34, 103, 97, 116, 101, 119, 97, 121, 73, 100, 34, 58, 34, 48, 48, 49, 54, 99, 48, 48, 49, 102, 49, 48, 55, 53, 51, 52, 57, 34, 44, 34, 115, 116, 97, 116, 101, 34, 58, 34, 79, 78, 76, 73, 78, 69, 34, 125], props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } } } }
user.debug chirpstack-mqtt-forwarder[2205]: Token success! Token: 0xb600f328, Response: 0xb6009b8c
user.debug chirpstack-mqtt-forwarder[2205]: Completing Token w ID 0 and code: 0
user.debug chirpstack-mqtt-forwarder[2205]: Expecting server response for: None
user.debug chirpstack-mqtt-forwarder[2205]: Got response: ServerResponse { rsp: None, props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, reason_code: Success }
daemon.err uwsgi[1034]: *** has_emperor mode detected (fd: 8) ***
daemon.err uwsgi[1034]: [uWSGI] getting INI configuration from /etc/uwsgi/vassals/luci-cgi_io.ini
daemon.err uwsgi[1034]: - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini has been spawned
daemon.err uwsgi[1034]: - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini is ready to accept requests
daemon.err uwsgi[1034]: - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini is now loyal
cron.err crond[981]: time disparity of 149 minutes detected
user.info chirpstack-concentratord-sx1302[1644]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 0
user.info chirpstack-mqtt-forwarder[2205]: Received gateway stats
user.info chirpstack-mqtt-forwarder[2205]: Sending gateway stats event, topic: eu868/gateway/0016c001f1075349/event/stats
user.debug chirpstack-mqtt-forwarder[2205]: Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 193, payload: 0xb600f820, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "eu868/gateway/0016c001f1075349/event/stats", payload: [123, 34, 103, 97, 116, 101, 119, 97, 121, 73, 100, 34, 58, 34, 48, 48, 49, 54, 99, 48, 48, 49, 102, 49, 48, 55, 53, 51, 52, 57, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 51, 45, 48, 57, 45, 50, 48, 84, 48, 57, 58, 52, 49, 58, 48, 57, 46, 56, 54, 52, 50, 53, 55, 53, 55, 50, 43, 48, 48, 58, 48, 48, 34, 44, 34, 109, 101, 116, 97, 100, 97, 116, 97, 34, 58, 123, 34, 104, 97, 108, 95, 118, 101, 114, 115, 105, 111, 110, 34, 58, 34, 86, 101, 114, 115, 105, 111, 110, 58, 32, 50, 46, 49, 46, 48, 59, 34, 44, 34, 99, 111, 110, 102, 105, 103, 95, 118, 101, 114, 115, 105, 111, 110, 34, 58, 34, 34, 44, 34, 99, 111, 110, 99, 101, 1
user.debug chirpstack-mqtt-forwarder[2205]: Token success! Token: 0xb600f0a8, Response: 0xb6009b8c
user.debug chirpstack-mqtt-forwarder[2205]: Completing Token w ID 0 and code: 0
user.debug chirpstack-mqtt-forwarder[2205]: Expecting server response for: None
user.debug chirpstack-mqtt-forwarder[2205]: Got response: ServerResponse { rsp: None, props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, reason_code: Success }
user.debug chirpstack-mqtt-forwarder[2205]: Message sent
user.debug chirpstack-mqtt-forwarder[2205]: Message arrived. Client: 0xb62403e8, topic: 0xb600c290 len 45 cmsg: 0xb600c2d0: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 1347, payload: 0xb600ad40, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }
user.debug chirpstack-mqtt-forwarder[2205]: Invoking message callback
user.info chirpstack-mqtt-forwarder[2205]: Received message, topic: eu868/gateway/0016c001f1075349/command/config, qos: 0
user.info chirpstack-mqtt-forwarder[2205]: Received configuration command, version: 717c8d9dd858e8b0, topic: eu868/gateway/0016c001f1075349/command/config
user.info chirpstack-mqtt-forwarder[2205]: Sending configuration command, version: 717c8d9dd858e8b0
user.debug chirpstack-concentratord-sx1302[1644]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1644]: JIT loop ended
user.debug chirpstack-concentratord-sx1302[1644]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1644]: Stats loop ended
user.debug chirpstack-concentratord-sx1302[1644]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1644]: Uplink loop ended
user.debug chirpstack-concentratord-sx1302[1644]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1644]: Command loop ended
user.info chirpstack-concentratord-sx1302[1644]: Stopping the concentrator
user.info chirpstack-concentratord-sx1302[1644]: Updating concentrator configuration
user.info chirpstack-concentratord-sx1302[1644]: Starting Concentratord SX1302 (version: 4.3.0, docs: https://www.chirpstack.io/docs/chirpstack-concentratord/)
user.info chirpstack-concentratord-sx1302[1644]: Triggering sx1302 reset
user.info chirpstack-concentratord-sx1302[1644]: Setting i2c device path, path: /dev/i2c-1
user.info chirpstack-concentratord-sx1302[1644]: Setting board configuration, lorawan_public: true, clock_source: 0
user.info chirpstack-concentratord-sx1302[1644]: Setting up fine timestamp, enable: false
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 12, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 4
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 13, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 5
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 14, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 6
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 15, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 7
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 16, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 8
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 17, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 9
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 18, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 10
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 19, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 11
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 20, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 12
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 21, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 13
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 22, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 14
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 23, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 16
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 24, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 17
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 25, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 18
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 26, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 19
user.debug chirpstack-concentratord-sx1302[1644]: Configuration TX gain for radio, radio: 0, rf_power: 27, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 22
user.info chirpstack-concentratord-sx1302[1644]: Setting up concentrator channels
user.info chirpstack-concentratord-sx1302[1644]: Configuring radio, radio: 0, enabled: true, center_freq: 867500000, type: SX1250
user.info chirpstack-concentratord-sx1302[1644]: Configuring radio, radio: 1, enabled: true, center_freq: 868500000, type: SX1250
user.info chirpstack-concentratord-sx1302[1644]: Setting up concentrator channels
user.info chirpstack-concentratord-sx1302[1644]: Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 868100000, rf_chain: 1, if_freq: -400000
user.info chirpstack-concentratord-sx1302[1644]: Configuring multi-SF LoRa channel, channel: 1, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
user.info chirpstack-concentratord-sx1302[1644]: Configuring multi-SF LoRa channel, channel: 2, enabled: true, freq: 868500000, rf_chain: 1, if_freq: 0
user.info chirpstack-concentratord-sx1302[1644]: Configuring multi-SF LoRa channel, channel: 3, enabled: true, freq: 867100000, rf_chain: 0, if_freq: -400000
user.info chirpstack-concentratord-sx1302[1644]: Configuring multi-SF LoRa channel, channel: 4, enabled: true, freq: 867300000, rf_chain: 0, if_freq: -200000
user.info chirpstack-concentratord-sx1302[1644]: Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 867500000, rf_chain: 0, if_freq: 0
user.info chirpstack-concentratord-sx1302[1644]: Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 867700000, rf_chain: 0, if_freq: 200000
user.info chirpstack-concentratord-sx1302[1644]: Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 867900000, rf_chain: 0, if_freq: 400000
user.info chirpstack-concentratord-sx1302[1644]: Configuring Std LoRa channel, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
user.info chirpstack-concentratord-sx1302[1644]: Configuring FSK channel, enabled: true, freq: 868800000, rf_chain: 1, if_freq: 300000
user.info chirpstack-concentratord-sx1302[1644]: Starting the concentrator

Second time

daemon.info procd: - init complete -
user.info chirpstack-concentratord-sx1302[1649]: Configuring reset pin, dev: /dev/gpiochip0, pin: 17
user.info chirpstack-concentratord-sx1302[1649]: Starting Concentratord SX1302 (version: 4.3.0, docs: https://www.chirpstack.io/docs/chirpstack-concentratord/)
user.info chirpstack-concentratord-sx1302[1649]: Triggering sx1302 reset
user.info chirpstack-mqtt-forwarder[1702]: Starting ChirpStack MQTT Forwarder (version: 4.1.1, docs: https://www.chirpstack.io/)
user.info chirpstack-mqtt-forwarder[1702]: Setting up ChirpStack Concentratord backend
user.info chirpstack-mqtt-forwarder[1702]: Setting up ChirpStack Concentratord backend
user.info chirpstack-mqtt-forwarder[1702]: Connecting to Concentratord event API, event_url: ipc:///tmp/concentratord_event
user.info chirpstack-mqtt-forwarder[1702]: Connecting to Concentratord command API, command_url: ipc:///tmp/concentratord_command
user.info chirpstack-mqtt-forwarder[1702]: Reading gateway id
daemon.notice wpa_supplicant[781]: phy0-sta0: Trying to associate with 74:da:88:dd:ed:3d (SSID='SILMATES_5G' freq=5180 MHz)
daemon.warn wpa_supplicant[781]: FT: Invalid key management type (2)
user.info chirpstack-concentratord-sx1302[1649]: Setting i2c device path, path: /dev/i2c-1
user.info chirpstack-concentratord-sx1302[1649]: Setting board configuration, lorawan_public: true, clock_source: 0
user.info chirpstack-concentratord-sx1302[1649]: Setting up fine timestamp, enable: false
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 12, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 4
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 13, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 5
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 14, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 6
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 15, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 7
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 16, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 8
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 17, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 9
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 18, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 10
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 19, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 11
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 20, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 12
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 21, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 13
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 22, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 14
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 23, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 16
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 24, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 17
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 25, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 18
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 26, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 19
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 27, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 22
user.info chirpstack-concentratord-sx1302[1649]: Setting up concentrator channels
user.info chirpstack-concentratord-sx1302[1649]: Configuring radio, radio: 0, enabled: true, center_freq: 867500000, type: SX1250
user.info chirpstack-concentratord-sx1302[1649]: Configuring radio, radio: 1, enabled: true, center_freq: 868500000, type: SX1250
user.info chirpstack-concentratord-sx1302[1649]: Setting up concentrator channels
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 868100000, rf_chain: 1, if_freq: -400000
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 1, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 2, enabled: true, freq: 868500000, rf_chain: 1, if_freq: 0
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 3, enabled: true, freq: 867100000, rf_chain: 0, if_freq: -400000
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 4, enabled: true, freq: 867300000, rf_chain: 0, if_freq: -200000
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 867500000, rf_chain: 0, if_freq: 0
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 867700000, rf_chain: 0, if_freq: 200000
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 867900000, rf_chain: 0, if_freq: 400000
user.info chirpstack-concentratord-sx1302[1649]: Configuring Std LoRa channel, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
user.info chirpstack-concentratord-sx1302[1649]: Configuring FSK channel, enabled: true, freq: 868800000, rf_chain: 1, if_freq: 300000
user.info chirpstack-concentratord-sx1302[1649]: Starting the concentratordaemon.info procd: - init complete -
user.info chirpstack-concentratord-sx1302[1649]: Configuring reset pin, dev: /dev/gpiochip0, pin: 17
user.info chirpstack-concentratord-sx1302[1649]: Starting Concentratord SX1302 (version: 4.3.0, docs: https://www.chirpstack.io/docs/chirpstack-concentratord/)
user.info chirpstack-concentratord-sx1302[1649]: Triggering sx1302 reset
user.info chirpstack-mqtt-forwarder[1702]: Starting ChirpStack MQTT Forwarder (version: 4.1.1, docs: https://www.chirpstack.io/)
user.info chirpstack-mqtt-forwarder[1702]: Setting up ChirpStack Concentratord backend
user.info chirpstack-mqtt-forwarder[1702]: Setting up ChirpStack Concentratord backend
user.info chirpstack-mqtt-forwarder[1702]: Connecting to Concentratord event API, event_url: ipc:///tmp/concentratord_event
user.info chirpstack-mqtt-forwarder[1702]: Connecting to Concentratord command API, command_url: ipc:///tmp/concentratord_command
user.info chirpstack-mqtt-forwarder[1702]: Reading gateway id
daemon.notice wpa_supplicant[781]: phy0-sta0: Trying to associate with 74:da:88:dd:ed:3d (SSID='SILMATES_5G' freq=5180 MHz)
daemon.warn wpa_supplicant[781]: FT: Invalid key management type (2)
user.info chirpstack-concentratord-sx1302[1649]: Setting i2c device path, path: /dev/i2c-1
user.info chirpstack-concentratord-sx1302[1649]: Setting board configuration, lorawan_public: true, clock_source: 0
user.info chirpstack-concentratord-sx1302[1649]: Setting up fine timestamp, enable: false
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 12, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 4
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 13, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 5
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 14, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 6
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 15, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 7
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 16, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 8
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 17, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 9
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 18, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 10
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 19, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 11
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 20, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 12
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 21, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 13
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 22, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 14
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 23, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 16
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 24, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 17
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 25, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 18
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 26, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 19
user.debug chirpstack-concentratord-sx1302[1649]: Configuration TX gain for radio, radio: 0, rf_power: 27, dig_gain: 0, pa_gain: 1, dac_gain: 0, mix_gain: 5, offset_i: 0, offset_q: 0, pwr_idx: 22
user.info chirpstack-concentratord-sx1302[1649]: Setting up concentrator channels
user.info chirpstack-concentratord-sx1302[1649]: Configuring radio, radio: 0, enabled: true, center_freq: 867500000, type: SX1250
user.info chirpstack-concentratord-sx1302[1649]: Configuring radio, radio: 1, enabled: true, center_freq: 868500000, type: SX1250
user.info chirpstack-concentratord-sx1302[1649]: Setting up concentrator channels
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 868100000, rf_chain: 1, if_freq: -400000
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 1, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 2, enabled: true, freq: 868500000, rf_chain: 1, if_freq: 0
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 3, enabled: true, freq: 867100000, rf_chain: 0, if_freq: -400000
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 4, enabled: true, freq: 867300000, rf_chain: 0, if_freq: -200000
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 867500000, rf_chain: 0, if_freq: 0
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 867700000, rf_chain: 0, if_freq: 200000
user.info chirpstack-concentratord-sx1302[1649]: Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 867900000, rf_chain: 0, if_freq: 400000
user.info chirpstack-concentratord-sx1302[1649]: Configuring Std LoRa channel, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
user.info chirpstack-concentratord-sx1302[1649]: Configuring FSK channel, enabled: true, freq: 868800000, rf_chain: 1, if_freq: 300000
user.info chirpstack-concentratord-sx1302[1649]: Starting the concentrator

Both of the time chirpstack-concentrator keeps restarting.

While trying to run it using terminal i’m getting below response.

chirpstack-concentratord-sx1302 -c /var/etc/chirpstack-concentratord/concentratord.toml -c /var/etc/chirpstack-concentratord/region.tom
l -c /var/etc/chirpstack-concentratord/channels.toml 
Opening SPI communication interface
Note: chip version is 0x05 (v0.5)
ERROR: Failed to set SX1250_0 in STANDBY_RC mode
ERROR: failed to setup radio 0
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: lgw_start failed', chirpstack-concentratord-sx1302/src/main.rs:114:80
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Can anybody suggest some steps for troubleshooting?

Have you checked that the path to the device for interfacing with the SX1302 is correct? It appears that concentratord is attempting to communicate with your device through I2C, but is that expected?

If you are using a RAK2287, I thought it would be a USB tty device. When I used the RAK5146, I used /dev/ttyACM0.

I’m using SPI variant of RAK2287

After enabling TRACE for concentrator as well as mqtt forwarder i’m getting below response.

user.debug chirpstack-mqtt-forwarder[2432]: Got response: ServerResponse { rsp: None, props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, reason_code: Success }
user.info chirpstack-concentratord-sx1302[1675]: Publishing stats event, rx_received: 3, rx_received_ok: 2, tx_received: 0, tx_emitted: 0
user.info chirpstack-mqtt-forwarder[2432]: Received gateway stats
user.info chirpstack-mqtt-forwarder[2432]: Sending gateway stats event, topic: in865/gateway/0016c001f1075349/event/stats
user.debug chirpstack-mqtt-forwarder[2432]: Publish: Message { cmsg: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 402, payload: 0xb5fa9d80, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, data: MessageData { topic: "in865/gateway/0016c001f1075349/event/stats", payload: [123, 34, 103, 97, 116, 101, 119, 97, 121, 73, 100, 34, 58, 34, 48, 48, 49, 54, 99, 48, 48, 49, 102, 49, 48, 55, 53, 51, 52, 57, 34, 44, 34, 116, 105, 109, 101, 34, 58, 34, 50, 48, 50, 51, 45, 49, 48, 45, 48, 53, 84, 49, 55, 58, 53, 55, 58, 52, 50, 46, 51, 50, 53, 50, 49, 53, 52, 56, 51, 43, 48, 48, 58, 48, 48, 34, 44, 34, 114, 120, 80, 97, 99, 107, 101, 116, 115, 82, 101, 99, 101, 105, 118, 101, 100, 34, 58, 51, 44, 34, 114, 120, 80, 97, 99, 107, 101, 116, 115, 82, 101, 99, 101, 105, 118, 101, 100, 79, 107, 34, 58, 50, 44, 34, 109, 101, 116, 97, 100, 97, 116, 97, 34, 58, 123, 34, 109, 111, 100, 101, 108, 34, 58, 34, 114, 97, 107,
user.debug chirpstack-mqtt-forwarder[2432]: Token success! Token: 0xb5fa50a8, Response: 0xb5f98b9c
user.debug chirpstack-mqtt-forwarder[2432]: Completing Token w ID 0 and code: 0
user.debug chirpstack-mqtt-forwarder[2432]: Expecting server response for: None
user.debug chirpstack-mqtt-forwarder[2432]: Got response: ServerResponse { rsp: None, props: Properties { cprops: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }, reason_code: Success }
user.debug chirpstack-mqtt-forwarder[2432]: Message arrived. Client: 0xb61d02f8, topic: 0xb61ee700 len 45 cmsg: 0xb61ee740: MQTTAsync_message { struct_id: [77, 81, 84, 77], struct_version: 1, payloadlen: 474, payload: 0xb5fa0760, qos: 0, retained: 0, dup: 0, msgid: 0, properties: MQTTProperties { count: 0, max_count: 0, length: 0, array: 0x0 } }
user.info chirpstack-mqtt-forwarder[2432]: Received message, topic: in865/gateway/0016c001f1075349/command/config, qos: 0
user.info chirpstack-mqtt-forwarder[2432]: Received configuration command, version: ee849882147b318f, topic: in865/gateway/0016c001f1075349/command/config
user.info chirpstack-mqtt-forwarder[2432]: Sending configuration command, version: ee849882147b318f
user.debug chirpstack-concentratord-sx1302[1675]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1675]: JIT loop ended
user.debug chirpstack-concentratord-sx1302[1675]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1675]: Stats loop ended
user.debug chirpstack-concentratord-sx1302[1675]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1675]: Uplink loop ended
user.debug chirpstack-concentratord-sx1302[1675]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1675]: Command loop ended
user.info chirpstack-concentratord-sx1302[1675]: Stopping the concentrator
user.info chirpstack-concentratord-sx1302[1675]: Updating concentrator configuration
user.info chirpstack-concentratord-sx1302[1675]: Starting Concentratord SX1302 (version: 4.3.1, docs: https://www.chirpstack.io/docs/chirpstack-concentratord/)
user.info chirpstack-concentratord-sx1302[1675]: Triggering sx1302 reset
user.info chirpstack-concentratord-sx1302[1675]: Setting i2c device path, path: /dev/i2c-1
user.info chirpstack-concentratord-sx1302[1675]: Setting board configuration, lorawan_public: true, clock_source: 0, com_type: Spi, com_path: /dev/spidev0.0
user.info chirpstack-concentratord-sx1302[1675]: Setting up fine timestamp, enable: false

And then concentratord keeps restarting
Upgraded gateway os to newer version.

This indicates that ChirpStack has sent a configuration update (channels) to the Concentratord. Because of this, the Concentratord has to restart with the new configuration.

You are correct the concentrated needs to restart.
But here you can see that it receives stop signal.

user.debug chirpstack-concentratord-sx1302[1675]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1675]: JIT loop ended
user.debug chirpstack-concentratord-sx1302[1675]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1675]: Stats loop ended
user.debug chirpstack-concentratord-sx1302[1675]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1675]: Uplink loop ended
user.debug chirpstack-concentratord-sx1302[1675]: Received stop signal, signal: Configuration
user.debug chirpstack-concentratord-sx1302[1675]: Command loop ended

After this restart it continuously repeats starting from

user.info chirpstack-concentratord-sx1302[1675]: Starting Concentratord SX1302 (version: 4.3.1, docs: https://www.chirpstack.io/docs/chirpstack-concentratord/)

This is normal log output… These are the individual handler loops that are being stopped because of the Configuration signal.

If you think that the Concentratord is constantly restarting, then please share a single log output which shows that it is constantly restarting, because I can not see this behavior in the log snippets that you have been sharing.

This topic was automatically closed after 69 days. New replies are no longer allowed.