You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dropbox: Unable to decrypt returned paths from changeNotify #5165
As soon as many files are tried to be read at the same time, the "too_many_requests/..: Too many requests or write operations. Trying again in 300 seconds." error occurs. From that point on, no further log entries appear and the mount seems to have hung up. Neither a timeout nor any other attribute helps. Only a restart of the service solves the problem.
An attempt at 'df -h' or an 'ls' freezes completely.
With my Google Drive mount, the problem does not occur. I get i/o errors sometimes but it does not freeze.
What is your rclone version (output from rclone version)
rclone v1.54.1
Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Ubuntu 18.04
Which cloud storage system are you using? (e.g. Google Drive)
Dropbox
The command you were trying to run (e.g. rclone copy /tmp remote:tmp)
A message that I did not notice before or did not appear where I am at a loss right now. There are just increased problems that occur with individual folders:
2021/03/24 10:53:53 NOTICE: Encrypted drive 'dropbox:': ChangeNotify was unable to decrypt "1l77gk0gcijgrei4hlvr7ugoc/569vnmue4q5nvl9s5rhu8h2bt8/u8kc3jgspqf9sgh1ndi38nopmf9n5cdnpmbugv8k9sr8b5squlnt85l00sah3gp239oear3khr8je": illegal base32 data at input byte 25
2021/03/24 10:53:53 NOTICE: Encrypted drive 'dropbox:': ChangeNotify was unable to decrypt "1l77gk0gcijgrei4hlvr7ugoc/569vnmue4q5nvl9s5rhu8h2bt8/u8kc3jgspqf9sgh1ndi38nopmf9n5cdnpmbugv8k9sr8b5squlnt85l00sah3gp239oear3khr8je/f68s6an5n2fmffai81oqumadhfcmb8qj7omahnae53u3l9sm8uut9u2pg8q525q3p1o0n34g25pgu": illegal base32 data at input byte 25
Otherwise, it runs just felt more stable... but I continue to observe it...
@wolveix Can you take a look at this? I am guessing the entryPath manipulation we are doing in the changeNotifyRunner function in the dropbox remote is breaking the crypt decryption logic.
changed the title [-]rclone mount with Dropbox (too many requests error, mount freeze)[/-][+]dropbox: Unable to decrypt returned paths from changeNotify[/+]on Mar 24, 2021
Do I understand this correctly: Everything is fine with my data, but polling is supported in the beta and here decryption does not work for data checked via polling?
Damn, of course it was something simple. I'm unfamiliar with the differences between TrimLeft and TrimPrefix. I'll test out the fix shortly as I was able to reliably reproduce the issue in testing.
I just had a quick scan through the code looking for places where the path name was manipulated and that leapt out at me! Or rather I thought - what does strings.TrimLeft - not used that before - do and looked up the docs for it.
Activity
darthShadow commentedon Mar 24, 2021
Can you try the latest beta and see if you can reproduce the issue with it? If so, please paste the log from that.
dennisoderwald commentedon Mar 24, 2021
@darthShadow Thank you for your quick support. I'll test it out and get back to you.
dennisoderwald commentedon Mar 24, 2021
I am now testing with the following version:
A message that I did not notice before or did not appear where I am at a loss right now. There are just increased problems that occur with individual folders:
Otherwise, it runs just felt more stable... but I continue to observe it...
darthShadow commentedon Mar 24, 2021
Can you please add your redacted config?
darthShadow commentedon Mar 24, 2021
@wolveix Can you take a look at this? I am guessing the
entryPathmanipulation we are doing in thechangeNotifyRunnerfunction in the dropbox remote is breaking the crypt decryption logic.[-]rclone mount with Dropbox (too many requests error, mount freeze)[/-][+]dropbox: Unable to decrypt returned paths from changeNotify[/+]robtme commentedon Mar 24, 2021
I'll look into this shortly.
dennisoderwald commentedon Mar 24, 2021
dennisoderwald commentedon Mar 25, 2021
Do I understand this correctly: Everything is fine with my data, but polling is supported in the beta and here decryption does not work for data checked via polling?
darthShadow commentedon Mar 25, 2021
Yes, you are correct.
dennisoderwald commentedon Mar 25, 2021
Okay, then I am reassured :) And look forward to @wolveix his fix.
21 remaining items
ncw commentedon Apr 19, 2021
I just had a quick scan through the code looking for places where the path name was manipulated and that leapt out at me! Or rather I thought - what does
strings.TrimLeft- not used that before - do and looked up the docs for it.dropbox: fix Unable to decrypt returned paths from changeNotify - fixes
ncw commentedon Apr 21, 2021
I've merged this to master now which means it will be in the latest beta in 15-30 minutes and released in v1.56
I'll also put it in v1.55.1
jkristoph commentedon Apr 21, 2021
I'm seeing polling functioning perfectly for some files, where others are being omitted...
ncw commentedon Apr 22, 2021
Omitted as in not present in the poll? That is likely a different problem so can you make a new issue with instructions on how to reproduce?
dennisoderwald commentedon Apr 22, 2021
@ncw Thanks a lot, the fix helped! Had you seen my comment (#5165 (comment)) regarding broken files or was it lost?
ncw commentedon Apr 25, 2021
Great
I'm not sure what the problem is here?
dennisoderwald commentedon Apr 25, 2021
@ncw Providers like Dropbox check the state of the file when uploading and if the file is corrupted, the following error is returned:
This will cause the file to be uploaded again with each execution until it finally fails with the error.
ncw commentedon Apr 25, 2021
The above error might be caused by a local file that was shortened during the upload process or something like that.
If you can make a reproduction for this, can you open a new issue with this in and we can look further.
Thanks
dropbox: fix Unable to decrypt returned paths from changeNotify - fixes
dropbox: fix Unable to decrypt returned paths from changeNotify - fixes