Hi,
it seems like that uploading files that are lager than round about 210MB to OneDrive is resulting in an error like this:
2019/05/07 14:36:19 DEBUG : vojr7qh51lcc4sed43pnf1jop0/6e2js5jslmk60fvh0u2ad36sj8/0a2u13l1vvgvorj0egi0chalq3s8u8rmh9gbekvl9ekqnuetpohg: Uploading segment 199229440/5109523566 size 10485760
2019/05/07 14:36:22 DEBUG : vojr7qh51lcc4sed43pnf1jop0/6e2js5jslmk60fvh0u2ad36sj8/0a2u13l1vvgvorj0egi0chalq3s8u8rmh9gbekvl9ekqnuetpohg: Uploading segment 209715200/5109523566 size 10485760
2019/05/07 14:36:22 DEBUG : Couldn't decode error response: invalid character '<' looking for beginning of value
2019/05/07 14:36:22 DEBUG : vojr7qh51lcc4sed43pnf1jop0/6e2js5jslmk60fvh0u2ad36sj8/0a2u13l1vvgvorj0egi0chalq3s8u8rmh9gbekvl9ekqnuetpohg: Error encountered during upload: 400 Bad Request:
2019/05/07 14:36:22 DEBUG : vojr7qh51lcc4sed43pnf1jop0/6e2js5jslmk60fvh0u2ad36sj8/0a2u13l1vvgvorj0egi0chalq3s8u8rmh9gbekvl9ekqnuetpohg: Cancelling multipart upload
2019/05/07 14:36:22 ERROR : file1.bin: Failed to copy: 400 Bad Request:
2019/05/07 14:36:22 ERROR : file1.bin(0xc001482f60): failed to transfer file from cache to remote: 400 Bad Request:
2019/05/07 14:36:22 DEBUG : file1.bin(0xc001482f60): >close: err=failed to transfer file from cache to remote: 400 Bad Request:
2019/05/07 14:36:22 ERROR : file1.bin(0xc001482f60): RWFileHandle.Flush error: failed to transfer file from cache to remote: 400 Bad Request:
2019/05/07 14:36:22 DEBUG : &{file1.bin (rw)}: >Flush: err=failed to transfer file from cache to remote: 400 Bad Request:
2019/05/07 14:36:22 DEBUG : &{file1.bin (rw)}: Release:
2019/05/07 14:36:22 DEBUG : file1.bin(0xc001482f60): RWFileHandle.Release nothing to do
2019/05/07 14:36:22 DEBUG : &{file1.bin (rw)}: >Release: err=<nil>
2019/05/07 14:36:52 INFO : Cleaned the cache: objects 4 (was 4), total size 4.757G (was 4.757G)
2019/05/07 14:37:52 INFO : Cleaned the cache: objects 4 (was 4), total size 4.757G (was 4.757G)
2019/05/07 14:38:52 INFO : Cleaned the cache: objects 4 (was 4), total size 4.757G (was 4.757G)
2019/05/07 14:39:52 INFO : Cleaned the cache: objects 4 (was 4), total size 4.757G (was 4.757G)
2019/05/07 14:40:52 INFO : Cleaned the cache: objects 4 (was 4), total size 4.757G (was 4.757G)
2019/05/07 14:41:52 INFO : Cleaned the cache: objects 4 (was 4), total size 4.757G (was 4.757G)
2019/05/07 14:42:52 INFO : Cleaned the cache: objects 4 (was 4), total size 4.757G (was 4.757G)
I used the “mount” option which comes with rclone. The complete command:
rclone -vv mount --vfs-cache-mode full --vfs-read-chunk-size 100M --vfs-read-chunk-size-limit 0 --buffer-size 128M OneDrive_crypt: onedrive/
I’ve also tested unsetting vfs-read-chunk-size as well as buffer-size 0M and buffer-size 256M. However, the result always is the same.
Thanks in advance.
PS: I’m using the built-in encryption which comes with rclone as you can see in the command above (remote name: OneDrive_crypt).