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

/bin/bridge crashes if frontend is still starting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.17.0
    • Management Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          When running /bin/bridge and trying to access localhost:9000 while the frontend is still starting, the bridge crashes as it cannot find frontend/public/dist/index.html

      Version-Release number of selected component (if applicable):

          4.17.0

      How reproducible:

          Always

      Steps to Reproduce:

          1. Build the OpenShift Console backend and run /bin/bridge 
          2. Try to access localhost:9000 while it is still starting
          

      Actual results:

          Bridge crash

      Expected results:

          No crash, either return HTTP 404/500 to the browser or serve a fallback page

      Additional info:

          This is just a minor dev annoyance

              rhn-engineering-rhamilto Robb Hamilton
              rh-ee-jaclee Jackson Lee
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: