You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Raghu Upadhyayula <ru...@responsys.com> on 2007/11/16 20:03:38 UTC
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
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid^M
response from an upstream server.<br />^M
The proxy server could not handle the request <em><a
href="/webservices/ResponsysWS">POST&nbsp;/webservices/
ResponsysWS</a></em>.<p>
Reason: <strong>Error reading from remote
server</strong></p></p>
<hr>
<address>Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7a Server
at ws1.responsys.net Port 80</address>
</body></html>
(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
Posted by "Walker, Jeff" <Je...@fmr.com>.
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:rupadhyayula@responsys.com]
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
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid^M
response from an upstream server.<br />^M
The proxy server could not handle the request <em><a
href="/webservices/ResponsysWS">POST&nbsp;/webservices/
ResponsysWS</a></em>.<p>
Reason: <strong>Error reading from remote
server</strong></p></p>
<hr>
<address>Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7a
Server at ws1.responsys.net Port 80</address>
</body></html>
(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