logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Proxy Error reading from remote server
Author
skumar4



Joined: 22 Jul 2007
Posts: 2

PostPosted: Sun 22 Jul '07 1:47    Post subject: Proxy Error reading from remote server Reply with quote

We are running apache version 2.2.4. Siteminder webagent version 6 QMR5 on solaris 9. We are using reverse proxy feature as well.

Since many days, we are struggling to fix one issue, where user faces problem to upload anyfile (no matter what size is). On browser it throws error
"
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /invoices/HttpController.

Reason: Error reading from remote server
"
Server side logs is written something like this -
"
[Sat Jul 21 16:24:47 2007] [debug] proxy_util.c(1816): proxy: HTTP: has released connection for (qa-e2-vip)
xx.yy.xx.zz - - [21/Jul/2007:16:24:47 -0700] "POST /invoices/includes/uploadFinal.jsp HTTP/1.1" 302 -
"

We looked from all angle to get clue but unsuccessful. Before that we were running Apache 2.0, siteminder webagent 5.0 QMR7 on solaris 9.
We had same problem so we thought to upgrade it to above version. But couldn't get benifited.
We would really appreciate, if anyone throw some lights here.
- Sanjay.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 25 Jul '07 15:32    Post subject: Reply with quote

Quote:

The proxy server received an invalid response from an upstream server.


means that a client requested a non existing server or unsupported protocol


Quote:

[Sat Jul 21 16:24:47 2007] [debug]

Do you run apache in debug mode?

Are you using jsp on tomcat for uploading?
Back to top
skumar4



Joined: 22 Jul 2007
Posts: 2

PostPosted: Wed 25 Jul '07 17:39    Post subject: The proxy server received an invalid response from an upstre Reply with quote

Thanks for reply. I got a fix by setting up ProxyBadHeader to Ignore. This solves my problem. If you guys can tell me the downside of this setting would be great.

- Sanjay.
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Wed 25 Jul '07 21:24    Post subject: Reply with quote

re: "downside of this setting " - ProxyBadHeader Ignore

The answer depends on what is in the bad header which you are ignoring.

A test you could try is setting ProxyBadHeader to StartBody.

If the bad header doesn't display on your browser screen after this change, try [View Source] in the browser to see what the header really is.

-tom-
Back to top


Reply to topic   Topic: Proxy Error reading from remote server View previous topic :: View next topic
Post new topic   Forum Index -> Apache