Skip to content

Why does "The request was canceled before receiving a response" happen? #1944

Answered by MihaZupan
GingerMoon asked this question in Q&A
Discussion options

You must be logged in to vote

But I don't think our case is because of end users refreshes UI pages.
This is because the time window (from the reverse proxy proxying the request, to the target app returns the response to the reverse proxy) is only 1 second.

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.

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.
Did anyone else report suc…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@GingerMoon
Comment options

@MihaZupan
Comment options

Answer selected by karelz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants