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

Check HTTPS when starting an engine

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: Remote client

      Description

      We should ensure we are using HTTPS when it is available to prevent bad redirection HTTP -> HTTPS and losing information.
      For instance, a HTTP POST is redirected to HTTPS GET, which is nonsense:

      POST http://NUXEO/nuxeo/site/automation/Document.Fetch [302]
      GET https://NUXEO/nuxeo/site/automation/Document.Fetch [200]
      

      And so the result is bad as calling an operation using GET will return the operation description:

      KeyError: 'path'
        File "nxdrive\direct_edit.py", line 590, in _handle_upload_queue
        File "nxdrive\client\remote_client.py", line 523, in get_info
      
      DirectEdit unhandled error for ref WindowsPath('d8e4e5c4-34e9-426a-aea7-65a6d28ac39f/058335-DIV-0029-A_[TCC1]  2_4_1 Permanent workforce .doc')
      

      Sentry Issue: NUXEO-DRIVE-W1

        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, 30 minutes
                  1h 30m