You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before a client connection can negotiate a maximum frame size (frame_max), it must authenticate
successfully. Before the authenticated phase, a special lower frame_max value is used.
With this release, the value was increased from the original 4096 bytes to 8192
to accommodate larger JWT tokens.
Clients that do override frame_max now must use values of 8192 bytes or greater.
We recommend using the default server value of 131072: do not override the frame_max
key in rabbitmq.conf and do not set it in the application code.
Node.js amqplib Must Be Upgraded
amqplib is a popular client library that has been using
a low frame_max default of 4096. Its users must upgrade to a compatible version
(starting with 0.10.7) or explicitly use a higher frame_max.
amqplib versions older than 0.10.7 will not be able to connect to
RabbitMQ 4.1.0 and later versions due to the initial AMQP 0-9-1 maximum frame size
increase covered above.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Node.js
amqplib
uses must upgrade to version0.10.7
of the library before upgrading to RabbitMQ 4.1.0.Below is an extract from the RabbitMQ 4.1.0 release notes.
Initial AMQP 0-9-1 Maximum Frame Size
Before a client connection can negotiate a maximum frame size (
frame_max
), it must authenticatesuccessfully. Before the authenticated phase, a special lower
frame_max
value is used.With this release, the value was increased from the original 4096 bytes to 8192
to accommodate larger JWT tokens.
Clients that do override
frame_max
now must use values of 8192 bytes or greater.We recommend using the default server value of
131072
: do not override theframe_max
key in
rabbitmq.conf
and do not set it in the application code.Node.js
amqplib
Must Be Upgradedamqplib
is a popular client library that has been usinga low
frame_max
default of4096
. Its users must upgrade to a compatible version(starting with
0.10.7
) or explicitly use a higherframe_max
.amqplib
versions older than0.10.7
will not be able to connect toRabbitMQ 4.1.0 and later versions due to the initial AMQP 0-9-1 maximum frame size
increase covered above.
Beta Was this translation helpful? Give feedback.
All reactions