My Oracle Support Banner

502 Bad Gateway Error Thrown When Trying to Configure Reverse Proxy to SSL Resource While Retaining the Initial Access URL (Doc ID 2238243.1)

Last updated on AUGUST 15, 2018

Applies to:

Oracle HTTP Server - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

When trying to access a resource on non-ssl port of the OHS which internally redirects to an SSL enabled backend server (retaining the initial non-ssl URL in the browser) , a 502 Bad Gateway Error is thrown.

The ohs1.log has the below entries during this time

In the above configuration, http://ohshostname:ohsport/newanalytics gets redirected to http://testing1.com/newanalytics without any issue and the URL in the browser remains http://ohshostname:ohsport/newanalytics

However, http://ohshostname:ohsport/NetworkWide  fails to redirect to https://testing.com/NetworkWide and throws "Bad Gateway Error" in the browser.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.