Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,908 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
We want to understand the root cause of the error "Client connection was unexpectedly closed."
We have API requests with ResponseCode = 0 in the APIM logs under ApiManagementGatewayLogs. The detailed error is:
[{"elapsed":5022,"source":"forward-request","path":"forward-request","reason":"ClientConnectionFailure","message":"Client connection was unexpectedly closed.","section":"backend"}]
After reviewing this post, we confirmed:
Regarding backend services, we found some issues:
We're not sure what the possible cause is or how to address it when APIM gets ResponseCode = 0 or a 504 Gateway Timeout.
Could you provide more insights into it ?