Crash after parsing ca_cert

The Chirpstack MQTT Forwarder seems to crash after parsing a provided CA cert.
Running on Kerlink KerOS
Version 4.3.0

Configration:

[mqtt]
  #topic_prefix="eu868"
  server="ssl://redacted.com"
  username="redacted"
  password="redacted"
  ca_cert="/etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder/USERTrustRSACertificationAuthority.crt"
  #tls_cert=""
  #tls_key=""
2024-09-02T11:03:51.666117+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1428]: Could not get Gateway ID from backend, error: Gateway ID not yet set
2024-09-02T11:03:51.666198+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1428]: Waiting for backend to report Gateway ID
2024-09-02T11:03:51.815276+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1428]: PULL_DATA received, random_token: 49284, remote: 127.0.0.1:45446
2024-09-02T11:03:51.815358+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1428]: Sending PULL_ACK, random_token: 49284, remote: 127.0.0.1:45446
2024-09-02T11:03:52.666404+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1428]: Received Gateway ID from backend, gateway_id: <redacted>
2024-09-02T11:03:52.666480+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1428]: Setting up MQTT client
2024-09-02T11:03:52.685907+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1428]: Configuring client with TLS certificate, ca_cert: /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder/USERTrustRSACertificationAuthority.crt, tls_cert: , tls_key:
2024-09-02T11:03:52.701213+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1428]: add_parsable_certificates processed 129 valid and 0 invalid certs
2024-09-02T11:03:52.875661+00:00 klk-wiis-082F2E monit[997]: 'chirpstack-mqtt-forwarder' process is not running
2024-09-02T11:03:52.876162+00:00 klk-wiis-082F2E monit[997]: 'chirpstack-mqtt-forwarder' trying to restart
2024-09-02T11:03:52.876732+00:00 klk-wiis-082F2E monit[997]: 'chirpstack-mqtt-forwarder' start: '/bin/bash -c /etc/init.d/chirpstack-mqtt-forwarder start'
2024-09-02T11:03:52.941302+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1439]: Starting ChirpStack MQTT Forwarder (version: 4.3.0, docs: https://www.chirpstack.io/)
2024-09-02T11:03:52.941946+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1439]: Setting up Semtech UDP Packet Forwarder backend
2024-09-02T11:03:52.942344+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1439]: Setting up Semtech UDP packet-forwarder backend
2024-09-02T11:03:52.942698+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1439]: Binding UDP socket, bind: 0.0.0.0:1700
2024-09-02T11:03:52.943218+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1439]: Retrieving Gateway ID from backend
2024-09-02T11:03:52.943637+00:00 klk-wiis-082F2E chirpstack-mqtt-forwarder[1439]: Could not get Gateway ID from backend, error: Gateway ID not yet set

Could you try running the MQTT Forwarder from the CLI. In case of crashes, sometimes the last message is not logged to syslog but will be visible in the terminal when executed manually.

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