Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2863

LB does not work when session cookie is not the first cookie

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Server
    • None

    Description

      There is a bug in the code where we try to find the first cookie instead of checking for all cookies in ConfigurableHADispatch class.

      sessionCookie =
                      Arrays.stream(inboundRequest.getCookies())
                            .findFirst()
                            .filter(cookie -> stickySessionCookieName.equals(cookie.getName()));
      

      Attachments

        Issue Links

          Activity

            People

              smore Sandeep More
              smore Sandeep More
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m