RabbitMQ / amqplib -- Error: Frame size exceeds frame max

2.4k views Asked by At

Connection to RabbitMQ fails with Error: Frame size exceeds frame max.

Although there are a few similar issues raised on StackOverflow and Github, but it is still very vague.

One assumes that the version of AMQP used by RabbitMQ and amqplib differs, but how to check that? If talking about major differences of amqp 1.0 and amqp 0-9-1, then theoretically amqplib only supports 0-9-1 and RabbitMQ supports it by default.

Any other ideas?

Versions:

  • RabbitMQ: 3.10.5
  • amqplib: 0.10.0
2

There are 2 answers

1
Dev. Habeeb On

Try creating an instance on the amqps dashboard, a URL owuld be generated after a successful instance creation. Use the URL. This worked for me.

https://api.cloudamqp.com/

0
Eli Zatlawy On

In my case, the problem of "Frame size exceeds frame max" error on connecting to RabbitMQ was due to missing "s" in the protocol part of the URL (so instead of amqp:// it was supposed to be amqps://)