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

Handle server denying access to Nuxeo Drive operations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 5.2.1
    • Component/s: Framework
    • Release Notes Summary:
      Operations Check at Startup
    • Release Notes Description:
      Hide

      Users were able to add an account using their credentials but for one reason or another they do not have enough rights to call NuxeoDrive.* automation operations. Such case is now well handled.

      Show
      Users were able to add an account using their credentials but for one reason or another they do not have enough rights to call NuxeoDrive.* automation operations. Such case is now well handled.
    • Epic Link:
    • Sprint:
      nxDrive 11.2.20
    • Story Points:
      1

      Description

      Sentry Issue: NUXEO-DRIVE-52N

      HTTPError: 403 Client Error:  for url: http://HOST/nuxeo/site/automation/NuxeoDrive.GetTopLevelFolder
        File "nuxeo/client.py", line 305, in request
        File "requests/models.py", line 943, in raise_for_status
      
      Forbidden: Forbidden(403), error: b'<!doctype html><html lang="fr"><head><title>\xc3\x89tat HTTP 403 \xe2\x80\x93 Interdit</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>\xc3\x89tat HTTP 403 \xe2\x80\x93 Interdit</h1></body></html>', server trace: None
        File "nxdrive/manager.py", line 817, in bind_engine
        File "nxdrive/engine/engine.py", line 177, in __init__
        File "nxdrive/engine/engine.py", line 1294, in bind
        File "nxdrive/engine/engine.py", line 1339, in _check_root
        File "nxdrive/engine/engine.py", line 1389, in _add_top_level_state
        File "nxdrive/client/remote_client.py", line 524, in get_filesystem_root_info
        File "nxdrive/client/remote_client.py", line 263, in execute
        File "nxdrive/client/remote_client.py", line 259, in execute
        File "nuxeo/operations.py", line 199, in execute
        File "nuxeo/client.py", line 308, in request
      
      Engine error
      

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