What is the problem you are having with rclone?
I’m experiencing critical failures while using bisync. The error itself is a momentarily 401 unauthorized response from an OpenCloud webdav host, but while it claims to be retryable without --resync, it never creates listings and requires --resync on the next run. So far, I didn't have any without errors.
Additional information: OpenCloud is a owncloud infinite scale derivative and the syncronized folders are 230GB+ files from a local server, already previously copied via rclone copy.
Run the command 'rclone version' and share the full output of the command.
rclone v1.72.1
- os/version: almalinux 9.7 (64 bit)
- os/kernel: 5.14.0-611.45.1.el9_7.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.25.3 (Red Hat 1.25.3-1.el9_7)
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Webdav, specifically owncloud infinite scale, and already tried the other option provider as well.
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone bisync win7:f: opencloud_webdav: --skip-links --resilient --recover --conflict-resolve newer --check-access --max-delete 50 --exclude "/rootshare/**" --exclude "/.space/**" --tpslimit 200 --tpslimit-burst 250 --checkers 16 --transfers 8 --bwlimit 9Mi --create-empty-src-dirs --compare size,modtime,checksum --retries 10 --retries-sleep 10s --low-level-retries 20 --contimeout 60s --timeout 300s --expect-continue-timeout 10s --log-level DEBUG --resync --resync-mode newer
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[opencloud_webdav]
type = webdav
url = **REDACTED**
vendor = infinitescale
user = XXX
pass = XXX
[win7]
type = sftp
host = XXX
user = XXX
port = 5002
key_file = **REDACTED**
shell_type = cmd
md5sum_command = none
sha1sum_command = none
A log from the command that you were trying to run with the -vv flag
Since the log is too big (123MB), and may contain sensitive information, I'm going to share the errors only and summary:
762919 2026/04/12 18:12:49 DEBUG : &{fs1:0xc0006a2a88 fs2:0xc000188160 abort:false critical:false retryable:false basePath:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_ workDir:**REDACTED**/.cache/rclone/bisync listing1:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst listing2:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst newListing1:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst-new newListing2:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst-new aliases:map[] opt:0xc0001dfd40 octx:{emptyCtx:{}} fctx:{emptyCtx:{}} InGracefulShutdown:false CleanupCompleted:false SyncCI:<nil> CancelSync:<nil> DebugName: lockFile:/home/mfeng/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck renames:map[] resyncIs1to2:false march:{ls1:0xc000599800 ls2:0xc000599860 err:0xc001d0d240 firstErr:<nil> marchAliasLock:{_:{} mu:{state:0 sema:0}} marchLsLock:{_:{} mu:{state:0 sema:0}} marchErrLock:{_:{} mu:{state:0 sema:0}} marchCtx:0xc000599470} check:{hashType:0 fsrc:<nil> fdst:<nil> fcrypt:<nil>} queueOpt:{logger:{LoggerFn:<nil> Combined:0xc000598c30 MissingOnSrc:0xc000598cf0 MissingOnDst:0xc000598d20 Match:0xc000598de0 Differ:0xc000598e10 Error:0xc000598ed0 DestAfter:0xc000598f00 JSON:0xc000598fc0 DeleteModeOff:false ListFormat:{separator: dirSlash:false absolute:false output:[] csv:<nil> buf:{buf:[] off:0 lastRead:0}} JSONOpt:{Recurse:false NoModTime:false NoMimeType:false ShowEncrypted:false ShowOrigIDs:false ShowHash:false DirsOnly:false FilesOnly:false Metadata:false HashTypes:[]} LJ:<nil> Format: TimeFormat: Separator: DirSlash:false HashType:0 FilesOnly:false DirsOnly:false Csv:false Absolute:false} lock:{_:{} mu:{state:0 sema:0}} once:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} ignoreListingChecksum:false ignoreListingModtime:false hashTypes:map[] queueCI:<nil>} downloadHashOpt:{downloadHash:false downloadHashWarn:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} firstDownloadHash:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}}} lockFileOpt:{stopRenewal:0x555a0a2fec60 data:{Session:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_ PID:734737 TimeRenewed:{wall:14010449817349529347 ext:2967619283 loc:0x555a0cf0da20} TimeExpires:{wall:445521757 ext:70218822403 loc:0x555a0cf0da20}}}}: march completed. err: march failed with 3 error(s): first error: couldn't list files: 401 Unauthorized
762920 2026/04/12 18:12:49 ERROR : march: error during findCheckFiles: march failed with 3 error(s): first error: couldn't list files: 401 Unauthorized
762921 2026/04/12 18:12:49 DEBUG : Lock file removed: **REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck
762922 2026/04/12 18:12:49 ERROR : [31mBisync critical error: march failed with 3 error(s): first error: couldn't list files: 401 Unauthorized [0m
762923 2026/04/12 18:12:49 ERROR : [33mBisync aborted. Error is retryable without --resync due to --resilient mode. [0m
762924 2026/04/12 18:12:49 INFO :
762925 Transferred: 0 B / 0 B, -, 0 B/s, ETA -
762926 Errors: 4 (fatal error encountered)
762927 Checks: 58359 / 58359, 100%, Listed 364909
762928 Elapsed time: 46m5.9s
762929
762930 2026/04/12 18:12:49 DEBUG : 151 go routines active
762931 2026/04/12 18:12:49 DEBUG : sftp://**REDACTED** Closing 16 unused connections
762932 2026/04/12 18:12:56 NOTICE: Failed to bisync with 4 errors: last error was: bisync aborted
asdffdsa
(jojothehumanmonkey)
April 12, 2026, 10:39pm
2
welcome to the forum,
Gustavo_Franca:
rclone v1.72.1
please run rclone selfupdate and test again
Ok! I updated and it's running again now. In about 50 minutes I'll check.
Same error:
2026/04/12 20:39:42 DEBUG : &{fs1:0xc00098c708 fs2:0xc00017a580 abort:false critical:false retryable:false basePath:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_ workDir:**REDACTED**/.cache/rclone/bisync listing1:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst listing2:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst newListing1:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst-new newListing2:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst-new aliases:map[] opt:0xc00077c360 octx:{emptyCtx:{}} fctx:{emptyCtx:{}} InGracefulShutdown:false CleanupCompleted:false SyncCI:<nil> CancelSync:<nil> DebugName: lockFile:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck renames:map[] resyncIs1to2:false march:{ls1:0xc0001e4e40 ls2:0xc0001e4f30 err:0xc001cf2fc0 firstErr:<nil> marchAliasLock:{_:{} mu:{state:0 sema:0}} marchLsLock:{_:{} mu:{state:0 sema:0}} marchErrLock:{_:{} mu:{state:0 sema:0}} marchCtx:0xc0001e4c60} check:{hashType:0 fsrc:<nil> fdst:<nil> fcrypt:<nil>} queueOpt:{logger:{LoggerFn:<nil> Combined:0xc00086f170 MissingOnSrc:0xc00086f1a0 MissingOnDst:0xc00086f1d0 Match:0xc00086f200 Differ:0xc00086f230 Error:0xc00086f260 DestAfter:0xc00086f290 JSON:0xc00086f2c0 DeleteModeOff:false ListFormat:{separator: dirSlash:false absolute:false output:[] csv:<nil> buf:{buf:[] off:0 lastRead:0}} JSONOpt:{Recurse:false NoModTime:false NoMimeType:false ShowEncrypted:false ShowOrigIDs:false ShowHash:false DirsOnly:false FilesOnly:false Metadata:false HashTypes:[]} LJ:<nil> Format: TimeFormat: Separator: DirSlash:false HashType:0 FilesOnly:false DirsOnly:false Csv:false Absolute:false} lock:{_:{} mu:{state:0 sema:0}} once:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} ignoreListingChecksum:false ignoreListingModtime:false hashTypes:map[] queueCI:<nil>} downloadHashOpt:{downloadHash:false downloadHashWarn:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} firstDownloadHash:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}}} lockFileOpt:{stopRenewal:0x227fba0 data:{Session:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_ PID:757915 TimeRenewed:{wall:14010459176284945173 ext:2787362831 loc:0x4cc2ce0} TimeExpires:{wall:647199599 ext:70218831119 loc:0x4cc2ce0}}}}: march completed. err: march failed with 7 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/12 20:39:42 ERROR : march: error during findCheckFiles: march failed with 7 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/12 20:39:42 DEBUG : Lock file removed: **REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck
2026/04/12 20:39:42 ERROR : Bisync critical error: march failed with 7 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/12 20:39:42 ERROR : Bisync aborted. Error is retryable without --resync due to --resilient mode.
2026/04/12 20:39:42 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 8 (fatal error encountered)
Checks: 58470 / 58470, 100%, Listed 366029
Elapsed time: 47m43.2s
2026/04/12 20:39:42 DEBUG : 152 go routines active
2026/04/12 20:39:42 DEBUG : sftp://**REDACTED** Closing 16 unused connections
2026/04/12 20:39:50 NOTICE: Failed to bisync with 8 errors: last error was: bisync aborted
nielash
(Niel)
April 25, 2026, 2:21am
5
Looks like something specific to the webdav backend. Have you tried --webdav-auth-redirect ?
If you are getting an error like "401 Unauthorized" when rclone is attempting to read files from the webdav server then you can try this option.
Your issue is that the --resync run itself is failing. You need to have one successful --resync run before you can run bisync without --resync. --resilient and --recover have no effect during a --resync run.
Sure, I think I already tried this option before, but since it didn't seem to work I removed it. Here is the log for the latest run:
2026/04/25 00:27:42 DEBUG : rclone: Version "v1.73.4" starting with parameters ["rclone" "bisync" "win7:f:" "opencloud_webdav:" "--skip-links" "--resilient" "--recover" "--conflict-resolve" "newer" "--check-access" "--max-delete" "50" "--exclude" "/rootshare/**" "--exclude" "/.space/**" "--tpslimit" "200" "--tpslimit-burst" "250" "--checkers" "16" "--transfers" "8" "--bwlimit" "9Mi" "--create-empty-src-dirs" "--compare" "size,modtime,checksum" "--retries" "10" "--retries-sleep" "10s" "--low-level-retries" "20" "--contimeout" "60s" "--timeout" "300s" "--expect-continue-timeout" "10s" "--log-level" "DEBUG" "--webdav-auth-redirect"]
[...]
2026/04/25 01:10:47 DEBUG : &{fs1:0xc0009be008 fs2:0xc000a92000 abort:false critical:false retryable:false basePath:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_ workDir:{REDACTED}/.cache/rclone/bisync listing1:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst listing2:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst newListing1:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst-new newListing2:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst-new aliases:map[] opt:0xc000449e60 octx:{emptyCtx:{}} fctx:{emptyCtx:{}} InGracefulShutdown:false CleanupCompleted:false SyncCI:<nil> CancelSync:<nil> DebugName: lockFile:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck renames:map[] resyncIs1to2:false march:{ls1:0xc000029440 ls2:0xc000029530 err:0xc001696680 firstErr:<nil> marchAliasLock:{_:{} mu:{state:0 sema:0}} marchLsLock:{_:{} mu:{state:0 sema:0}} marchErrLock:{_:{} mu:{state:0 sema:0}} marchCtx:0xc000029140} check:{hashType:0 fsrc:<nil> fdst:<nil> fcrypt:<nil>} queueOpt:{logger:{LoggerFn:<nil> Combined:0xc000028a80 MissingOnSrc:0xc000028ab0 MissingOnDst:0xc000028b70 Match:0xc000028ba0 Differ:0xc000028c60 Error:0xc000028c90 DestAfter:0xc000028d50 JSON:0xc000028d80 DeleteModeOff:false ListFormat:{separator: dirSlash:false absolute:false output:[] csv:<nil> buf:{buf:[] off:0 lastRead:0}} JSONOpt:{Recurse:false NoModTime:false NoMimeType:false ShowEncrypted:false ShowOrigIDs:false ShowHash:false DirsOnly:false FilesOnly:false Metadata:false HashTypes:[]} LJ:<nil> Format: TimeFormat: Separator: DirSlash:false HashType:0 FilesOnly:false DirsOnly:false Csv:false Absolute:false} lock:{_:{} mu:{state:0 sema:0}} once:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} ignoreListingChecksum:false ignoreListingModtime:false hashTypes:map[] queueCI:<nil>} downloadHashOpt:{downloadHash:false downloadHashWarn:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} firstDownloadHash:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}}} lockFileOpt:{stopRenewal:0x227fba0 data:{Session:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_ PID:3533491 TimeRenewed:{wall:14011590200918408991 ext:3124962987 loc:0x4cc2ce0} TimeExpires:{wall:404094832 ext:70219884468 loc:0x4cc2ce0}}}}: march completed. err: march failed with 2 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/25 01:10:47 ERROR : march: error during findCheckFiles: march failed with 2 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/25 01:10:47 DEBUG : Lock file removed: {REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck
2026/04/25 01:10:47 ERROR : Bisync critical error: march failed with 2 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/25 01:10:47 ERROR : Bisync aborted. Error is retryable without --resync due to --resilient mode.
2026/04/25 01:10:47 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 3 (fatal error encountered)
Checks: 57854 / 57854, 100%, Listed 363311
Elapsed time: 42m59.3s
2026/04/25 01:10:47 DEBUG : 151 go routines active
2026/04/25 01:10:47 DEBUG : sftp://{REDACTED}/f:: Closing 16 unused connections
2026/04/25 01:10:55 NOTICE: Failed to bisync with 3 errors: last error was: bisync aborted
I still have the same errors, here is one for instance:
2026/04/25 00:30:55 DEBUG : _obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA/Restauração Fachada: path1 only
2026/04/25 00:30:55 DEBUG : _obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA/Restauração Fachada: is Dir
2026/04/25 00:30:55 DEBUG : _obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA/Retirada de pastilhas: path1 only
2026/04/25 00:30:55 DEBUG : _obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA/Retirada de pastilhas: is Dir
2026/04/25 00:30:55 ERROR : _obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA: error reading destination directory: couldn't list files: 401 Unauthorized
As a precaution, here is a lsd command on both paths:
rclone lsd win7:"f:_obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA"
-1 2021-03-29 07:32:54 -1 Restauração Fachada
-1 2021-03-29 07:53:07 -1 Retirada de pastilhas
rclone lsd opencloud_webdav:"/_obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA"
-1 2026-03-28 22:26:14 -1 Restauração Fachada
-1 2026-03-28 22:24:55 -1 Retirada de pastilhas
While they are readable here, they may sometimes fail when running bisync, probably due to the OpenCloud server.
Got it. Though this message is a bit misleading. Shouldn't it be suppressed when running --resync for the first time?
2026/04/25 01:10:47 ERROR : Bisync aborted. Error is retryable without --resync due to --resilient mode.
nielash
(Niel)
April 25, 2026, 11:54pm
7
I see what you mean. We should probably do that. Would you like to submit a PR?
Ok, sorry that --webdav-auth-redirect didn't fix it. My best guess would be that OpenCloud is not fully supported at the moment. I note that there is an open PR to add it here:
master ← opencloud-eu:add-vendor-opencloud
opened 03:43PM - 30 Jun 25 UTC
#### What is the purpose of this change?
It adds a new WebDAV vendor OpenClou… d to the webdav backend of rclone.
OpenCloud is a fork of ownCloud InfiniteScale which is actively maintained by some former InfiniteScale developers. It's living on Github under https://github.com/opencloud-eu
#### Was the change discussed in an issue or in the forum before?
Not that I know
#### Checklist
- [x] I have read the [contribution guidelines](https://github.com/rclone/rclone/blob/master/CONTRIBUTING.md#submitting-a-new-feature-or-bug-fix).
- [x] I have added tests for all changes in this PR if appropriate.
- [x] I have added documentation for the changes if appropriate.
- [x] All commit messages are in [house style](https://github.com/rclone/rclone/blob/master/CONTRIBUTING.md#commit-messages).
- [x] I'm done, this Pull Request is ready for review :-)
This PR still does not fix the problems as discussed in https://github.com/rclone/rclone/pull/8172#issuecomment-3015157471 but still suffers from the same problem.
You might consider building that branch and seeing if it works better for you. (I am not the author and cannot vouch for its security or effectiveness.) If you still encounter the error, you might consider reporting it on that PR thread so that the author can address it. Presumably they will be more familiar with OpenCloud and have a better idea of what's going on.
1 Like
I'm not familiar at all with golang, but I could give it a shot. What are the conditions required to identify the first --resync run? Only asserting the listing files and their contents?
Thank you, I wasn't aware there was a PR for OpenCloud. I assume it's safe security wise, since it's made by the vendor themselves. Though it seems to be failing integration tests for now. It might be best to test after they iron out the issues.
nielash
(Niel)
April 26, 2026, 6:55am
9
I think it should be as simple as adding an && !b.opt.Resync to this line:
if err == context.Canceled || err == accounting.ErrorMaxTransferLimitReachedGraceful {
err = nil
b.critical = false
}
if err == nil {
fs.Log(nil, Color(terminal.GreenFg, "Graceful shutdown completed successfully."))
}
}
if b.critical {
if b.retryable && b.opt.Resilient {
fs.Errorf(nil, Color(terminal.RedFg, "Bisync critical error: %v"), err)
fs.Error(nil, Color(terminal.YellowFg, "Bisync aborted. Error is retryable without --resync due to --resilient mode."))
} else {
if bilib.FileExists(b.listing1) {
_ = os.Rename(b.listing1, b.listing1+"-err")
}
if bilib.FileExists(b.listing2) {
_ = os.Rename(b.listing2, b.listing2+"-err")
}
fs.Errorf(nil, Color(terminal.RedFg, "Bisync critical error: %v"), err)
Here's the contributing guide:
# Contributing to rclone
This is a short guide on how to contribute things to rclone.
## Reporting a bug
If you've just got a question or aren't sure if you've found a bug
then please use the [rclone forum](https://forum.rclone.org/) instead
of filing an issue.
When filing an issue, please include the following information if
possible as well as a description of the problem. Make sure you test
with the [latest beta of rclone](https://beta.rclone.org/):
- Rclone version (e.g. output from `rclone version`)
- Which OS you are using and how many bits (e.g. Windows 10, 64 bit)
- The command you were trying to run (e.g. `rclone copy /tmp remote:tmp`)
- A log of the command with the `-vv` flag (e.g. output from
`rclone -vv copy /tmp remote:tmp`)
- if the log contains secrets then edit the file with a text editor first to
This file has been truncated. show original
Alright, I'm going to make a PR when a have some time. Thanks!
1 Like