Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-19743

Console couldn't be started anymore with local bridge (error: Invalid URL)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.15.0
    • 4.15.0
    • Dev Console
    • None
    • No
    • ODC Sprint 3245
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      After https://github.com/openshift/console/pull/13102 got merged, it isn't possible to start the local console bridge anymore.

      The UI crashes with this error:

      Uncaught TypeError: Failed to construct 'URL': Invalid URL
          at ./public/module/auth.js (main-c115e44b78283c32bc69.js:81514:7)
          at __webpack_require__ (runtime~main-bundle.js:90:30)
      

      The loginErrorURL is a string that couldn't get parsed with new URL:

      window.SERVER_FLAGS.loginErrorURL
      '/auth/error'
      
      new URL(window.SERVER_FLAGS.loginErrorURL)
      VM55:1 Uncaught TypeError: Failed to construct 'URL': Invalid URL
      

              cjerolim Christoph Jerolimov
              cjerolim Christoph Jerolimov
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: