I was testing Plex with a decrypted vault last night and my stream kept pausing. This morning when I looked at the terminal in OS X, I am seeing the error below. Not only for this file but several others which I didn’t even try to play. Any ideas?
2016/10/19 21:54:36 Vault/Movies/test.avi: ReadFileHandle.Read error: failed to authenticate decrypted block - bad password?
I can’t find it anywhere (I get a lot of email!) Can you email it again to nick@craig-wood.com and put “rclone logs from aneuploid” in the subject please?
Thanks - got it this time (had to rescue it out my spam box for some unknown reason!)
The only strange thing in the log is that your media player opens and closes the file a couple of times before reading from it. I don’t know why though…
Apparently rclone managed to read about 150MB of data from the file before it got the ‘bad password’ error.
Can you try downloading the file that gave the error file with rclone (not with fuse) to see if it downloads correctly? So something like
I’ve seen this from other Plex logs in other threads. I think it is just the way plex processes them… and it delays open times for those users unfortunately.
I renamed the file without the (2002) at the end and uploaded it to ACD and I am still getting the bad password error. I then was able to download the file from ACD to my desktop and it plays fine.
Also I’m concerned there is a problem if you do lots of activity with rclone mount that there is something it isn’t releasing properly - to see this run with the --debug-fuse flag and look at all the messages like this you get when you shut it down with fusermount.
Can you try this beta please - it should return an “unexpected EOF” error instead of the “failed to authenticate block” error.
While on its own this isn’t very significant, it will allow me to retry the connection which will fix this issue properly. So if you could have a go with this beta and let me know what happens.
crypt: return unexpected EOF instead of Failed to authenticate decrypted block
Streams which truncated early with an EOF message would return a
“Failed to authenticate decrypted block” error. While technically
correct, this isn’t a helpful error message as it masks the underlying
problem. This changes it to return “unexpected EOF” instead.
The rest of rclone knows it should retry such errors.