Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OHS Reverse Proxy 502 Bad Gateway Errors

nick.huntMar 26 2012
Hello

I have OHS setup using mod_proxy to a backend application server using ssl. The proxy works most of the time but for some clients and periodically the server will just start failing and just hand out 502 bad gateway errors. The below errors are thrown in the event log when this starts happening. If I reset the server then it clears and starts working again. I am running v11.1.1.6.

[2012-03-26T16:32:49.1860-04:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: <gateway] [host_addr: <hostip>] [pid: 1848] [tid: 2440] [user: SYSTEM] [VirtualHost: vr:0] proxy: pass request body failed to backendip:443 (dnsname) from clientIP ()

[2012-03-26T16:32:50.0922-04:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: <gateway>] [host_addr: <hostip>] [pid: 1848] [tid: 2424] [user: SYSTEM] [VirtualHost: vr:0] (20014)Internal error: proxy: pass request body failed to backendip:443 (dnaname)

Below is the virtual host config for the virtual host.

DirectoryIndex index.html
ServerName dnsname
TimeOut 500
SSLProxyEngine on
#SSLProxyVerify none
SSLProxyWallet file:D:\oracle\webtier\instances\instance1\config\OHS\ohs1\virtualhosts

ProxyRequests Off
ProxyPreserveHost On

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / https://backendserver/
ProxyPassReverse / https://backendserver/

Any help you can give would be appreciated on this.

Thanks
Nick
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2012
Added on Mar 26 2012
0 comments
1,907 views