Open henkesde92 opened 10 months ago
Hey @henkesde92,
I have the same problem. Have you found any way to resolve this?
record_type_mismatch
from a TLS 1.3 module in Erlang/OTP usually suggests that the Erlang version is not compatible with the OpenSSL/LibreSSL version used.
This question completely leaves out all version information, so the only thing that can be added is that there is a dedicated doc guide on troubleshooting TLS, which has been around for a few years.
For example, if openssl s_client
triggers the same exception in node logs, then something is clearly off with the TLS implementation in your Erlang/OTP installation. RabbitMQ does not implement TLS.
OpenSSL 3.x is compatible with Erlang 26+, which is the only series modern RabbitMQ release series support.
Describe the bug I'm unable to run flower when rabbitmq is running with TLS with self-signed certificates. However, when I disable TLS on both components, everything is running correctly.
When using rabbitmq with TLS, I run it on port 5671/15671, without it's running on 15672/5672.
Here are both commands how I want to run flower respectively:
TLS:
/usr/local/bin/celery --app celery_flower --broker=amqp://<username>:<password>@<servername>:5671//?ssl=1 flower --broker_api=https://<username>:<password>@<servername>:15671/api/ --persistent --db="/root/flower/data/flower.db"
non-TLS:
/usr/local/bin/celery --app celery_flower --broker="pyamqp://<username>:<password>@<servername>:5672//" flower --broker_api="http://<username>:<password>@<servername>:15672/api/" --persistent --db="/root/flower/data/flower.db"
The "non-TLS" example also works when I use "amqp" instead of "pyamqp". I already tried a lot of different approaches to get it working, but somehow I think that the issue is correlated to the self-signed certificates on the rabbitmq side.
I can also find the following logs on the rabbitmq-server:
These logs don't show up anymore as soon as I stop the flower server. Consumer and producers are working as expected with rabbitmq running with TLS.
Can somebody help me to figure out my issue?