Egnyte WebDav 401 Error

What is the problem you are having with rclone?

I can run rclone lsd client_webdav: and see the folders/files, so I am assuming that the login credentials are working, but I get this error when attempting to run a sync. "This request requires HTTP authentication (): 401 Unauthorized"

I typically just run rclone syncs from Dropbox, Sharepoint, etc this is my first attempt at webdav so I am not sure how to troubleshoot this error. I've reached out to my contact at Egnyte to see if there are any backend permissions that need to be enabled as well.

Any help would be apprecaited!

Run the command 'rclone version' and share the full output of the command.

rclone v1.67.0

  • os/version: Microsoft Windows Server 2022 Datacenter 21H2 (64 bit)
  • os/kernel: 10.0.20348.2655 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.22.4
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Egnyte/WebDav

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync -P client_webdav: s3:s3_bucket/docs/

The rclone config contents with secrets removed.

[client_webdav]
type = webdav
url = https://***.egnyte.com/webdav/
vendor = other
user = XXX
pass = XXX
auth_redirect = true

A log from the command with the -vv flag

2024/09/26 14:09:54 DEBUG : Creating backend with remote "client_webdav:"
2024/09/26 14:09:54 DEBUG : Using config file from "C:\\Users\\trhodes\\AppData\\Roaming\\rclone\\rclone.conf"
2024/09/26 14:09:54 DEBUG : found headers:
2024/09/26 14:09:54 DEBUG : Creating backend with remote "s3:s3_bucket/docs/"
2024/09/26 14:09:54 DEBUG : fs cache: renaming cache item "s3:s3_bucket/docs/" to be canonical "s3:s3_bucket/docs/"
2024/09/26 14:09:54 ERROR : ***: Failed to copy: failed to open source object: This request requires HTTP authentication (): 401 Unauthorized

hi,
first, might want to rclone selfupdate

and can you post a complete debug log?

not sure what that is?

fwiw,

Thanks for the response! I ran the self update and reran, no change.

I've been syncing via FTP since July 22nd and it's just now halfway through the 3.8 TB of docs. I'm just trying to find any other solution that might be quicker as we are preparing to migrate from Egnyte sooner than later.

The auth_redirect = true was a solution that worked for this scenario: [WebDAV] 401 Unauthorized When Server Redirects to Another Domain

It wasn't really applicable for my situation, I just never removed it.

i think the reason, is that flag does not exist.
cannot find it in the docs, cannot find it in the rclone source code.

Well yeah, I ran it without that initially, I have now removed it from the config.

It is most definitely a permissions issue. I just downloaded and configured Cyberduck, login works fine I just can't download any of the files.

Thanks for your help - I'll just wait to hear back from my contact over there.