Around 5 this morning UK time my app started reporting DeadlineExceededError
on even very simple tasks such as writing a few counters to the data store.
1. 2013-10-16 16:59:04.593
Exception sending Rollback:
Traceback (most recent call last):
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py",
line 2644, in _DoOneTry
_GetConnection().rollback()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 2125, in rollback
rpc = self.async_rollback(None)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 2140, in async_rollback
transaction = self._end_transaction()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 2069, in _end_transaction
transaction = self.transaction
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 2024, in transaction
self.__transaction = self.__transaction_rpc.get_result()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
line 612, in get_result
return self.__get_result_hook(self)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 1723, in __begin_transaction_hook
self.check_rpc_success(rpc)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 1234, in check_rpc_success
rpc.check_success()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
line 578, in check_success
self.__rpc.CheckSuccess()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py",
line 133, in CheckSuccess
raise self.exception
DeadlineExceededError: The API call datastore_v3.BeginTransaction() took too
long to respond and was cancelled.
2. E2013-10-16 16:59:04.597
The API call datastore_v3.BeginTransaction() took too long to respond and
was cancelled.
Traceback (most recent call last):
File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 1511, in __call__
rv = self.handle_exception(request, response, e)
File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 1505, in __call__
rv = self.router.dispatch(request, response)
File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 1253, in default_dispatcher
return route.handler_adapter(request, response)
File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 1077, in __call__
return handler.dispatch()
File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 547, in dispatch
return self.handle_exception(e, self.app.debug)
File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 545, in dispatch
return method(*args, **kwargs)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/deferred/deferred.py",
line 309, in post
self.run_from_request()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/deferred/deferred.py",
line 304, in run_from_request
run(self.request.body)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/deferred/deferred.py",
line 146, in run
return func(*args, **kwds)
File
"/base/data/home/apps/s~dm-adept-dev/1.370958418031865357/accounting/__init__.py",
line 188, in write_counters
QuotaUsage.write_quotas(date.today(), ns, counters)
File
"/base/data/home/apps/s~dm-adept-dev/1.370958418031865357/accounting/__init__.py",
line 97, in write_quotas
_tx()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py",
line 2722, in inner_wrapper
return RunInTransactionOptions(options, func, *args, **kwds)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py",
line 2620, in RunInTransactionOptions
ok, result = _DoOneTry(function, args, kwargs)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py",
line 2640, in _DoOneTry
result = function(*args, **kwargs)
File
"/base/data/home/apps/s~dm-adept-dev/1.370958418031865357/accounting/__init__.py",
line 85, in _tx
quotas = cls.get_by_key_name(key_name)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/db/__init__.py",
line 1275, in get_by_key_name
return get(keys[0], **kwargs)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/db/__init__.py",
line 1533, in get
return get_async(keys, **kwargs).get_result()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/db/__init__.py",
line 1511, in get_async
return datastore.GetAsync(keys, extra_hook=extra_hook, **kwargs)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py",
line 626, in GetAsync
return _GetConnection().async_get(config, keys, local_extra_hook)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 1443, in async_get
return make_get_call(base_req, pbs, extra_hook)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 1432, in make_get_call
self._set_request_transaction(req)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 2044, in _set_request_transaction
transaction = self.transaction
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 2024, in transaction
self.__transaction = self.__transaction_rpc.get_result()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
line 612, in get_result
return self.__get_result_hook(self)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 1723, in __begin_transaction_hook
self.check_rpc_success(rpc)
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 1234, in check_rpc_success
rpc.check_success()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
line 578, in check_success
self.__rpc.CheckSuccess()
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py",
line 133, in CheckSuccess
raise self.exception
DeadlineExceededError: The API call datastore_v3.BeginTransaction() took too
long to respond and was cancelled.
I have another copy of this app running identical code with no problems at
all. Does anyone have any ideas as to how I get this resolved? By the way,
this has run for a year or more with no issues. I have checked the quota
limits and everything is OK, this is a paid app.
Any suggestions welcome
--
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.