Closed GoogleCodeExporter closed 8 years ago
> pycurl.error: (56, 'GnuTLS recv error (-9): A TLS packet with unexpected
length was received.')
I had never seen that error (same packages here, ArchLinux), cannot reproduce.
Clearly the server and curl are having trouble understanding each other.
Google shows the error but I've not able to see a common pattern of the problem.
Is the error systematic? always at the same point? what happens with smaller
videos? what if you try from a faster network?
Original comment by tokland
on 25 Jul 2012 at 12:26
> Is the error systematic? always at the same point?
During the two trials once it happened at 45%, and once at 3%
Now I'm trying with the option --api-upload
Later I will try with smaller files.
Original comment by MrDooB...@gmail.com
on 25 Jul 2012 at 2:27
--api-upload does not use curl, so it almost certainly it will work (but it's
not a nice upload, no feedback).
ok, let me posted.
Original comment by tokland
on 26 Jul 2012 at 6:59
Original comment by tokland
on 15 Aug 2012 at 6:10
[deleted comment]
Hello,
I have almost the same problem but my file is 4,32 GB big and it is not
uploaded because the error interrupts the upload.
Versions
youtube-upload: 0.7.3
Python: 2.7.3
python-gdata: Which command shows me the version?
pycurl: Which command shows me the version?
Login to Youtube API: email='########@googlemail.com',
password='*******************'
Start upload using a HTTP post: Hard Corps Uprising - Fail Compilation.mp4 ->
https://uploads.gdata.youtube.com/action/FormDataUpload/AIwbFAQ0-m4QrkfbcV6XwkzY
p400g8h_H-fOFnfGY7_yHsVvpkE54bF8YQSkS8RGFKA-eB32268h70Optg1tDbdx0AZMNgI2eA
Traceback (most recent call last): | ETA: 08:27:25 114.53 K/s
File "/usr/local/bin/youtube-upload", line 519, in <module>
sys.exit(catch_exceptions(EXIT_CODES, main, sys.argv[1:]))
File "/usr/local/bin/youtube-upload", line 111, in catch_exceptions
fun(*args, **kwargs)
File "/usr/local/bin/youtube-upload", line 516, in main
run_main(parser, options, args)
File "/usr/local/bin/youtube-upload", line 449, in run_main
url = upload_video(youtube, options, video_path, len(args), index)
File "/usr/local/bin/youtube-upload", line 368, in upload_video
show_progressbar=not(options.hide_progressbar))
File "/usr/local/bin/youtube-upload", line 164, in post
c.perform()
pycurl.error: (56, 'GnuTLS recv error (-9): A TLS packet with unexpected length
was received.')
Original comment by apexgami...@gmail.com
on 2 Dec 2013 at 3:42
@apexgaming42. Unfortunately OP didn't give more feedback and I don't have more
information on the issue. Try to google a bit to see if you find something.
Also, you can try to upload with the other method, though 4Gb without feedback
is certainly painful
Original comment by tokland
on 2 Dec 2013 at 8:02
Original comment by tokland
on 13 May 2014 at 2:55
Original issue reported on code.google.com by
MrDooB...@gmail.com
on 25 Jul 2012 at 11:39