-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Expected Behavior
The response from the downstream service should be forwarded for the incoming request, and the gateway should not return a 499 status code.
Actual Behavior
Random requests to the downstream service are being canceled, resulting in the gateway returning a 499 status code.
Steps to Reproduce the Problem
I don't have the exact steps to reproduce this issue, but it seems to occur more frequently for routes with high incoming request rates, such as webhooks. These requests are primarily automated, reducing the likelihood of manual cancellation of the CancellationToken.
Upon reviewing the change log for the major release of version 23.0.0, I noticed updates to the downstream implementation for performance enhancement. This includes the introduction of HttpMessageInvoker and the addition of PooledConnectionIdleTimeout. Could these changes be contributing to the issue?
I will continue investigating and update this issue with any additional findings or if I can identify the exact steps to reproduce the problem. Any assistance in identifying the cause would be appreciated.
Specifications
- Version: 23.0.0+
If anyone are facing this the same issue are welcome to add more details or finding about this.