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

Long referer url in header breaks /backendstatus end point

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.1
    • Component/s: None
    • Labels:
    • Sprint:
      CDAP UI 03/13
    • Rank:
      1|hzzy6n:

      Description

      Call to `/backendstatus` fails if the url is too big. The url from browser gets added to a property called `referer` in the header while making `/backendstatus` http call, which errors out in nodejs proxy.

      This causes the UI to show "CDAP Services are down" because the /backendstatus end point returns a 500. The problem is not with backend but with the /backendstatus end point in the node proxy.

      Temporarily we need to strip out the referer which causes the /backendstatus call to fail.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ajai Ajai Narayan
                Reporter:
                ajai Ajai Narayan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: