Repository navigation
Intermittent Connection Timeout When Connecting to Server (Introduced in v2.2.x, Still Present in v2.5.6) #5893
Replies: 4 comments
|
Hi, There are many factors that could come into play and v2.1 is far away, I won't be able to point you to a specific area. https://github.com/microsoft/msquic/blob/main/docs/Diagnostics.md |
Thank you for your reply. Below are the logs I collected during the msquic runtime connection timeout. |
|
We don't have the resources to investigate logs for you. Please use the logs and/or WPA to identify what is causing the delay in your connection. If you identify a specific MsQuic issue, we can work on a fix. |
|
Converting to discussion, we can open a bug when we have a concrete issue to solve. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
We are encountering an intermittent connection timeout issue when a client attempts to connect to the server. The tests are conducted in a Local Area Network (LAN) environment, so the problem is not related to WAN latency or internet fluctuations.
Symptoms:
The connection request occasionally fails to establish within 250ms.
The issue is intermittent—it does not occur every time, but happens frequently enough to impact reliability.
Affected OS
Additional OS information
No response
MsQuic version
v2.5
Steps taken to reproduce bug
Affected Versions: 2.2.x, 2.3.x, 2.4.x, 2.5.6
Last Known Good Version: 2.1.x
Timeout Threshold: 250ms
Expected behavior
Set up a server using the affected version (e.g., v2.5.6).
Have a client repeatedly attempt to connect to the server.
Connections should be reliably established within 250ms, as was the case in v2.1.x.
Actual outcome
Set up a server using the affected version (e.g., v2.5.6).
Have a client repeatedly attempt to connect to the server.
Observe that occasionally, the connection exceeds 250ms or fails to connect altogether.
Intermittent connection timeouts or slow connection establishment (>250ms) occur starting from v2.2.x.
Additional details
The issue has been confirmed through testing across multiple versions.
We suspect it might be related to changes introduced in or after v2.2.x (e.g., threading model, timeout handling, or network layer changes).
Any guidance on specific commits or configuration changes that might help mitigate this would be appreciated.
All reactions