Monday, April 4, 2011

[YouTube-API] 503 error when uploading a file via browser upload API

Hi.

We have a website that uses Youtube browser upload API to let users
upload their music video to Youtube channel. But since today (April,
4) I receive 503 HTTP error (Service Unavailable) with empty response
body for POST request when try to upload a file. Here are the request
and response headers:

Request: POST
http://uploads.gdata.youtube.com/action/FormDataUpload/AIwbFARRjutz2toyZvEHt5VdHjvve2hLP4f_byXgp_91MLerA_LYXxwZmqROoHOwRDKE3iCTedCRwWFYt8bZnEAoVTkJaDIAcg?nexturl=http%3A%2F%2F[website
URL]%2Fphp%2Fvideo-uploader%2Fstore.php%3Fhash%3D562541550%26vid%3D102
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/
*;q=0.8
accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
accept-encoding: gzip,deflate
accept-language: en-us,en;q=0.5
content-length: 714248
content-type: multipart/form-data;
boundary=---------------------------2931495037448
host: uploads.gdata.youtube.com
keep-alive: 115
proxy-connection: keep-alive
referer: http://[website URL]/php/video-uploader/file-upload-
form.php
user-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.2.11) Gecko/20101012 Firefox/3.6.11

<< 503 Service Unavailable 0B

cache-control: no-cache, no-store, must-revalidate
content-length: 0
content-type: text/html
date: Mon, 04 Apr 2011 21:49:30 GMT
expires: Fri, 01 Jan 1990 00:00:00 GMT
pragma: no-cache
server: Upload Server Built on Mar 25 2011 18:21:12 (1301102472)


I stripped IP addresses and website URL, if you need them, or if you
need developer key, I can send them privately. I have also recorded
upload session using mitmdump (python logging proxy server), you can
download log file from here: http://egor.000space.com/log/log4 . I
tried to upload small 600 Kb video file.

My email is egorinsk (at) gmail (dot) com, if you'll need it.

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment