Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (19.9k points)

I'm trying to host an azure website and tried troubleshooting for a few hours, but still keep getting the same error 502 Web server received an invalid response while acting as a gateway or proxy server.

I tried enabling logging errors on azure, but all it gives me are 404 not found errors

1 Answer

0 votes
by (25.1k points)

An HTTP 502 error is not logged by IIS because it is not a server issue. This problem is often caused by application level issues, like requests taking a long time 

application crashing due to an exception. You need to troubleshoot your front-end code and front-end server. You can follow Microsoft's troubleshooting guide for this.

Browse Categories

...