What's the difference between transfer-response and forward-request errors in API management?
Asked Answered
C

1

7

A large number requests over our Azure API Management result in the ClientConnectionFailure exception.

By querying the logs I see two variants of the error:

exceptions
| where cloud_RoleName == "..." 
| summarize num = count(itemCount) by problemId, outerMessage 
| order by num
  1. problemId: ClientConnectionFailure at transfer-response, outermessage: A task was canceled, count 403,249
  2. problemId: ClientConnectionFailure at forward-request, outermessage: The operation was canceled, count 55,531

Based on this post, the problem could be time-outs or that clients abandon connections. With response times generally within 500ms I'm inclined to rule out the first.

The question is: what is the difference between transfer-response and forward-request, and does it provide any clues as to what is going on?

Clouet answered 19/9, 2019 at 8:38 Comment(0)
Y
8

Transfer-response means that the client dropped the connection after it started receiving the response.

Forward-request means that the client dropped the connection while the APIM gateway was sending the request to the back end or waiting for a response from the back end.

Yahweh answered 20/9, 2019 at 0:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.