Hi Guys,
We are integrating Picasa into our iPhone Apps, everything works fine
and the framework is great!

Our app will upload a video file to Picasa (1MB-20MB), and we are
using the chunk upload, the problem is sometimes the server will
return us a 502 error. is it our coding issue or the server side
issue?

any help is appreciated!
Zhu

----------------------Traffic logs of the failure----------
addPhotoTicket:finishedWithEntry:error: (bytes
525000-599999/134193829)

2011-03-04 03:31:18 +0000
Request: PUT
https://photos.googleapis.com/data/upload/resumable/media/create-session/feed/api/user/drizztbobxu010/albumid/5577074677911313329?upload_id=AEnB2Uqg5-iAU6rtgr03b_ZPfi6ObsVj8TJHQX_Ndqj6VPjdzMsfEwLv_p32uOrdXOYQTQBxsOBpKDfeHc3LlNP8U44SSfMe8A
Request headers:
  Content-Length: 75000
  Content-Range: bytes 525000-599999/134193829
  Content-Type: video/quicktime
  User-Agent: com.roxio.muse-1.0 GData-ObjectiveC/1.11 iPhone/4.2.1
(gzip)

Request body: (75000 bytes)
<<75000 bytes>>

Response: status 502
Response headers:
  Content-Length: 1409
  Content-Type: text/html; charset=UTF-8
  Date: Fri, 04 Mar 2011 03:36:45 GMT
  Server: GFE/2.0

Response body: (1409 bytes)


<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
<style><!--
body {font-family: arial,sans-serif}
div.nav {margin-top: 1ex}
div.nav A {font-size: 10pt; font-family: arial,sans-serif}
span.nav {font-size: 10pt; font-family: arial,sans-serif; font-weight:
bold}
div.nav A,span.big {font-size: 12pt; color: #0000cc}
div.nav A {font-size: 10pt; color: black}
A.l:link {color: #6f6f6f}
A.u:link {color: green}
//--></style>
<script><!--
var rc=502;
//-->
</script>
</head>
<body text=#000000 bgcolor=#ffffff>
<table border=0 cellpadding=2 cellspacing=0 width=100%><tr><td
rowspan=3 width=1% nowrap>
<b><font face=times color=#0039b6 size=10>G</font><font face=times
color=#c41200 size=10>o</font><font face=times color=#f3c518
size=10>o</font><font face=times color=#0039b6 size=10>g</font><font
face=times color=#30a72f size=10>l</font><font face=times
color=#c41200 size=10>e</font>&nbsp;&nbsp;</b>
<td>&nbsp;</td></tr>
<tr><td bgcolor="#3366cc"><font face=arial,sans-serif
color="#ffffff"><b>Error</b></td></tr>
<tr><td>&nbsp;</td></tr></table>
<blockquote>
<H1>Server Error</H1>
The server encountered a temporary error and could not complete your
request.<p>Please try again in 30 seconds.

<p>
</blockquote>
<table width=100% cellpadding=0 cellspacing=0><tr><td
bgcolor="#3366cc"><img alt="" width=1 height=4></td></tr></table>
</body></html>

-----------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to