Dear Community,
I’m running into an issue with ChirpStack and Mosquitto Dynamic Security.
I’ve set up a gateway and configured Dynamic Security on the MQTT broker. I have:
- An admin account set up
- A gateway added in the ChirpStack web interface
- The gateway also added as a client in Dynamic Security (with username = Gateway’s DevEUI)
When I set allow_anonymous to true, the gateway appears online in the ChirpStack dashboard and is sending events.
But when I set allow_anonymous to false, the gateway goes offline in the dashboard.
To troubleshoot, I tried:
mosquitto_sub -h -p -u -P -t “#” -v
This works — I can see gateway events flowing through, both when connecting directly to the gateway and the MQTT server.
So it looks like the gateway is connecting and publishing events successfully, but ChirpStack doesn’t show it as online when allow_anonymous is disabled.
Any ideas on what might be misconfigured?