CLIENT ALERT: Fatal - Protocol Version #13713
-
Installed RMQ 4.0.5 Docker image using Docker Desktop for WIndows 11 with WSL2 support. I include port mappings for MQTT over TCP and Secure Web Sockets in the I add the MQTT and MQTT Web plugins using the plugin CLI. Out of the box w/ unsecured TCP (1883) and anonymous auth I'm able to connect using the MQTTNet library. This is running in my VS Code debugger on Windows. Now I need to get it configured for WebSockets with TLS and client certificates. I go into the docker image and edit the config file to add the following based on the MQTT documentation.
Note - the default config file included in the Docker distro is pretty much empty. I do NOT have any other config items related to SSL or TLS. If this is an issue, I'm happy to update my config as needed. I now update my .NET client code to require SSL and TLS. In the Docker logs for RMQ I get the following error message In my .NET code I receive an exception with the innermost exception in the chain having the error message Questions
Reproduction steps
... Expected behaviorTLS negotiation to work... Additional contextThe certs are self-signed, and I know that can cause issues, but the error messages are not consistent with those types of errors. I even disabled sending client certs in my .NET client and it changed nothing. This seems to be happening when the client is connecting to the broker and trying to establish the initial TLS connection with the server. Guessing here... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hello, thanks for using RabbitMQ. Team RabbitMQ only uses GitHub issues for actionable work, just FYI. In general, Team RabbitMQ does not provide community support for TLS issues - https://github.com/rabbitmq/rabbitmq-server/blob/main/COMMUNITY_SUPPORT.md#exceptions-question-that-will-be-ignored Please note we have a guide to diagnosing TLS issues here - https://www.rabbitmq.com/docs/troubleshooting-ssl I would start by NOT limiting TLS versions or ciphers either your RabbitMQ config or your client config. Finally, if you take the time to create a git repository on GitHub with a complete, runnable set of code and certificates to observe your issue, I will take a look. I will most likely be able to figure this out, but I do not have time to guess or to set up an environment to try and reproduce what you report. |
Beta Was this translation helpful? Give feedback.
-
Sure, let me pull out a mind reading device and your private key! |
Beta Was this translation helpful? Give feedback.
-
The client and the server are configured to use a non-overlapping set of TLS versions. As already suggested, start without restricting the versions then introduce the restrictions or switch to TLS 1.3, and gradually introduce more restrictions if necessary, e.g. a list of cipher suites. |
Beta Was this translation helpful? Give feedback.
Hello, thanks for using RabbitMQ.
Team RabbitMQ only uses GitHub issues for actionable work, just FYI.
In general, Team RabbitMQ does not provide community support for TLS issues - https://github.com/rabbitmq/rabbitmq-server/blob/main/COMMUNITY_SUPPORT.md#exceptions-question-that-will-be-ignored
Please note we have a guide to diagnosing TLS issues here - https://www.rabbitmq.com/docs/troubleshooting-ssl
I would start by NOT limiting TLS versions or ciphers either your RabbitMQ config or your client config.
Finally, if you take the time to create a git repository on GitHub with a complete, runnable set of code and certificates to observe your issue, I will take a look. I will most likely b…