Skip to content

AMQP: 0-9-1: OAuth2 Token Size Limitation Causes Connection Failure (frame_too_large) #13537

Closed Answered by michaelklishin
psavva asked this question in Other
Discussion options

You must be logged in to vote

A higher pre-authentication frame max default will ship in 4.1.0: #13542, #13549, 18533d4.

It can in theory affect some clients with exotic configurations, so it won't be backported to 4.0.x, at least that's the decision for now.

Starting with 4.0.0, the initial frame size limit can be configured, including via rabbitmq.conf (even though the setting is fairly advanced).

This is now documented in the Troubleshooting OAuth 2 guide.

amqplib Users Will Have to Upgrade Their Client Library

JavaScript's amqplib users would have to upgrade to a new release when it comes out or that client won't be able to connect to a RabbitMQ 4.1.0 node due to a very low initial frame_max (set at least 10 years…

Replies: 4 comments 18 replies

Comment options

You must be logged in to vote
6 replies
@michaelklishin
Comment options

@psavva
Comment options

@michaelklishin
Comment options

@psavva
Comment options

@michaelklishin
Comment options

Comment options

You must be logged in to vote
6 replies
@chriscosta
Comment options

@michaelklishin
Comment options

@chriscosta
Comment options

@chriscosta
Comment options

@michaelklishin
Comment options

Comment options

You must be logged in to vote
6 replies
@michaelklishin
Comment options

@chriscosta
Comment options

@michaelklishin
Comment options

@michaelklishin
Comment options

@michaelklishin
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
Converted from issue

This discussion was converted from issue #13537 on March 15, 2025 18:30.