I resolved my problem.

The problem is simple: using blobstore.createUploadUrl doesn't always work
in production while it's working in development. There's no symptoms, but a
cryptic error 500 and it is why you didn't understood my problem, there's
nothing more to say about it. Before using createUploadUrl, my upload was
working, but well, I couldn't upload large files.

After some time of trying to resolve this, I jumped on a post where the guy
was sending malformed httprequest (missing space, etc.) and started to
wonder if mine were well formed, which is weird since I'm sending a form.
Then I remembered that I added URL Parameters! And those where the ones
that was causing my request to not being forwarded to my upload servlet
correctly!

Conclusion: don't use url parameters with createUploadUrl! <- I ddn't tryed
to add the url parameters inside the createUploadUrl, maybe it would have
worked.

I used hidden fields instead which I think is a better solution than adding
parameters into the url anyway.

Cheers,

On Sun, Mar 18, 2012 at 5:08 AM, Stuart Langley <slang...@google.com> wrote:

> I read your post a few times but I'm struggling to understand what it is
> you're trying to say - can you make it a little clearer what your symptoms
> are and what you've tried to do to fix it?
>
> Thanks
>
>
> On Sunday, 18 March 2012 04:16:45 UTC+11, Christian Goudreau wrote:
>>
>> Hi folks,
>>
>> I'm hitting a blocker issue in one of our projects where my files doesn't
>> get uploaded to Google storage when I use the blobstore generated upload
>> handler, while my files get uploaded to Google storage when I don't use the
>> blobstore generated upload handlers. This is important to use because we
>> need to store files the goes between 100 and 200mo, which doesn't work
>> without the blobstore generated upload handler.
>>
>> And this is weird, because it's working locally and it's not when I
>> publish to app engine...
>>
>> My GAE version is 1.6.3 on my local environment.
>>
>> --
>> Christian Goudreau
>> www.arcbees.com
>>
>>   --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-java/-/z3wfsoAV7EoJ.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>



-- 
Christian Goudreau
www.arcbees.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to