Discussions
Categories
- 385.5K All Categories
- 5.1K Data
- 2.5K Big Data Appliance
- 2.5K Data Science
- 453.4K Databases
- 223.2K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 47 Multilingual Engine
- 606 MySQL Community Space
- 486 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.2K ORDS, SODA & JSON in the Database
- 585 SQLcl
- 4K SQL Developer Data Modeler
- 188K SQL & PL/SQL
- 21.5K SQL Developer
- 46 Data Integration
- 46 GoldenGate
- 298.4K Development
- 4 Application Development
- 20 Developer Projects
- 166 Programming Languages
- 295K Development Tools
- 150 DevOps
- 3.1K QA/Testing
- 646.7K Java
- 37 Java Learning Subscription
- 37.1K Database Connectivity
- 201 Java Community Process
- 108 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.4K Java EE (Java Enterprise Edition)
- 22 Java Essentials
- 176 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 208 Java User Groups
- 25 JavaScript - Nashorn
- Programs
- 667 LiveLabs
- 41 Workshops
- 10.3K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 6K Other Languages
- 2.3K Chinese
- 207 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 474 Portuguese
APEX: Too many redirects

On Windows 10, I’ve installed Oracle XE 18c, APEX 20.2 into XEPDB1, and ORDS 20.3. I accepted most defaults, especially those having to do with HTTPS, SSL, etc., which I don’t know much about. Everything seems to work as far as creating forms and reports until I try running one, when I get a “Too many redirects” error. I’ve tried several browsers. I’ve cleared histories, caches, cookies, etc. Googling “Too many redirects” returns a bunch of stuff that I frankly don’t understand. Since this is what I would think is a pretty standard installation, I’m guessing I’ve done something very basic wrong. Help? Thanks, Wayne
Answers
-
This is in one of your pages?
Sometimes this can occur with an ill-defined page branch - check the page processing for the relevant page.
-
I don't know what I'm doing yet; I don't even know what a page branch is! I created a new app, chose a table, clicked to add a form page, saved it and clicked run, thinking that that would get me started. At this point, I just wanted to do the simplest thing possible to show that the installation works.
-
Ahh, problem is probably in a different layer then, something in the middle tier (ORDS)
Relevant search term would need to include reference to APEX/ORDS, otherwise too much pollution.
oracle apex ords too many redirects
Are cookies enabled on your browser?
Does any of this apply to you?
-
Start your browser. Press F12 for the DevTools window and select the network tab. Tick preserve log so that the network log is not cleared with a new page network call.
Enter the URL in the browser tab address bar and hit enter.
Click the abort icon next to the address bar after the umpteenth redirect. This will cease redirect attempts, and allow you to investigate the redirects.
Network calls with a responses 301, 302, etc are redirects, where the HTTP header submitted contains the URL send to the web server, and the HTTP response header containing the web server supplying the URL to request instead.
Example: using URL http://oracle.com
The 301 redirects to http://www.oracle.com
The 302 redirects to https://www.oracle.com
Etc.
Looking at these network calls, response codes, and headers send and received, will allow you to isolate the problem URL for investigation.
-
You can save the network trace as a HAR log file:
Save it as a HAR file and upload it here if you like us to have a look at it for you.
-
I hope this is what you need. Thanks - much appreciated.
-
Not seeing any problem redirects in this HAR.
URL https://localhost:8443/ is redirected to https://localhost:8443/ords/ - which is valid and expected.
An https://localhost:8443/ords/wwv_flow.accept is redirected to https://localhost:8443/ords/f?p=4500:1000:3650541694987::::: - also valid and expected.
Do not see any other redirects.
-
And yet a second tab opens with the "Too Many Redirects" error. :(
-
Need a HAR trace to check that.
-
As soon as I click "RUN" a second tab immediately opens with the error. I have no opportunity to do the F12 procedure. Can that be done retroactively on the new window?