Skip to content
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

Channel_max higher than the maximum allowed value #69

Open
bcb opened this issue Sep 1, 2020 · 2 comments
Open

Channel_max higher than the maximum allowed value #69

bcb opened this issue Sep 1, 2020 · 2 comments

Comments

@bcb
Copy link

bcb commented Sep 1, 2020

Connecting to amqp with channel_max value of 0 is no longer allowed.

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

I bypassed this by setting channel_max to 0 in rabbitmq, but this is not ideal.

The third parameter to amqp_login should be changed

amqp_login(amqpConn, "/", 0, ...
@bcb bcb changed the title Can't connect: channel_max higher than the maximum allowed value Error: channel_max higher than the maximum allowed value Sep 1, 2020
@bcb bcb changed the title Error: channel_max higher than the maximum allowed value Channel_max higher than the maximum allowed value Sep 1, 2020
@olesku
Copy link
Contributor

olesku commented Sep 9, 2020

Hi,

Thank you for reporting this. I will have a look and make a patch.

On another note you might be interested to have a look at https://github.com/olesku/eventhub which is serving the same purpose as ssehub but using websockets instead. It has a lot more functionality, is bi-directional, battle tested in production and under active development.

It also has SSE support, but not as it's main citizen and implemented more as a backwards compatible layer that is beneficial when porting applications.

@bcb
Copy link
Author

bcb commented Sep 9, 2020

Thanks Ole I’ll take a look. I prefer SSE, I have rest endpoints for the other direction, and bi directional sockets open you up to DDOS attacks.

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

No branches or pull requests

2 participants