Hello everyone,
I’m facing an issue where my RabbitMQ instance is not receiving event messages from my ChirpStack Network Server. I’ve configured the ChirpStack integration to use AMQP with RabbitMQ, but no messages are appearing in the queues. Below are the details of my setup:
My Setup:
- ChirpStack version: 4
- Integration method: AMQP
- Queue name:
test_queue
ChirpStack Configuration:
In my chirpstack-network-server.toml
configuration file, I’ve enabled AMQP as follows:
toml
Copy code
[integration]
enabled = ["amqp"]
[integration.amqp]
url = "amqp://guest:guest@localhost:5672"
event_routing_key = "application.{{application_id}}.device.{{dev_eui}}.event.{{event}}"
json = true
What I’ve Tried:
- RabbitMQ Management Interface: I can see the queue
test_queue
in the RabbitMQ management interface, but no messages are being delivered. - Queue Durability: I’ve ensured both the sender and receiver are using a durable queue configuration.
- Permissions: I’ve confirmed that the
guest
user has full permissions to create and consume messages in RabbitMQ. - Logs:
- ChirpStack Logs: No significant errors, but no indication that messages are being sent to RabbitMQ.
- RabbitMQ Logs: No errors or warnings related to message routing.
- Manual Message Test: I’ve manually published a test message via RabbitMQ’s management interface, and my consumer is able to receive that message, which leads me to believe the issue is with ChirpStack not sending the messages to RabbitMQ.
What I Need Help With:
- Why isn’t ChirpStack sending event messages to RabbitMQ?
- Is there a way to debug or log the messages that are supposed to be sent from ChirpStack to RabbitMQ?
- Has anyone experienced a similar issue, and how did you resolve it?
Any guidance or troubleshooting steps would be greatly appreciated.
Thanks in advance!