Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Error during Large uploads. #7

Open
kuroderuta opened this issue Jun 25, 2024 · 10 comments
Open

Unexpected Error during Large uploads. #7

kuroderuta opened this issue Jun 25, 2024 · 10 comments

Comments

@kuroderuta
Copy link

Trying to upload a file that has 116GB I'm encountering the following error after a while:

(Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2427)'))), this also invalidates my cookie file so I need to export it again.

I have tried with smaller video files and it works just fine.

@7x11x13
Copy link
Owner

7x11x13 commented Jun 25, 2024

Have you tried uploading it multiple times? Does it always fail at around the same time?

@kuroderuta
Copy link
Author

Yes, I tried several times. It fails seemingly towards the end of the upload, maybe even at the very end, calculating from the average disk usage during the upload.

@7x11x13
Copy link
Owner

7x11x13 commented Jun 25, 2024

Are you able to upload the video to YouTube normally (through the website)?

@kuroderuta
Copy link
Author

Yes.

@kuroderuta
Copy link
Author

I implemented the progress (it starts from 20% on upload for some reason) and I always get an error on 70%

Step: upload_video, Progress: 70.00%
Authentication error. Retrying in 60 seconds...
Step: start, Progress: 0.00%
Unexpected error during upload: Could not log in to YouTube account. Try getting new cookies
Error type: YTUploaderException
Error details: ('Could not log in to YouTube account. Try getting new cookies',)

@7x11x13
Copy link
Owner

7x11x13 commented Jul 1, 2024

After the large upload fails, are you able to upload a shorter video using the same cookies? Maybe the cookies are becoming invalid before the large file finishes uploading

@kuroderuta
Copy link
Author

I cannot, a failed upload invalidates the cookies. Seemingly the cookies 'expire' during the large uploads for some reason.

@7x11x13
Copy link
Owner

7x11x13 commented Jul 1, 2024

I've made the uploader reload cookies after it uploads the file (and before generating session token), so hopefully it's at least possible to upload such long videos if you save new cookies right before the file upload finishes (which is 70% on the progress bar). I have some ideas for a real fix but it's kind of annoying to test this issue...

@kuroderuta
Copy link
Author

Yeah I understand, I have a fairly fast connection and its still tiresome to test. Anyway I gave the new update a shot, unfortunately still the same behavior as before. Also tested again with a much smaller file with no issues.

@kuroderuta
Copy link
Author

Hey, any progress on the fix? I tried some of the newer build but the same issue remains. Let me know if you want me to test any builds with large file uploads. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants