Not possible to connect to RabbitMQ 4.1.0

Describe the problem/error/question

I installed a RabbitMQ version 4.1.0 and was not able to establish a successful connection with n8n.

What is the error message (if any)?

When saving the connection settings and testing the connection, n8n responds with:
Couldn’t connect with these settings
read ECONNRESET

The RabbitMQ log gives more insight:
error: FORMATTER CRASH: {“closing AMQP connection ~tp (~ts):~nfailed to negotiate connection parameters: ~ts”,[<0.634.0>,<<“10.0.1.34:37498 → 10.0.1.46:5672”>>,“3s”,“negotiated frame_max = 4096 is lower than the minimum allowed value (8192)”]}

According to ChatGPT, here is the problem:
In RabbitMQ 4.1.0, the minimum acceptable frame_max value during the connection negotiation phase was increased from 4096 bytes to 8192 bytes. This change was implemented to accommodate larger JWT tokens during authentication. As a result, clients that attempt to negotiate a frame_max value lower than 8192 bytes will have their connections rejected .

So unless you have covered this problem in a newer version (which I did not find in the changelog), you need to updated the related libraries, so that n8n is able to connect to RabbitMQ version 4.1.0. Until you resolve that, I will downgrade RabbitMQ to an older version.

Information on your n8n setup

  • n8n version: 1.75.2
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): queue
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: Linux
1 Like

Hi,

I’ve created a future request for this

If somebody else shares the same need it will get bumped and implemented

reg,
J.

YES !! going through the same problem today i though i was crazy pleaseee fix ! im on mac os though…

Yes, we have the same error.

Same issue here. Hoping for a quick enhancement, please.

Everybody, please go to the feature request and submit your vote. I see lots of complaints here but only 2 votes: