Why does "The request was canceled before receiving a response" happen? #1944
-
I found a similiar case #710. We are using reverse proxy (HttpForwarder) in our projects.
By the way, I also find that sometime (not very often), the target app is invoked more than once, although the reverse proxy proxies the request to the target app only once. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The client disconnecting is the only condition where you'll see
Not that I'm aware of. The proxy doesn't do any retries on its own. Did you see the app receive multiple requests from the proxy? |
Beta Was this translation helpful? Give feedback.
The client disconnecting is the only condition where you'll see
RequestCanceled
.It doesn't really matter how long the destination takes to reply, 1 second is a long window. You should be able to reproduce that by just hitting F5 in the browser quickly a few times.