-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request timed out #100062
Comments
Tagging subscribers to this area: @dotnet/ncl |
@dongzhaosheng73 this is not actionable for us with the information provided. Given the issue is RestSharp-specific and you also opened restsharp/RestSharp#2176, I think you will have better chances getting help there, but they would also need more information. The best would be if you could provide a a repro. If it's not possible, detailed description of the client & server scenario with at least some code is still desired. There is some chance that this might be related to .NET 6 connection pooling issues. Can you try if upgrading to .NET 8 solves the problem? |
Triage: moving to Future for now, in the unlikely case it turns out to be an unknown problem with HttpClient, we can bump the priority. Otherwise we should close. |
This issue has been marked |
I am not sure that the issue is related to RestSharp as RestSharp just forms a request message and sends it over via |
Whether this is related to RestSharp or not doesn't change that fact that the issue as-is now is not actionable. We need a repro case, preferably just with |
What I meant is that the issue opened in RestSharp repository is not actionable as well as RestSharp's role is to create a request message and pass it over to |
This issue has been automatically marked |
Description
The client occasionally sends System.TimeoutException: Request timed out
---> System.Threading.Tasks.TaskCanceledException: A task was canceled. The error client occasionally sends System.TimeoutException: Request timed out
---> System.Threading.Tasks.TaskCanceledException: A task was canceled. mistake.
Reproduction Steps
In random recurrence, either the client must be restarted or HttpClient must use a new socket.
I found that there were already similar problems but there was no practical solution.
restsharp/RestSharp#1092
Expected behavior
Request timed out should not affect subsequent request behavior
Actual behavior
Request timed out Subsequent requests will cause the Request timed out until the client restarts
Regression?
No response
Known Workarounds
No response
Configuration
.net 6
windows11
x86
RestSharp 108.0.2
Other information
No response
The text was updated successfully, but these errors were encountered: