google-app-engine


Google App Engine Application Error 5


I frequently get this Application error. What does this mean ?
File "/base/data/home/apps/0xxopdp/10.347467753731922836/matrices.py", line 215, in insert_into_db
obj.put()
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 895, in put
return datastore.Put(self._entity, config=config)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 404, in Put
return _GetConnection().async_put(config, entities, extra_hook).get_result()
File "/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_rpc.py", line 601, in get_result
self.check_success()
File "/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_rpc.py", line 572, in check_success
rpc.check_success()
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 502, in check_success
self.__rpc.CheckSuccess()
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_rpc.py", line 126, in CheckSuccess
raise self.exception
ApplicationError: ApplicationError: 5
I do make many calls to the datastore. What caused this problem ?
The ApplicationError:5 message tipically indicates a Timeout error.
The error is raised by the datastore API, so your application is probably trying to make more than the allowed 5 writes per seconds to db.
I would recommend you to read this insightful article about Handling Datastore Errors that explains very well the possible timeout 's causes and how to deal with them.

Related Links

golang datastore projection query returning empty strings from a populated entity
Best way to initialize datastore w/ related entities
Google Identiy Toolkit Random OAuth Error
Maintaining separate environments with no downtime on update in app engine
managing app engine versions through API calls
Go GAE Using LoginURLFederated function returns API error 2 (user: NOT_ALLOWED)
Approaches for overcoming 10000 file limit on Google App Engine?
App Engine: Copy live Datastore to local dev Datastore (that still works)
All of my applications throw “deadline was exceeded”. GAE breakdown?
Splitting entities vs. using transactions
DataNucleus on AppEngine not returning any results
Is there API for setting TLS certificates for Google App Engine?
GAE printing same log statement multiple times
Adding multiple accounts for “You do not have permission to modify this app” error
Logs are Not Nested Under Requests in Flexible VM
How to create an equivalent of a background thread for an auto-scaling instance

Categories

HOME
sonarqube
phantom-dsl
kentico
microsoftgraph
porting
time-complexity
eslint
string
ecmascript-6
jmx
pascal
obfuscation
shiro
rendering
bitbucket-api
edge
big-o
settings
vsm
teechart
dkim
pega
plist
libc
stellar.js
speech-synthesis
code-generation
3nf
digital-signature
postscript
google-cloud-print
slidetoggle
licensing
ms-access-web-app
volatile
testbed
dumpbin
card.io
github3.py
sharding
pdw-file-browser
sharepoint-workflow
projects-and-solutions
opensmpp
kill
stringtokenizer
show-hide
robomongo
dotnet-httpclient
tf
truezip
pytables
envi
tinkerpop3
flex4.6
dup
udpclient
clipboard.js
bizagi
cda
kiosk
fink
nullable
user-management
jaunt-api
libvlc
rewrite
roadkill-wiki
cgi-bin
botan
dnssec
cwrsync
umlgraph
qtwebengine
cosine-similarity
filesplitting
browserify-shim
deform
paw
create.js
angular-carousel
ora-00904
wxformbuilder
square-bracket
conditionaltagsupport
visual-studio-express
c++builder-xe5
inputmismatchexception
flex++
jquery-1.9
pagedown
apache-abdera
josql
floating-point-exceptions
stress
role
creole
quotation-marks
codebase
socketserver
ie-compatibility-mode
application-verifier
change-management
leader

Resources

Encrypt Message