Unable to connect IceDrive via WebDav

What is the problem you are having with rclone?

I have premium icedrive, so they gave me webdav access + token key,
when I'm trying to setup new config with webdav option I'm specifying URL (https://webdav.icedrive.io), my email as user, and token as bearer_token, I also with password but no luck, getting Username or password was incorrect or 401 Unauthorised error.
I the reason of my issue is that I don't know how to setup webdav for IceDrive properly

What is your rclone version (output from rclone version)

rclone v1.57.0

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

IceDrive

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

rclone config
webdav
other
my_email
my_password
my_token
...

The rclone config contents with secrets removed.

[ice_drive]
type = webdav
url = https://webdav.icedrive.io
vendor = other
user = my_email@dot.com_REDACTED
pass = my_pass_REDACTED
bearer_token = token_REDACTED

A log from the command with the -vv flag

2021/12/03 13:47:47 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "mount" "ice_drive:" "/home/ice_drive" "-vv"]
2021/12/03 13:47:47 DEBUG : Creating backend with remote "ice_drive:"
2021/12/03 13:47:47 DEBUG : Using config file from "/home/xxx/.config/rclone/rclone.conf"
2021/12/03 13:47:47 DEBUG : found headers: 
2021/12/03 13:47:47 INFO  : webdav root '': poll-interval is not supported by this remote
2021/12/03 13:47:47 NOTICE: webdav root '': --vfs-cache-mode writes or full is recommended for this remote as it can't stream
2021/12/03 13:47:47 DEBUG : webdav root '': Mounting on "/home/ice_drive"
2021/12/03 13:47:48 DEBUG : : Root: 
2021/12/03 13:47:48 DEBUG : : >Root: node=/, err=<nil>
2021/12/03 13:47:48 DEBUG : /: Lookup: name=".Trash"
2021/12/03 13:47:48 ERROR : /: Dir.Stat error: couldn't list files: Username or password was incorrect: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
2021/12/03 13:47:48 DEBUG : /: >Lookup: node=<nil>, err=couldn't list files: Username or password was incorrect: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
2021/12/03 13:47:48 DEBUG : /: Attr: 
2021/12/03 13:47:48 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2021/12/03 13:47:48 DEBUG : /: Lookup: name="BDMV"
2021/12/03 13:47:48 ERROR : /: Dir.Stat error: couldn't list files: Username or password was incorrect: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized

hi,

  • easier to use test/debug using rclone lsd and rclone ls, not rclone mount
  • looks like you are able to connect to icedrive,
    perhaps your username does not have permission to access those subdirs.
    Lookup: name=".Trash"
    Lookup: name="BDMV"
  • as a test, connect to icedrive over webdav, not using rclone.

After providing icedrive provided token as password and avoiding bearer_token at all, solved the issue, now connected.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.