Hash mismatch - case sensitive

What is the problem you are having with rclone?

Sometimes checking downloaded file vs server file, the hash is lowercase vs uppercase and does not match. Out of about 10K files, it happened 31 times. It appears to be the same files each time I run the command, my hypothesis is that the proton drive server sometimes stores hashes with a different case than what rclone is expecting.

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

rclone v1.64.2

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 6.2.6-76060206-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.3
  • go/linking: static
  • go/tags: none

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

protondrive

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

rclone sync -P -vv --checkers=10 --size-only drive:folder folder

The rclone config contents with secrets removed.

[drive]
type = protondrive
username = myEmail
password = pass
2fa = sixdigitCodeHre
client_uid = stringValueHere
client_access_token = stringValueHere
client_refresh_token = stringValueHere
client_salted_key_pass = stringValueHere

A log from the command with the -vv flag

About 30 of these errors, just different files.

ERROR : myfile.partial: corrupted on transfer: sha1 hash differ "BFAC50DE6235DEAAAB7A63030EB7037AFB4143AE" vs "bfac50de6235deaaab7a63030eb7037afb4143ae"

welcome to the forum,

have you seen this, might be related?
https://github.com/rclone/rclone/pull/5715

Can you report that on GitHub please. It looks like a bug but it should be easy to fix. Thank you.

1 Like

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