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

HttpClient used in RegistrationHelper should rely on STANDARD spec

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: NCC-1.8.0
    • Fix Version/s: NCC-1.8.1
    • Component/s: nuxeo-connect-client

      Description

      The HttpClient configured in the class RegistrationHelper used the default factory org.apache.http.impl.client.HttpClients.createDefault which doesn't handle properly the RFC-6265 for the date format of the expires field. We should rely on a custom builder like defined in the method org.nuxeo.connect.connector.http.ConnectHttpConnector#execServer in order to use a different cookie specifications.
      The issue has been revealed by the migration on pre-production to NOS deployed on NCP-5 using an ALB instead of an ELB as in the previous NOS stacks.

        Attachments

          Issue Links

            Activity

              People

              • 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 - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 3 hours
                  1d 3h