Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing web app using .NET 4.0
I'ts hosted on IIS7 and served over HTTPS.

When I try to request a page with IE8, it doesn't load completely. So I looked into fiddler, and it shows me an HTTP 502 Error for js file included in the page... It works fine in Mozilla though.

I am getting this error randomly, sometimes everything works smoothly.

To give you a general idea of the environment:
Web server behind a load balancer.

I am requesting the page (simple HTML with some JavaScript) over HTTPS.

any suggestions how to solve this issue?

share|improve this question

502 means Bad Gateway. It's typically something a Load Balancer (or any reverse proxy) says to you when the target of the upstream request doesn't respond to it, or says something nasty.

Look at the request, look at the Server web logs (and HTTPERR logs) and the LB logs for the time of the request, and try to match them up.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.