After more testing, I've confirmed:  if the url provided to
blobstore.create_upload_url() is secured by secure:always in app.yaml,
then blobinfo (and probably other post data) does not arrive to the
redirect url.

Issue Tracker:  http://code.google.com/p/googleappengine/issues/detail?id=3463


On Jul 14, 11:50 am, johnP <[email protected]> wrote:
> Hi -
>
> I have a similar problem.  Everything functions correctly on the dev
> appserver, yet fails on the production server.  The general symptom is
> that the blob gets uploaded, and is saved, but after redirect, there
> is no data related to the BlobInfo object (and in general, all POST
> data is missing) in my request object.
>
> I contacted Tim - and he said his problem was resolved by shutting off
> "secure: always"  in the app.yaml for the upload handler.
>
> In my case, the url I provide to blobstore.create_upload_url is also
> secured by secure: always.  But I don't have the convenience of
> loosening this security requirement, because I have Django set to only
> provide a session cookie via HTTPS.
>
> Are there any workarounds possible?
>
> Thanks -
>
> johnP
>
> On Jul 7, 3:43 pm, hawkett <[email protected]> wrote:
>
>
>
> > In firebug or chrome dev tools can you see the redirect response from
> > the image upload?
>
> > On Jul 6, 8:18 pm, "tim.romanowski" <[email protected]> wrote:
>
> > > I have followed the examples for uploading images using the
> > >blobstore.  I am able to upload images to the development server
> > > fine.  However when I deploy my code to the live servers the redirect
> > > after upload does not work.
>
> > > Here are some details:
>
> > > -- everything works fine on the development server ( version 1.3.5 )
> > > -- example url = "/imgupload"
> > > -- I useblobstore.create_upload_url("/imgupload")
> > > -- I can see the image in the blob viewer through the dashboard so the
> > > file upload works
> > > -- after the upload finishes I see my upload url the address bar "/
> > > imgupload"  but there is no source for the page
> > > -- there are not any logs created
>
> > > With the lack of logs / error messages / source I am having trouble
> > > debugging what is happening on the app engine server.
>
> > > Has anyone seen this before?
>
> > > Thanks for the help
>
> > > Tim

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en.

Reply via email to