amsDeveloper
amsDeveloper

Reputation: 337

The CGI application did not return a valid set of HTTP errors. 502.3 - Bad Gateway: Forwarder Connection Error (ARR) on Azure ASP.NET Core App

All of a sudden we are seeing this random error / exception in our web application.

Failed to load resource: the server responded with a status of 502 (Bad Gateway).

In the Log Stream, we are seeing the following details, with specific error code as 502.3 - Bad Gateway: Forwarder Connection Error (ARR).

Also, sometimes in the browser itself we see "The CGI application did not return a valid set of HTTP errors." getting displayed.

Most of the searches for these error codes refer to "IIS / Proxy Server" configuration. But, we haven't changed any such settings.

The error happens very randomly and not specific to any user action/function. Same functionality works first and on second execution immediately after first one throws this error.

How to figure out what is causing this and how to fix?

enter image description here

Upvotes: 1

Views: 10760

Answers (1)

Jason Pan
Jason Pan

Reputation: 22082

I google this question, because the program was normal at the beginning, and the subsequent 502.3 error. After I checked the information on the Internet, I feel that it can only give us an inspiration, and it cannot solve your problem immediately.

So my suggestion is that first you browse post1 and post2 I provided.

Next, proceed to Troubleshoot according to the steps of the official documentation. Specific errors require specific analysis.

Upvotes: 0

Related Questions