AuthenticationException: Cannot determine the frame size or a corrupted frame was received #1401
-
Hi, For testing purposes i have spinned up a docker RabbitMQ server with default settings. Then i have created a console test project with .NET 7
However the .createConnection call fails with an exception: "None of the specified endpoints were reachable" and an inner exception: "Cannot determine the frame size or a corrupted frame was received." If i look in RabbitMQ i get the following error:
Sorry for the lack of code formatting for the example project but i simply can't get the code block to work with the example! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello, please let us know exactly how you started your Docker container and created your test user. Also, your program will exit right after the call to |
Beta Was this translation helpful? Give feedback.
-
I see the issue, you are using
Replace |
Beta Was this translation helpful? Give feedback.
I see the issue, you are using
amqps
(i.e. TLS-encrypted AMQP) in your original Uri:Replace
amqps
withamqp
and re-try.