Forum Stats

  • 3,840,108 Users
  • 2,262,568 Discussions
  • 7,901,150 Comments

Discussions

ORDS 22.2: Missing uploaded app's images on https

Hello

I'm running a local server with oracle 21xe + apex 22.1. If I set ORDS 22.2 to connect through https the images uploaded to the application are not shown. All the rest of the apex's images are shown ok. If I switch back to http all works fine.

Within the affected server all the workspaces show the same issue only on https

I moved the same application to another server with the same versions of DB/APEX/ORDS and all works fine on https

The only difference between both servers is that, in the server which do not show the images, the DB is published on port 1539 and the other, where the application works fine, the DB is published using the standard 1521 port.

Tried also to check log files, but nothings comes up.

Appreciate any comment.

W

Tagged:

Best Answer

  • jariola
    jariola Member Posts: 10,831 Gold Crown
    Answer ✓

    If you clear browser cache, does images still show when you use HTTP connection?

    Configure HTTPS, open browser developer tools and reproduce issue. See browser developer tools Network tab if there is failed request and what is payload and response for those.

Answers

  • jariola
    jariola Member Posts: 10,831 Gold Crown
    Answer ✓

    If you clear browser cache, does images still show when you use HTTP connection?

    Configure HTTPS, open browser developer tools and reproduce issue. See browser developer tools Network tab if there is failed request and what is payload and response for those.

  • Pericles
    Pericles Member Posts: 63 Blue Ribbon

    Hello Jariola

    If you clear browser cache, does images still show when you use HTTP connection? -> Yes, after clean up the cache, in http the images are shown as expected. Tried in other browsers and all show the same result.

    If I click over the broken image ORDS show this:

    And in the console (running ords standalone) this is shown:

    2022-07-31T11:32:02.795Z SEVERE      <qD4QgLDGtg4IvDQXNTagmg> GET surus_int.xcampus.com /ords/r/surus_dev/100/files/static/v48/surus_1.png 500 An unexpected error with the following message occurred: java.net.URISyntaxException: Illegal character in hostname at index 13: https://surus_int.xcampus.com:8443/ords

    Checking the name of the server cname I noticed the underscore, which actually was the cause of the error. After modify the cname to surusint.xcampus.com all is working fine.

    Thanks for your comment.