poe-component-client-amqp icon indicating copy to clipboard operation
poe-component-client-amqp copied to clipboard

failed to negotiate connection parameters

Open AnthonyMastrean opened this issue 4 years ago • 1 comments

This library does not negotiate channel_max correctly. I'm using a simple create statement (you do not seem to expose channel_max, although you use it here):

my $amq = POE::Component::Client::AMQP->create(
  RemoteAddress => 'example',
);

The error looks like this:

failed to negotiate connection parameters: negotiated channel_max = 0 (no limit) is higher than the maximum allowed value (2047)

I guess the server-side enforcement code has changed recently?

AnthonyMastrean avatar Dec 05 '19 18:12 AnthonyMastrean

I get that this lib hasn't been updated in quite some time, but I'm stuck with it (legacy app) and can't easily swap it out. I'm also not a Perl/CPAN whiz, so I don't know if I should or how to use my own repo as a source for this. 😬

AnthonyMastrean avatar Dec 05 '19 20:12 AnthonyMastrean