-
Notifications
You must be signed in to change notification settings - Fork 889
Description
Using Yarp.ReverseProxy
version 2.3.0
We are having the issue on a specific request, that when we ask for a longer chunk of data, we get
Copying the response body was canceled
after almost a minute of the response already being delivered.
We are only seeing this on this specific request.

The api response is fairly small 1.6MB nothing major, I managed to test locally much more, so I kinda want to disregard the response size in this equation, but its the only variable that changes..
The api responds in ~5 seconds
My proxy response times out after ~60 seconds always
You can see that we get Received HTTP/"2.0" response 200. inside the Yarp.ReverseProxy.Forwarder.HttpForwarder
After this 60 seconds hang up I can see that the HttpContext.RequestAborted.IsCancellationRequested
is true, but that must be just a symptom and not the cause right ?
Can you help me debug this issue ?