You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/11/25 06:26:08 UTC

DO NOT REPLY [Bug 48278] New: Bad Gateway error while waiting for more than 3 minutes

https://issues.apache.org/bugzilla/show_bug.cgi?id=48278

           Summary: Bad Gateway error while waiting for more than 3
                    minutes
           Product: Apache httpd-2
           Version: 2.2.14
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: selvaganapathi111@yahoo.co.in


I have configured Apache as a proxy for Tomcat application .
Apache is listening on 7443 port . It act as proxy on https while tomcat is
running for http .
This is my configuration in httpd-ssl.conf

<VirtualHost _default_:7443>
ServerName myapp
ServerAdmin dummy@dummy.com
ErrorLog "/opt/apache2.2.14/logs/error_log"
TransferLog "/opt/apache2.2.14/logs/access_log"

SSLEngine on
SSLCipherSuite
!EXPORT40:!EXPORT56:!LOW:!ADH:!NULL:!AECDH-AES256-SHA:!AECDH-AES128-SHA:!AECDH-DES-CBC3-SHA:!AECDH-RC4-SHA:!RC2-CBC-MD5:SSLv3:SSLv2:TLSv1
SSLCertificateFile "/opt/apache2/conf/onmobile.com.cert"
SSLCertificateKeyFile "/opt/apache2/conf/onmobile.com.key"
ProxyRequests Off 
ProxyPreserveHost Off
ProxyPass / http://172.16.28.48/
ProxyPassReverse / http://172.16.28.48/
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
<FilesMatch "\.(cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/opt/apache2/cgi-bin">
    SSLOptions +StdEnvVars
</Directory>

CustomLog "/opt/apache2/logs/ssl_request_log" \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

</VirtualHost>

My problem is , when ever my tomcat is taking more than 4 minutes to deliver
the response (while uploading file or search for any big item), Apache is
saying "The proxy server received an invalid response from an upstream server"
as 502 Bad gateway error.

Its urgent for one of our business case . So please help me out from this issue
.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 48278] Bad Gateway error while waiting for more than 3 minutes

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48278

Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Ruediger Pluem <rp...@apache.org> 2009-11-25 00:43:14 CET ---
This is no user support forum, but for reporting bugs. Please discuss this
issue on the users list. Hint: Have a look at the timeout parameter here:
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org