Connection timeout when creating 100 connections #1291
-
Hi, I have an application that creates 100 connections at the same time in different threads. I have a retry for the connection opening. After 1 or 2 retries for each connection it ends up opening it. But i don't understand Why I have a connection timeout. Here is the .net error:
Log from rabbitmq for one of the connections:
my current rabbitmqconfiguration after trying to modify some settings:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
in the server logs means that the connected client did not send a protocol header appropriate for the port. Usually this is the case when a non-TLS client connects to a TLS port (or a TLS-enabled client connects to a non-TLS port but usually the error would be different). |
Beta Was this translation helpful? Give feedback.
-
In other words, the root cause is very likely on the client or any proxy/intermediary side, not on the RabbitMQ node side. |
Beta Was this translation helpful? Give feedback.
-
Version 7 of this client will not have the issue you report. At this time, if you want 100 connections, you'll have to increase the thread pool size on application start. |
Beta Was this translation helpful? Give feedback.
@pabermod -
rabbitmq-dotnet-client/projects/TestApplications/MassPublish/Program.cs
Line 21 in 99a2b69
Version 7 of this client will not have the issue you report. At this time, if you want 100 connections, you'll have to increase the thread pool size on application start.