I will post some sample urls so people can test them. They work perfectly 
atm, but when the problem comes back at random times they can even send to 
error 500 pages.

The urls had problems loading images when using the resize parameter 
"=sXXX" to 300 or higher, they loaded lightning fast at 100. Once again, 
the problem comes and goes so I can't be sure wether you'll be able to test 
them when the 'bug' is active.

Here, the urls:
http://lh3.ggpht.com/BDAuWgHbS3xuPzHiW24vmk9-iZyl3GwSX2s_IQnvIUsRavqIMZHgMlvKHl4-Z-SGDMv4XbwhycuYLPof0UGgAfCOUcR0mr0

http://lh4.ggpht.com/4DkVm3Cq4T4WvuZ_8NvSmYBpi8ZJ20GuHN2DTrUncbPpSQOiDkYO5nujRrH-jyG9fgammx4c6URK9oH8ynukzPbz4klOt4k

http://lh6.ggpht.com/Q87IeWqn6GRs0x2aYDjVcTX6iXQuqXhJ-a_YjraSAsFUwCPMICVv_LqA9FmWWu10CR874fFzvCVqZ3nwXKmVPUYXXbuvv58

http://lh5.ggpht.com/zPhGm17A2UewlepgEAQEJezPcC1tsujpcUSrDzI_DCa9GYYfPGVIWNL6ryC4PJE1yD4hctsVqC9-7bfh382XFp-B-CbnDNY

Those urls are linked to image/jpeg files in Google Cloud Storage and have 
different dimensions and file sizes.

It has been working as intended this morning with a brief interruption of 
half an hour...


On Thursday, September 26, 2013 9:40:37 AM UTC+2, Aritz Uriarte wrote:
>
> Worth noting is that I store images in Google CLoud Storage and generate 
> those urls with a BlobKey created from that Google Cloud Storage file. I 
> changed it some time ago as uploading files to the BlobStore is considered 
> deprecated and will not be supported in the near future.
>
> The problem comes and goes and it worked perfectly before (no changes were 
> made by me), so I am inclined to think it is Google's issue.
>
> Thanks for your post Waleed!
>
> On Thursday, September 26, 2013 8:55:16 AM UTC+2, Waleed wrote:
>>
>> I started noticing something that might be related today. I store images 
>> in the Blob Store as well, and the generated serving URL works when I open 
>> it in a browser. But that same URL returns 404 when I fetch it from inside 
>> the app with urlfetch. It wasn't working for a few hours, but now it is. 
>> Something is not right. 
>>
>>
>>
>>
>> On Wed, Sep 25, 2013 at 11:50 PM, Aritz Uriarte de Alayo <
>> [email protected]> wrote:
>>
>>> Hi Vinny!
>>>
>>> Well, the thing about this issue is that all urls I stored in my Model 
>>> are correct, I mean, they point out to the correct pictures, but Google 
>>> Cloud Storage or what have you is having some performance problems. 
>>>
>>> I say that because it seems to be fixed from time to time only to get 
>>> the same problem back for 1-2 hours and then wokr fine again. The Image 
>>> files are "image/jpeg", but as I said, those urls I use work wonders 
>>> usually, it has only been recently that they are being slow showing the 
>>> pictures.
>>>
>>> The aspect ratio is maintained if you use the "=sXXX" param at the end 
>>> of the url as far as I know, and the maximum parameter value I send is 640. 
>>> To be fair, when I set that parameter to 100 or 200 it works blazing fast, 
>>> but when there are performance issues the server randomly sends me to 500 
>>> Error pages when using a url with "=s640". Another fun fact is that if you 
>>> reload that url in the browser once or twice it ends up loading the image 
>>> without issues, and further accesses to said url (with the parameter set to 
>>> 640) are instantaneous.
>>>
>>> To make it clear, I use the ( 
>>> ImagesServiceFactory.getImagesService().getServingUrl(suo); ) method to 
>>> generate the url once and store it in my Model. Such url is created using a 
>>> BlobKey generated from a Google Cloud Storage image/jpeg file and then I 
>>> serve it with different resolutions attaching "=sXXX" at the end of such 
>>> url.
>>>
>>> The problem seems to come and go these days while it worked perfectly 
>>> for over 2 weeks prior to this, which leads me to think it has something to 
>>> do with Google Cloud Storage maintenance or BlobStore acting weird.
>>>
>>> Anyway, thanks for the reply!
>>>
>>> On Wednesday, September 25, 2013 3:47:30 PM UTC+2, Vinny P wrote:
>>>>
>>>> On Mon, Sep 23, 2013 at 8:32 AM, Aritz Uriarte de Alayo <
>>>> [email protected]> **wrote:
>>>>
>>>>
>>>>> We have an application that stores image files in Google Cloud Storage 
>>>>> and uses Blob Store to serve the ImageUrls. To prevent the server lag 
>>>>> when 
>>>>> generating said urls we decided to store them in some Model classes. 
>>>>> Then, 
>>>>> if we needed to serve the images at different pixel resolutions we could 
>>>>> attach "=sXXX" to the end of the url as mentioned in the documentation.
>>>>>
>>>>> Now this has been working perfectly up until this past friday 
>>>>> (09/20/2013), ever since then, some urls would take like 6-8 seconds to 
>>>>> load the image or just straight up send an error message like this
>>>>>
>>>>
>>>>
>>>> ImagesService occasionally has difficulty processing certain types of 
>>>> images. For the images you're encountering problems with, do they share 
>>>> anything in common? For example, are they extremely large, small, a 
>>>> certain 
>>>> filetype, etc?
>>>>
>>>> Try resizing the image by maintaining the aspect ratio; i.e. if you 
>>>> reduce the height by 50%, also reduce the width by 50%. If you must resize 
>>>> by differing percentages, try instead to use the crop tool.
>>>>
>>>>  
>>>>  
>>>> -----------------
>>>> -Vinny P
>>>> Technology & Media Advisor
>>>> Chicago, IL
>>>>
>>>> App Engine Code Samples: 
>>>> http://www.**learntogoogleit.com<http://www.learntogoogleit.com/>
>>>>  
>>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/google-appengine.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to