Skip to content

RabbitMQ 4.1.0 can't connect (frame_max bumped) #1002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
slyk opened this issue Apr 16, 2025 · 4 comments
Open

RabbitMQ 4.1.0 can't connect (frame_max bumped) #1002

slyk opened this issue Apr 16, 2025 · 4 comments
Labels

Comments

@slyk
Copy link

slyk commented Apr 16, 2025

The RabbitMQ 4.1.0 is out and updates on ubuntu servers automatically.
Then all our services using @golevelup/nestjs-rabbitmq/AmqpConnection can't connect and I can't find any config for frameMax.

>,<<"46.202.143.29:39450 -> 16.22.15.6:5672">>,"3s","negotiated frame_max = 4096 is lower than the minimum allowed value (8192)"]}
2025-04-16T14:15:06.519010+03:00 error: FORMATTER CRASH: {"closing AMQP connection ~tp (~ts):~nfailed to negotiate connection parameters: ~ts",[<0.2540.0>,<<"4.20.14.2:39458 -> 16.22.15.6:5672">>,"3s","negotiated frame_max = 4096 is lower than the minimum allowed value (8192)"]}
2025-04-16T14:15:06.698826+03:00 error: FORMATTER CRASH: {"closing AMQP connection ~tp (~ts):~nfailed to negotiate connection parameters: ~ts",[<0.2585.0>,<<"4.20.14.2:39464 -> 16.22.15.6:5672">>,"3s","negotiated frame_max = 4096 is lower than the minimum allowed value (8192)"]}

On the release notes of the rabbitMQ told that we should upgrade to amqlib v0.10.7 to still make connections.

Can we bump the version in golevelup?
Or maybe someone give advice, if I set dependency of amqlib in own project will it be used?

@underfisk
Copy link
Contributor

@slyk It seems to be an issue with the underlying driver, the amqlib upgrade to v0.10.7 was performed in #1003 therefore I'm hoping that once we release you're able to test with the most updated version

@noghartt
Copy link

noghartt commented Apr 21, 2025

I saw that we're able to customize the frameMax parameter on the amqplib, maybe a good idea would be allowing to pass it inside the connectionOptions object too.

Also, opened a PR to a fix on URI validation to allow pass the frameMax, I can take a look on the fix for that, by the way.

#1009

@underfisk
Copy link
Contributor

@noghartt I appreciate if you could help us out with that change. I'm down to allow the customization of frameMax

@underfisk
Copy link
Contributor

#1020 should bring the support for query param such as frameMax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants