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
RabbitMQ trigger doesn't reconnect #1988
Comments
Posted about this here: https://community.n8n.io/t/no-reconnect-if-rabbitmq-server-restarts/5572 |
Got fixed and will be released with the next version. |
@Ken-Michalak please review the referenced PR to verify it was properly fixed. |
@jspizziri From the pr, it looks like it might, but I haven't had a chance to verify it yet. It wouldn't fix the issue that @lcx mentioned though. There needs to be a prefetch or at least a way to configure one to prevent that. Without it, the consumers try to get all of the messages in the queues at once when it reconnects. If the disconnect is on the n8n side, while rabbitmq is still getting messages from elsewhere, then it could still get overloaded. I'm not sure if there should be a separate issue for that, but it would get fixed with #3244 |
Fix got released with |
The current node has already a setting for a while, to define how many messages should be processed at once. So also that problem got already fixed. |
Describe the bug
If a workflow with a RabbitMQ trigger is active and the connection to it is interrupted, the workflow will stop receiving messages until it is turned off and back on.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the workflow to attempt to reconnect on some interval, and possibly display an error in the UX when the workflow is not running. Once the server or network issues are resolved, n8n should reconnect, RabbitMQ should show 1 or more consumers, and the workflow should begin consuming messages again.
Environment (please complete the following information):
Additional context
I also attempted to use the AMQP 1.0 trigger, since we have that plugin enabled in RabbitMQ, but a disconnect or misconfigured trigger on there causes the main process to crash.
The text was updated successfully, but these errors were encountered: