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

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

    XMLWordPrintable

    Details

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

      The Direct Edit experience has been made more robust by better handling HTTP 404 (Not Found), 502 (Bad Gateway), 503 (Service Unavailable) and 504 (Gateway Timeout) errors.

      Related ticket: NXDRIVE-2621.

      Show
      The Direct Edit experience has been made more robust by better handling HTTP 404 (Not Found), 502 (Bad Gateway), 503 (Service Unavailable) and 504 (Gateway Timeout) errors. Related ticket: NXDRIVE-2621 .
    • Epic Link:
    • Tags:
    • Story Points:
      1

      Description

      Sentry Issue: NUXEO-DRIVE-4Z6

      HTTPError: 502 Server Error: Bad Gateway for url: https://HOST/nuxeo/api/v1/upload
        File "nuxeo\client.py", line 305, in request
        File "requests\models.py", line 943, in raise_for_status
      
      HTTPError: HTTPError(502), error: b'<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n</body>\r\n</html>\r\n', server trace: None
      (2 additional frame(s) were not displayed)
      ...
        File "nxdrive\client\uploader\sync.py", line 31, in upload
        File "nxdrive\client\uploader\__init__.py", line 179, in upload_impl
        File "nxdrive\client\uploader\__init__.py", line 101, in _get_transfer
        File "nuxeo\uploads.py", line 92, in post
        File "nuxeo\client.py", line 308, in request
      
      Direct Edit unhandled HTTP error for ref WindowsPath('e28330aa-24b9-4c55-80fa-c2f1b601e2cc_file-content/file.psd')
      

        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 hour
                  1h