2 Replies Latest reply on Oct 28, 2005 9:19 AM by John Edward Scott

    Proxy errors

    433819
      Our users are encountering the following proxy errors with increasing frequency and impact to their work:
      Proxy Error

      The proxy server received an invalid response from an upstream server.
      The proxy server could not handle the request /GET /pls/htmldb/f
      <http://htmldb/pls/htmldb/f>/.

      Reason: Error reading from remote server
      Apache 2.0.52 proxy config:
      <VirtualHost *:80>
      ServerName htmldb

      ProxyRequests On
      ProxyPreserveHost On
      ProxyPass / http://irt-htmldb:7777/
      ProxyPassReverse / http://irt-htmldb:7777/
      </VirtualHost>

      Apache proxy logs show:
      [Mon Dec 06 09:22:02 2004] [error] [client xx.yy.zz.aa] proxy: error reading status line from remote server irt-htmldb, referer: http://htmldb/pls/htmldb/wwv_flow.accept
      [Mon Dec 06 09:22:02 2004] [error] [client xx.yy.zz.aa] proxy: Error reading from remote server returned by /pls/htmldb/f, referer: http://htmldb/pls/htmldb/wwv_flow.accept

      The Oracle Apache
      Server Version: Oracle-Application-Server-10g/9.0.4.0.0 Oracle-HTTP-Server
      logs look clean

      Any ideas ?
      Is there an update to the OHS?

      Thanks,
      Fletcher.
        • 1. Re: Proxy errors
          463152
          Hi all!

          Does someone know a solution for this in the meantime?
          We have the same proxy problems!

          Tnx,
          Karen
          • 2. Re: Proxy errors
            John Edward Scott
            Fletcher,

            Those rules don't look quite right to me, try using the following -
            ProxyPreserveHost On
            RewriteEngine On
            RewriteRule ^/$ /pls/htmldb/f?p=150:1 [R=301]
            ProxyPass /pls/htmldb http://irt-htmldb:7777/pls/htmldb
            ProxyPassReverse /pls/htmldb http://irt-htmldb:7777/pls/htmldb
            ProxyPass /i http://irt-htmldb:7777/i
            ProxyPassReverse /i http://irt-htmldb:7777/i
            In that example you will want to change the 150 to whatever application id you want to redirect to.

            If there isn't a specific application then you can change the rule to just rewrite to /pls/htmldb

            Hope this helps