Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2951

Invalid Cookie Header warning when using nuxeoctl on an ALB

    XMLWordPrintable

    Details

      Description

      When configuring the Connect infrastructure with an ALB instead of an ELB, all nuxeoctl calls raise a warning:

      WARNING: Invalid cookie header: "Set-Cookie: Path=/;Max-Age=31536000;Secure;Expires=Wed, 17 Jun 2020 16:00:18 GMT;HttpOnly". Invalid 'expires' attribute: Wed, 17 Jun 2020 16:00:18 GMT
      

      It prevents evolving the NOS infrastructure using ALB as we probably do not want all customers having warnings when using nuxeoctl.

      A test that exposes the problem can be found here: https://github.com/nuxeo/nuxeo-connect/blob/fix-NXCONNECT-2135-invalid-warning-log/nuxeo-connect-client/src/test/java/org/nuxeo/connect/connector/http/TestNoWarningInLogs.java

      https://github.com/nuxeo/nuxeo-connect/blob/fix-NXCONNECT-2135-invalid-warning-log/nuxeo-connect-client/src/test/java/org/nuxeo/connect/connector/http/TestWithMockHttp.java on fix-NXCONNECT-2135-invalid-warning-log branch.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 6 minutes
                  1h 6m