Apache Unknown Error 502
Contents |
Start here for a quick overview of the site Help Center Detailed answers to
Proxy Error 502 Apache
any questions you might have Meta Discuss the workings and 502 proxy error apache error reading from remote server policies of this site About Us Learn more about Stack Overflow the company Business Learn http 502 error apache more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer
Unknown Error 502 Itunes
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 favorite 5
Apache 503 Error
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
Favorite Rating: Usere getting HTTP 502 error accessing secure Web server via apache 500 error Access Gateway with TLS 1.2 enabledThis document (7015539) is provided
Bad Gateway Error 502
subject to the disclaimer at the end of this document. Environment NetIQ Access Manager 4.0NetIQ Access proxy: error during ssl handshake with remote server returned by Manager Access Gateway Service running on RHEL 6.5TLS 1.2 OpenSSL enabled on Access Gateway as per https://www.netiq.com/documentation/netiqaccessmanager4/enable_tls_nam40/data/enable_tls_nam40.html Reverse Proxy -> Web Servers -> Web Server http://serverfault.com/questions/577616/using-https-between-apache-loadbalancer-and-backends Trusted Root: Do not verify enabled Situation Access Manager 4.0 setup and working well. To improve security, all SSL/TLS transactions were set to use TLS 1.2. Both the NAM Identity Server and Access Gateway Server components were updated as per the above doc to enable TLS 1.2 (installed the additional apache package https://www.novell.com/support/kb/doc.php?id=7015539 using the install_AG_Openssl101.sh script). After making the changes, all proxy services except one worked.Users accessing the problem secure Web server woul dget 502 errors, and the error_log file on the AG would report the following: [error] (502)Unknown error 502: proxy: pass request body failed to 10.175.121.57:443 (10.175.121.57) AMEVENTID#8: proxy: Error during SSL Handshake with remote server returned by Tests were done adding a few SSL advanced options, but to no avail. These options included: - SSLProxyCheckPeerCN off - SSLProxyProtocol +SSLv2 +SSLv3 +TLSv1 +TLSv1.1 - SSLProxyVerify none LAN traces show that the AG would close the TCP connection after the Server Hello Done is returned from the secure web server. Resolution Modified the Advanced Options for this proxy service to include the following:SSLProxyCipherSuite ALL:!EDH:!DHE:!ECDHE:!ECDH:!ADH:RC4+RSA:!EDH:+HIGH:+MEDIUM:+LOW:!SSLv2:!3DES:!DES:+EXP Cause The cipher sent back from the Web server is something Apache failed to handle correctly, hence the TCP FIN to close the connection with the Web server.By using the SSLProxyCipherSuit
Last Prev Next This bug is not in your last https://bz.apache.org/bugzilla/show_bug.cgi?id=55148 search results. Bug55148 - Error during SSL Handshake with remote server Summary: Error during SSL Handshake with remote server Status: NEEDINFO Product: Apache 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: Depends on: Blocks: error 502 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 Allen Zhao 2013-06-26 20:20:10 UTC unknown error 502 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