gae blobstore 502 error

177 views
Skip to first unread message

Alejandro J Gómez López

unread,
Oct 3, 2012, 7:25:26 PM10/3/12
to google-a...@googlegroups.com
Im'm trying to upload big files to blobstore using curl.

Sample: 
curl -F file=@file.sample http://id.appspot.com/upload_url/

But always throw me this error (502 error).

<p><b>502.</b> <ins>Thatâs an error.</ins>
<p>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.  <ins>Thatâs all we know.</ins>

I don't know wat to do :(

thx in advance for the help :)

Stuart Langley

unread,
Oct 3, 2012, 9:47:02 PM10/3/12
to google-a...@googlegroups.com
you need to upload to the URL generated by calling blobstore.create_upload_url

Alejandro J Gómez López

unread,
Oct 4, 2012, 12:15:52 PM10/4/12
to google-a...@googlegroups.com
Thx for answering.

Of course i upload to the generated url, and all goes good with small files. But, when i try with a big file (1,5G for example) after some minutes throw this error.

Im desesperated. thx.

alex

unread,
Oct 4, 2012, 12:42:34 PM10/4/12
to google-a...@googlegroups.com
If I'm not mistaken Blobstore single call limit is 32M. You could try Cloud Storage upload HTML form or Google Drive as alternatives.
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/DXWom9YAw_cJ.
>
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.

Stuart Langley

unread,
Oct 4, 2012, 8:30:38 PM10/4/12
to google-a...@googlegroups.com
You can upload blobs of any size to the URL returned from create_upload_url, provided your client doesn't disconnect during the upload.

what's the app_id ?
Reply all
Reply to author
Forward
0 new messages