Uploaded image for project: 'Nuxeo Python Client'
  1. Nuxeo Python Client
  2. NXPY-223

Fix third-party credentials renewal

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 6.0.1
    • Component/s: Upload
    • Release Notes Summary:
      Amazon S3 Credentials Renewal
    • Release Notes Description:
      Hide

      A regression introduced in previous versions that would break credentials renewal when using Amazon S3 direct upload capabilities was fixed.

      Show
      A regression introduced in previous versions that would break credentials renewal when using Amazon S3 direct upload capabilities was fixed.
    • Sprint:
      nxDrive 11.2.20
    • Story Points:
      3

      Description

      The current token_callback breaks the automatic credentials renewal. Here is a logs sample:

      DEBUG:nuxeo.client:Calling POST 'https://intranet.nuxeo.com/nuxeo/api/v1/upload/batchId-48d768ab-6478-4483-a8d2-7bf573bc54b8/refreshToken' with headers={...}, params=None, kwargs={'token_callback': <function token_callback at 0x7fd772e25430>, 'timeout': (10, 600)} and cookies=<...>
      DEBUG:botocore.credentials:Retrieved credentials will expire at: 2021-05-18 15:38:46+02:00
      DEBUG:botocore.credentials:Credentials need to be refreshed.
      WARNING:botocore.credentials:Credentials were refreshed, but the refreshed credentials are still expired.
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 2 days
                  2d

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.