rabbitmq - Socket closed abruptly during opening handshake (from n8n - railway) #13839
-
Community Support Policy
RabbitMQ version used4.1.0 Erlang version used27.3.x Operating system (distribution) usedrailway How is RabbitMQ deployed?Community Docker image rabbitmq-diagnostics status output2025-05-02 06:20:58.966899+00:00 [info] <0.1134.0> accepting AMQP connection 100.64.0.6:54246 -> 10.250.11.136:5672 2025-05-02T06:21:02.232252+00:00 error: FORMATTER CRASH: {"closing AMQP connection ~tp (~ts):~nfailed to negotiate connection parameters: ~ts",[<0.1134.0>,<<"100.64.0.6:54246 -> 10.250.11.136:5672">>,"3s","negotiated frame_max = 4096 is lower than the minimum allowed value (8192)"]} Logs from node 1 (with sensitive values edited out)dial tcp [fd12:ca43:429:0:a000:15:de77:f0d1]:15672: connect: connection refused handled request Logs from node 2 (if applicable, with sensitive values edited out)See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 3 (if applicable, with sensitive values edited out)See https://www.rabbitmq.com/docs/logging to learn how to collect logs
rabbitmq.confSee https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
Steps to deploy RabbitMQ cluster1 click install - railway template Steps to reproduce the behavior in questionI just installed installed RabbitMQ using a template. I can access the web UI but I can't seem to connect using my credentials (I created a new user and added access to \ ). When connecting to it from n8n i get the following error: 2025-05-02 06:20:58.966899+00:00 [info] <0.1134.0> accepting AMQP connection 100.64.0.6:54246 -> 10.250.11.136:5672 2025-05-02T06:21:02.232252+00:00 error: FORMATTER CRASH: {"closing AMQP connection ~tp (~ts):~nfailed to negotiate connection parameters: ~ts",[<0.1134.0>,<<"100.64.0.6:54246 -> 10.250.11.136:5672">>,"3s","negotiated frame_max = 4096 is lower than the minimum allowed value (8192)"]} dial tcp [fd12:ca43:429:0:a000:15:de77:f0d1]:15672: connect: connection refused handled request advanced.configSee https://www.rabbitmq.com/docs/configure#config-location to learn how to find advanced.config file location
Application code# PASTE CODE HERE, BETWEEN BACKTICKS Kubernetes deployment file# Relevant parts of K8S deployment that demonstrate how RabbitMQ is deployed
# PASTE YAML HERE, BETWEEN BACKTICKS What problem are you trying to solve?I'd like to connect my n8n to rabbitmq |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 7 replies
-
You are probably using amqp-node. You should upgrade it (it's mentioned in RabbitMQ 4.1.0 release notes): The formatter crash error is a minor bug. We'll fix it but you can ignore it |
Beta Was this translation helpful? Give feedback.
-
It is possible to upgrade it even tho it's hosted on railway? I was told by them they have a proxy and it seems to be the issue. |
Beta Was this translation helpful? Give feedback.
-
I'm on RabbitMQ 4.1.0 Erlang 27.3.3 |
Beta Was this translation helpful? Give feedback.
-
How can i fix this :) |
Beta Was this translation helpful? Give feedback.
-
I'm a n00b, i don't know how to fix this. It's hosted on railway, i feel like i can only change variables... not sure what to do. |
Beta Was this translation helpful? Give feedback.
-
Thank you heaps!! |
Beta Was this translation helpful? Give feedback.
-
Im using https://customer.cloudamqp.com/ with my n8n and it's working fine. |
Beta Was this translation helpful? Give feedback.
You are probably using amqp-node. You should upgrade it (it's mentioned in RabbitMQ 4.1.0 release notes):
https://github.com/amqp-node/amqplib/blob/main/CHANGELOG.md#v0106
The formatter crash error is a minor bug. We'll fix it but you can ignore it