-
Notifications
You must be signed in to change notification settings - Fork 119
Files >1.6 GB fail to upload #12
Comments
FWIW 401s generally correspond to the OAuth2 token expiring (as it does every hour, which is a bother), so that suggests that there is some code path that doesn't refresh the token and retry after a 401. I'm pretty sure all of the skicka code paths do handle this case, so I worry a little that there's something in the Drive API that doesn't handle this, and wherein if we refresh and retry, it will retry from scratch (and then timeout again). Anyway, I'll see if I can reproduce (and then figure out where exactly it's failing...) |
Ah. This probably means the token expires during the upload. |
Still needs comments, lots of debugging code and FIXMEs are still in there. There are currently some issues with refreshing OAuth2 tokens for uploads that go over an hour. This should fix issue #12 once it all works.
Hi. I have the same problem as described. The new version of skicka won't give an credential error msg. instead, it keeps uploading and going non-stop. Here's one example I'm trying to upload (7.92GB). It faced the same problem but keeps trying(?) to re-upload it (so it uploads more than 100% lol). Is there anyway to fix it? Thanks! [root@alarm:/Volume/Stor/Torrent/Completed/Lucia.2014.BluRay.1080p.DTS.x264-CHD (8187.62 Mb)]# skicka upload Lucia.2014.BluRay.1080p.DTS.x264-CHD.mkv /Mov_UL/Lucia.2014.BluRay.1080p.DTS.x264-CHD |
Resumable uploads for large files are tested and landed in e8f2736; if you can try it out and see if that fixes this for you, I'd be interested to hear. |
Closing under the belief that this has been fixed with the resumable upload path. |
When I upload files >1.6GB, the upload runs for a long time, then fails with
error *googleapi.Error googleapi: Error 401: Invalid Credentials, authError
. The file exists in Drive as a 0-byte file.This sounds like a server problem, but perhaps there is a workaround possible.
The text was updated successfully, but these errors were encountered: