502unknown Error 502 Proxy
Contents |
Start here for a quick overview of the site Help Center Detailed answers
502 Unknown Error 502 Proxy Pass Request Body Failed To
to any questions you might have Meta Discuss the workings 502 proxy error apache and policies of this site About Us Learn more about Stack Overflow the company Business Learn
502 Proxy Error Dns Lookup Failure
more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and 502 proxy error apache error reading from remote server answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Using Https between Apache Loadbalancer and backends up vote 18 down vote 502 proxy error reason error reading from remote server favorite 5 I am using an apache (2.4) server configured as loadbalancer in front of 2 apache servers. It works fine when I use http connections between loadbalancer and backends, however using https does not work. The configuration of the loadbalancer: SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off
Last Prev Next This bug is not in
502 Proxy Error Openshift
your last search results. Bug55148 - Error during SSL Handshake 502 proxy error chrome with remote server Summary: Error during SSL Handshake with remote server Status: NEEDINFO Product: Apache
502 Proxy Error Web Service
httpd-2 Classification: Unclassified Component: mod_proxy Version: 2.2.24 Hardware: PC Linux Importance: P2 normal (vote) TargetMilestone: --- Assigned To: Apache HTTPD Bugs Mailing List URL: Keywords: http://serverfault.com/questions/577616/using-https-between-apache-loadbalancer-and-backends Depends on: Blocks: Show dependency tree Reported: 2013-06-26 20:20 UTC by Allen Zhao Modified: 2013-09-05 05:37 UTC (History) CC List: 0 users Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description https://bz.apache.org/bugzilla/show_bug.cgi?id=55148 Allen Zhao 2013-06-26 20:20:10 UTC We upgrade our apache from 2.2.17 to 2.2.24. We use the same setting. However, we keep getting 502 bad gateway issue. I tried following settings as well, but no luck. SSLProxyCACertificateFile /work/users/infra/proxy/proxyCA.crt SSLProxyMachineCertificateFile /work/users/infra/proxy/lp97643.pem SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerExpire off I have verified by proxyCA with curl, it works fine. I struggled with this issue for couple of weeks. I doubt this might be new bug. Thanks a lot, The error log: [Wed Jun 26 19:08:35 2013] [error] (502)Unknown error 502: proxy: pass request body failed to 142.63.42.254:443 [Wed Jun 26 19:08:35 2013] [error] [client 192.168.156.135] proxy: Error during SSL Handshake with remote server returned by /Offline/, referer: https://abc.xyz.com/Offline/ [Wed Jun 26 19:08:35 2013] [error] proxy: pass request body failed to 142.63.42.254:443 from 192.168.156.135 () The config: NameVirtualHost *:50211
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the http://stackoverflow.com/questions/19294816/is-it-possible-to-ignore-an-apache-proxyd-certificate workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. 502 proxy Join them; it only takes a minute: Sign up Is it possible to ignore an Apache proxy'd certificate up vote 9 down vote favorite For background information: (Question at bottom) I'm trying to connect to a client, who has 8 servers, all of which have unique IP addresses. The client uses the same SSL certificate on all the servers 502 proxy error (for this example, cert name == www.all_servers.com). The client only allows incoming requests over https. I'm trying to create an apache proxy using mod_proxy that maps different URI mappings to different servers. For example: https://PROXY_SERVER/SERVER1/{REQUEST} This would send {REQUEST} to server1 https://PROXY_SERVER/SERVER2/{REQUEST} would send {REQUEST} to server2. So far, pretty simple. In Apache 2.2, this could be achieved by using the IP addresses like so: SSLProxyEngine On ProxyPass /server1 https://1.1.1.1/ ProxyPassReverse /server1 https://1.1.1.1/ ProxyPass /server2 https://1.1.1.2/ ProxyPassReverse /server2 https://1.1.1.2/ This was due to Apache 2.2 not checking if the certificate matched (1.1.1.1 != www.all_servers.com) However, in Apache 2.4, I'm now getting certificate issues (rightly so). (This exact code works on an apache 2.2 box) [Thu Oct 10 12:01:48.571246 2013] [proxy:error] [pid 13282:tid 140475667224320] (502)Unknown error 502: [client 192.168.1.1:48967] AH01084: pass request body failed to 1.1.1.1:443 (1.1.1.1) [Thu Oct 10 12:01:48.571341 2013] [proxy:error] [pid 13282:tid 140475667224320] [client 192.168.1.1:48967] AH00898: Error during SSL Handshake with remote server returned by /server1/asd [Thu Oct 10 12:01:48.571354 2013] [proxy_http:error] [pid 13282:tid 140475667224320] [client 192.168.1.1:48967] AH01097: pass request body failed to