-
Notifications
You must be signed in to change notification settings - Fork 442
AMQPException Library error: a SSL error occurred #1162
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
Comments
I've no idea. Let's keep open. Maybe someone else could help. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Given this is the only hit when searching for this error message, I wanted to add my findings, although I encountered this with Symfony Messenger rather than Enqueue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have similar problem. One of my workers kept dying from time to time on a non-ssl connection with message: "Library error: connection closed unexpectedly". After migrating to AWS RabbitMQ (which uses SSL) this keeps happening and I get instead "Library error: a SSL error occurred". That would've meant that the old error message is now obscured by the new one. Did you managed to solve your issue @TamasSzigeti ? |
@jkobus try cloudamqp instead. they disable heartbeat and use tcp timeout instead and we dont have this issue. something you can't do in aws rabbitmq. we still trying to find a solution for AWS since its cheaper to maintain. |
Same here, no solution with AWS, we have literally just migrated to CloudAMQP a couple days ago. |
Guys, I assume you were using AWS MessageMQ (RabbitMQ) in a cluster deployment setup.
The So, the solution would be to: don't stay idle for longer than 350 seconds after opening a connection to a cluster. Fun-fact: the connection on the RabbitMQ by default stays open for about an hour. As for heartbeat - if you were using non blocking calls, heartbeat is not working. At least not in php-amqp.:
It seems like a solution for now would be to automatically recover from network failures, but that option is not available in Symfony Messenger (yet) which I'm using. Hope that helps! |
I have issue with SSL connection.
We are using AWS RabbitMQ service.
Broker engine version : 3.8.6
Its happen from time to time, and only when it come to acknowledge a message.
Symfony configuration:
It also happen only on our worker servers who consume the message. No issue with producer.
any idea how to resolve this?
The text was updated successfully, but these errors were encountered: