Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2681

[Direct Edit] Handle HTTP 502 (Bad Gateway), 503 (Service Unavailable) and 504 (Gateway Time-out) errors during unlock

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 5.2.2
    • Component/s: Direct Edit
    • Release Notes Summary:
      Improved Experience
    • Release Notes Description:
      Hide

      The Direct Edit experience has been made more robust by better handling502 (Bad Gateway), 503 (Service Unavailable) and 504 (Gateway Timeout) errors during document locking/unlocking.

      Show
      The Direct Edit experience has been made more robust by better handling502 (Bad Gateway), 503 (Service Unavailable) and 504 (Gateway Timeout) errors during document locking/unlocking.
    • Epic Link:
    • Sprint:
      nxDrive 11.2.22
    • Story Points:
      1

      Description

      Sentry Issue: NUXEO-DRIVE-4WF

      HTTPError: 503 Server Error: Service Unavailable for url: https://HOST/nuxeo/site/automation/Document.Unlock
        File "nuxeo\client.py", line 290, in request
        File "requests\models.py", line 943, in raise_for_status
      
      HTTPError: HTTPError(503), error: b'<html><body><b>Http/1.1 Service Unavailable</b></body> </html>', server trace: None
        File "nxdrive\direct_edit.py", line 719, in _handle_lock_queue
        File "nxdrive\direct_edit.py", line 689, in _unlock
        File "nxdrive\direct_edit.py", line 679, in _unlock
        File "nxdrive\client\remote_client.py", line 829, in unlock
        File "nxdrive\client\remote_client.py", line 269, in execute
        File "nxdrive\client\remote_client.py", line 265, in execute
        File "nuxeo\operations.py", line 187, in execute
        File "nuxeo\client.py", line 293, in request
      
      Cannot unlock document WindowsPath('DOCUID_doc-file_content/FILE.pdf')
      

        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 - 30 minutes
                  30m