file.create() throws an ApiDeadlineExceededException very frequently

53 views
Skip to first unread message

Gaurav Misra

unread,
Feb 1, 2012, 12:13:45 PM2/1/12
to google-a...@googlegroups.com
Hi,

We are seeing this error very very frequently times when calling file.createBlobStore API. We are on the 1.6.1 Java SDK. This could cause service disruption.

Also we are seeing that once this exception occurs, it happens a few more times in succession.

Your help in this matter is greatly appreciated.

Gaurav

Robert Kluin

unread,
Feb 2, 2012, 1:09:06 AM2/2/12
to google-a...@googlegroups.com
Hi Gaurav,
It is possible that you'll occasionally see services have small
disruptions. Was it happening on every call, or only a few? Did it
happen in small bursts or for long periods of time? If it happens to
a majority of calls for a prolonged period, I'd file a production
issue.

You might also want to add logic to your code that will retry if a
deadline is hit.


Robert

> --
> 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/-/D9rqPHiiOWgJ.
> 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.

Gaurav Misra

unread,
Feb 2, 2012, 1:23:45 AM2/2/12
to google-a...@googlegroups.com
Hi Robert,

Thanks for your quick Response. It was only happening sporadically and and in bursts. I am not catching it and will retry a couple of times on failure.

Gaurav

Gaurav Misra

unread,
Feb 5, 2012, 12:24:06 AM2/5/12
to google-a...@googlegroups.com
Hi Robert,

I tried that solution and it has helped reduce the rate but with 4 test users we are still seeing a very high rate for these errors. I try three times to make it work but it still fails. I think if I try more than a few times, I might hit the request timeout deadline, and its not good for the user to wait a long time either.

Thanks for your help,
Gaurav

Robert Kluin

unread,
Feb 5, 2012, 11:46:05 PM2/5/12
to google-a...@googlegroups.com
Hi Gaurav,
I wonder if this issue is related to how your code works. In the
past I've used the files api to write a lot of blobs, via tasks,
simultaneously without issues. If you're able to put together some
simple code and instructions to replicate the issue with that little
load, someone can spot the issue. You might also consider filing an
issue.

Another idea to experiment with is adjusting the RPC deadline. If
you reduce it, you'll get the timeout fast which will allow you to
retry more times. In some cases, this can help.


Robert

> --
> 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/-/dQ3ipcgw7F4J.

Filip

unread,
Feb 8, 2012, 5:54:58 AM2/8/12
to Google App Engine
Hi,
I have the same problem today. My app is throwing
ApiDeadlineExceededException for last 10 hours because of
file.create()! It seems that blobstore service is down because the
app works without change for last two months well.

com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The
API call file.Create() took too long to respond and was cancelled

I'm really angry because I already pay for this toy called GAE!

Best regards
Filip

ksjun

unread,
Feb 8, 2012, 9:18:15 AM2/8/12
to Google App Engine
My application has same problem today.

APP-ID: momonote-api

Johan Euphrosine

unread,
Feb 8, 2012, 9:22:55 AM2/8/12
to google-a...@googlegroups.com
Hi Filip, 

Please file a new production issue with your appid, and a public url to reproduce the problem.

Also note that the File API is still experimental and not covered by the SLA:

--
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations
Reply all
Reply to author
Forward
0 new messages