Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29266

Upgrade to Apache httpclient 4.5.11

    XMLWordPrintable

    Details

      Description

      When uploading a file into Nuxeo Cloud we see this warning in server.log:

      NoSuchMethodException was thrown when disabling normalizeUri. This indicates you are using an old version (< 4.5.8) of Apache http client. It is recommended to use http client version >= 4.5.9 to avoid the breaking change introduced in apache client 4.5.7 and the latency in exception handling. See https://github.com/aws/aws-sdk-java/issues/1919 for more information

      As our use of the AWS SDK shouldn't have to do double-slash normalization it shouldn't be an issue, but the warning in the logs is distracting.

      Note that we're not yet upgrading to 4.5.12 because it changes the processing of 308 to force it to be a redirect code (see HTTPCLIENT-2053), and some of our tests don't expect that (we use 308 for BatchUpload return codes to mean something else, following Google's old and non-standard "Resume Incomplete"). So the 4.5.12 upgrade will require more changes.

      This is a 10.10-only change because master already has these versions (NXP-28537).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 - 30 minutes
                  30m