Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-7364

UI check for security should handle 5xx appropriately

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0, 3.5.2
    • Component/s: UI
    • Labels:
    • Release Notes:
      Fixed a problem with the CDAP UI not handling "5xx" error codes correctly.
    • Rank:
      1|hzzmhj:

      Description

      When the UI starts up and makes a call to auth to see if security is enabled, it checks for 401.

      In the use-case of running behind a vip, this call may return a 503 (service not available), while auth/router are starting up. UI considers this a response, and since it's not 401, it incorrectly interprets it as security disabled.

      The only current workaround is when running behind a vip, one must startup services in order (UI last).

        Attachments

          Activity

            People

            • Assignee:
              edwin Edwin Elia
              Reporter:
              derek Derek Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: