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

Handle disconnections #159

Open
WyriHaximus opened this issue Aug 11, 2024 · 0 comments
Open

Handle disconnections #159

WyriHaximus opened this issue Aug 11, 2024 · 0 comments
Labels
Milestone

Comments

@WyriHaximus
Copy link
Collaborator

On my home cluster I use chaoskube to cause chaos on the cluster with the goal to uncover uncovered failure modes. In this case I found that chaoskube killing one of the 3 RabbitMQ pods (a node in RabbitMQ's PoV) where bunny is connected with causes this error:

Fatal error: Uncaught TypeError: Bunny\Connection::awaitConnectionCloseOk(): Return value must be of type Bunny\Protocol\MethodConnectionCloseOkFrame, null returned in /opt/app/vendor/bunny/bunny/src/Connection.php:409
Unhandled promise rejection with FiberError: Cannot switch fibers in current execution context in /opt/app/vendor/react/async/src/SimpleFiber.php:28

For future consideration: For producers we could consider automatically reconnecting.

@WyriHaximus WyriHaximus added this to the v0.6.0 milestone Aug 11, 2024
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

1 participant