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

Fix the "consider-ssl-errors" option implementation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.1
    • Component/s: Configuration

      Description

      The current implementation of the "bypass" was right on Python 2. But now that we are on Python 3, we need to adjust it as it is ineffective.

      It may be even simpler than the current implementation: the Python client is using requests which can be taught to disable such verification:

      session = requests.Session()
      session.verify = False
      

      If we do this for each Remote client, then it should be OK as it will not affect other HTTP calls like the auto-updater.

      Should we disable related warnings? If so:

      requests.packages.urllib3.disable_warnings()
      

        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