How to fix 502 errors on my WordPress site hosted on Windows Azure that only occur when I update a post?

I turned on failed request tracing, and saw many entries (not errors, but entries) for Glimpse (I have wordpress running as a subdirectory of my .net site). Glimpse is not supposed to be running in production – but apparently it does. When I removed Glimpse everything worked just fine. Live and learn I guess.