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

ssl issue #197

Open
FlaviuRadulescu opened this issue Feb 24, 2025 · 3 comments
Open

ssl issue #197

FlaviuRadulescu opened this issue Feb 24, 2025 · 3 comments

Comments

@FlaviuRadulescu
Copy link

Hi, I am getting these erreors

[2025-02-24 02:45:17.087540] rabbitmq.INFO: Making a new connection to RabbitMQ server: amqproxy [] {"process_id":13}
[2025-02-24 02:45:17.090685] rabbitmq.ERROR: Could not connect to RabbitMQ server (Retrying in 1 second): amqproxy. error: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A0000C6:SSL routines::packet length too long
error:0A000139:SSL routines::record layer failure [] {"process_id":13}

What could be the problem and how to fix it ?

@kickster97
Copy link
Member

The issu could be that you are using the wrong port, make sure you're connecting to the right port—5671 for SSL/TLS and 5672 for non-SSL.
If the port is correct, you could check that the client support the same TLS version as amqproxy, and that the correct certificates are being used.

@FlaviuRadulescu
Copy link
Author

If I connect directly to the RabbitMQ with the same settings it is working. I also tried to connect on both ports and still not working

@snichme
Copy link
Member

snichme commented Feb 24, 2025

Could you supply us with some more information about your setup? Would be helpful to know the configuration in your application and also for amqproxy.
The connection string in the app and the config file for amqproxy (without the passwords)

Also, are you running this locally or over the internet?

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

3 participants