How to fix 502 Errors in Wordpress on Windows Azure Websites How to fix 502 Errors in Wordpress on Windows Azure Websites

How to fix 502 Errors in WordPress on Windows Azure Websites

For the past month I’ve been getting the following error

502 – Web server received an invalid response while acting as a gateway or proxy server.There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.

I searched the internet – all to no avail – I tried Stack Overflow – no luck.

However, when I tried on the Azure Forums, they suggested turning on Failed Request tracing – which I did.

And while the error logs did not reveal any helpful error information, like “Setting A is set to true when it should be set to false for this to work” it did list quite a few entries for Glimpse – which I was using for my main website (the blog is in a subdirectory).  On a hunch I turned that off, and presto!  The site is working like a charm.  Why Glimpse when the site is deployed I have no idea, but I’m thrilled to not have the error anymore.

 

Written By Steve French

 

Leave a Reply

Your email address will not be published. Required fields are marked *






Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.