You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Alexandre Dulaunoy <al...@conostix.com> on 2002/04/07 16:39:43 UTC

[apache 2.0.35/mod_proxy] random error 502 Bad Gateway

Dear all,

I have currently an apache 2.0.35 with mod_proxy enable (config at the 
end). 

The reverse proxy seems to work but sometimes I got randomly a 502 error 
:

""Bad Gateway!
The proxy server received an invalid response from an upstream server. ""

But my config is quite easy : 

ProxyPass /internal/calypso/ http://128.XXX.XXX.89/
ProxyPassReverse /internal/calypso/ http://128.XXX.XXX.89/
ProxyPass /internal/oops/    http://128.XXX.XXX.221/
ProxyPassReverse /internal/oops/    http://128.XXX.XXX.221/

Here is my compiled module list :
./httpd -l
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_ext_filter.c
  mod_include.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  mod_proxy.c
  proxy_connect.c
  proxy_ftp.c
  proxy_http.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_so.c


./httpd -V
Server version: Apache/2.0.35
Server built:   Apr  6 2002 12:51:42
Server's Module Magic Number: 20020329:0
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

The server in the backend are Apache-httpd and Zeus. 

Is it a known issue ? Or is it a misconfiguration ? 

Thanks a lot. 

Alex



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org