My Oracle Support Banner

ORDS Redirecting to Old Server When Require HTTPS Set To Always (Doc ID 2614011.1)

Last updated on FEBRUARY 10, 2023

Applies to:

Oracle Application Express (APEX) - Version 18.1.0.00.45 and later
Information in this document applies to any platform.

Symptoms

When Manage Instance -> Instance Settings -> Security -> HTTP Protocol -> Require HTTPS has the value "Always",

and navigating to http://<new_server>:<port> the responses are always received from https://<old_server>:<port>

wget -SqO- http://<new_server>/apex
HTTP/1.1 301 301
Date: <TIMESTAMP>
Server: Apache
Location: /apex/
Vary: Accept-Encoding
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
HTTP/1.1 302 302
Date: <TIME_STAMP>
Server: Apache
Warning: 199 APEX "HTTP request but need HTTPS"
Location: https://<old_server>/apex/f?p=4500:1000:::
Vary: Accept-Encoding
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked

Changes

Server's hostname was changed and web listener was changed to ORDS.

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.