One day suddenly on azure app I started to get the error 502 web server received an invalid response while acting as a gateway or proxy server on azure web app.
I did too much research to solve this problem, than I contacted to the support and they given me following solution which works for...