HTTP 502 Proxy Error in Axis 1.3

2007-11-16 Thread Raghu Upadhyayula
Hi,

 

We have a webservice which is using Axis 1.3.

 

There are some clients using our webservices.  One of the clients
reported that he is getting a HTTP 502 Proxy Error intermittently when
accessing our webservices.

 

Does anyone face this problem before or know why this is occurring?  Is
there any solution for this issue?

 

Here is the stack trace of the error.

 

AxisFault

 faultCode: {http://xml.apache.org/axis/}HTTP

 faultSubcode:

 faultString: (502)Proxy Error

 faultActor:

 faultNode:

 faultDetail:

{}string: return code:  502

lt;!DOCTYPE HTML PUBLIC quot;-//IETF//DTD HTML 2.0//ENquot;gt;

lt;htmlgt;lt;headgt;

lt;titlegt;502 Proxy Errorlt;/titlegt;

lt;/headgt;lt;bodygt;

lt;h1gt;Proxy Errorlt;/h1gt;

lt;pgt;The proxy server received an invalid^M

response from an upstream server.lt;br /gt;^M

The proxy server could not handle the request lt;emgt;lt;a
href=quot;/webservices/ResponsysWSquot;gt;POSTamp;nbsp;/webservices/
ResponsysWSlt;/agt;lt;/emgt;.lt;pgt;

Reason: lt;stronggt;Error reading from remote
serverlt;/stronggt;lt;/pgt;lt;/pgt;

lt;hrgt;

lt;addressgt;Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7a Server
at ws1.responsys.net Port 80lt;/addressgt;

lt;/bodygt;lt;/htmlgt;

 

 

(502)Proxy Error

at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java
:630)

at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)

at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:71)

at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)

at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)

at org.apache.axis.client.Call.invokeEngine(Call.java:2564)

at org.apache.axis.client.Call.invoke(Call.java:2553)

at org.apache.axis.client.Call.invoke(Call.java:2248)

at org.apache.axis.client.Call.invoke(Call.java:2171)

at org.apache.axis.client.Call.invoke(Call.java:1691)

...

...

 

Thanks in advance

Raghu



RE: HTTP 502 Proxy Error in Axis 1.3

2007-11-16 Thread Walker, Jeff
I would hazard a guess that it is an infrastructure problem
(request/response routing, IP address changing), since your web services
do work some of the time.
You might want to get your production support (network engineers) onto
it.
-jeff


  _  

From: Raghu Upadhyayula [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 16, 2007 2:04 PM
To: axis-user@ws.apache.org
Subject: HTTP 502 Proxy Error in Axis 1.3



Hi,

 

We have a webservice which is using Axis 1.3.

 

There are some clients using our webservices.  One of the
clients reported that he is getting a HTTP 502 Proxy Error
intermittently when accessing our webservices.

 

Does anyone face this problem before or know why this is
occurring?  Is there any solution for this issue?

 

Here is the stack trace of the error.

 

AxisFault

 faultCode: {http://xml.apache.org/axis/}HTTP

 faultSubcode:

 faultString: (502)Proxy Error

 faultActor:

 faultNode:

 faultDetail:

{}string: return code:  502

lt;!DOCTYPE HTML PUBLIC quot;-//IETF//DTD HTML
2.0//ENquot;gt;

lt;htmlgt;lt;headgt;

lt;titlegt;502 Proxy Errorlt;/titlegt;

lt;/headgt;lt;bodygt;

lt;h1gt;Proxy Errorlt;/h1gt;

lt;pgt;The proxy server received an invalid^M

response from an upstream server.lt;br /gt;^M

The proxy server could not handle the request lt;emgt;lt;a
href=quot;/webservices/ResponsysWSquot;gt;POSTamp;nbsp;/webservices/
ResponsysWSlt;/agt;lt;/emgt;.lt;pgt;

Reason: lt;stronggt;Error reading from remote
serverlt;/stronggt;lt;/pgt;lt;/pgt;

lt;hrgt;

lt;addressgt;Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7a
Server at ws1.responsys.net Port 80lt;/addressgt;

lt;/bodygt;lt;/htmlgt;

 

 

(502)Proxy Error

at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java
:630)

at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)

at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:71)

at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)

at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)

at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)

at
org.apache.axis.client.Call.invokeEngine(Call.java:2564)

at org.apache.axis.client.Call.invoke(Call.java:2553)

at org.apache.axis.client.Call.invoke(Call.java:2248)

at org.apache.axis.client.Call.invoke(Call.java:2171)

at org.apache.axis.client.Call.invoke(Call.java:1691)

...

...

 

Thanks in advance

Raghu