Skip to content

An error occurred while sending the request. #710

Answered by Tratcher
grounzero asked this question in Q&A
Discussion options

You must be logged in to vote

Refreshing a page that's still loading results in the current requests being cancelled and possibly the connections being aborted (HTTP/1.x). We listen to these cancelation events and cancel the proxy requests as well which triggers the error handling logic and the 502s. However, you shouldn't see the 502s in that case sense the client canceled and created new requests. Future requests should not be affected.

That last InvalidOperationException "Stream was already consumed." is surprising. That implies a race condition in the abort logic.

Needs investigation.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Tratcher
Comment options

Tratcher Feb 5, 2021
Collaborator

@samsp-msft
Comment options

@grounzero
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
3 participants