Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 3rd, 2010, 04:39 PM
Friend of Wrox
 
Join Date: Dec 2008
Location: , , .
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default 502 - Bad Gateway

For the web site that we are developing and testing, we occasionally got error 502 (Bad Gateway). It does not entirely make sense, if we truly have a proxy issue etc, we would get this all the time, but we only got it occasionally. I suspect 504 (Gateway Timeout) is probably more proper, but that’s only a guess. We turned on trace and I am hoping to find out more.

Maybe someone on this forum experienced the same issue before… Any experience to share?
  #2 (permalink)  
Old March 3rd, 2010, 08:49 PM
Friend of Wrox
 
Join Date: Dec 2008
Location: , , .
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

My IIS does call web services that are hosted on a JBOSS server, and there are multiple security components between JBoss and IIS.

I believe that the reason that IIS threw 502 error was that occasionally web services timed out. Increased timeout value on IIS side for those web services, and will observe whether this takes away the 502 error.
  #3 (permalink)  
Old March 4th, 2010, 11:07 PM
Friend of Wrox
 
Join Date: Dec 2008
Location: , , .
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

We tested today with those security components turned off. One of them is a reverse proxy, and we noticed that IIS started to report timeout simply as timeout, and no longer report timeout as bad gateway. This is it.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SMS gateway Problem sandeepyadav C# 2005 2 December 3rd, 2012 02:55 AM
SMS through Gateway gmdotcom2004 ASP.NET 1.0 and 1.1 Basics 1 January 3rd, 2007 08:30 AM
gateway address suresh_rupineni VBScript 0 July 27th, 2006 09:26 AM
Form to Email gateway starknaked Flash (all versions) 0 March 16th, 2005 12:12 AM



All times are GMT -4. The time now is 06:34 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.