"The API call memcache.Set() was cancelled"

184 views
Skip to first unread message

Joshua Fox

unread,
Feb 14, 2018, 2:30:07 PM2/14/18
to google-a...@googlegroups.com
I am getting this error on calls to Memcache, a lot.  

Logs show that this happens only 1 second into the start of the HTTP request to  GAE Standard Env , so it's not a timeout.

Also, calls to Memcache are not too frequent.

What is causing this?  

 The API call memcache.Set() was cancelled because the thread was interrupted while waiting for concurrent API calls. com.google.apphosting.api.ApiProxy$CancelledException: The API call memcache.Set() was cancelled because the thread was interrupted while waiting for concurrent API calls. at  com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:89) at com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:89) at com.google.appengine.api.memcache.MemcacheServiceImpl.quietGet(MemcacheServiceImpl.java:26) at com.google.appengine.api.memcache.MemcacheServiceImpl.put(MemcacheServiceImpl.java:79) 

Kenworth (Google Cloud Platform)

unread,
Feb 14, 2018, 5:15:35 PM2/14/18
to Google App Engine
Since you rightfully posted this also at StackOverflow, I will help you on that thread. Future discussions should be made on StackOverflow since this is off-topic for the platform which is used mainly for general discussions of Google Cloud products and services. 

https://stackoverflow.com/questions/48794843/google-app-engine-memcache-api-throws-memcache-set-was-cancelled

Joshua Fox

unread,
Feb 18, 2018, 2:14:09 AM2/18/18
to google-a...@googlegroups.com
The cause was that the request was exited before Memcache was called. 





On Thu, Feb 15, 2018 at 12:15 AM, 'Kenworth (Google Cloud Platform)' via Google App Engine <google-a...@googlegroups.com> wrote:
Since you rightfully posted this also at StackOverflow, I will help you on that thread. Future discussions should be made on StackOverflow since this is off-topic for the platform which is used mainly for general discussions of Google Cloud products and services. 

https://stackoverflow.com/questions/48794843/google-app-engine-memcache-api-throws-memcache-set-was-cancelled

--
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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3b931bc9-3d95-4408-8814-7c875bcbb37d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
 

JOSHUA FOX
Director, Software Architecture | Freightos



T (Israel): +972-545691165 | T (US):  +1-3123400953  
Smooth shipping.



Reply all
Reply to author
Forward
0 new messages