1
我們的appengine應用程序經常收到此錯誤。其他人是否收到此錯誤?有誰知道如何解決它?Appengine python API調用mail.Send()花費太長時間來響應並且被取消
File "/base/python27_runtime/python27_lib/versions/1/google/appengine/api/mail.py", line 894, in send
make_sync_call('mail', self._API_CALL, message, response)
File "/base/python27_runtime/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 94, in MakeSyncCall
return stubmap.MakeSyncCall(service, call, request, response)
File "/base/python27_runtime/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 308, in MakeSyncCall
rpc.CheckSuccess()
File "/base/python27_runtime/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py", line 133, in CheckSuccess
raise self.exception
DeadlineExceededError: The API call mail.Send() took too long to respond and was cancelled.
感謝
謝謝你 - 我想我希望API會照顧那個而不是我! – 2012-02-20 13:19:20
@理查德在API級別重試大部分時間是一個壞主意 – 2012-02-20 13:37:55
@ShayErlichmen - 爲什麼?這些天不應該發送電子郵件成爲「發送和忘記」任務嗎?我打了'''API調用mail.Send()花了很長時間來響應,並在一段時間被取消'''錯誤,並沒有什麼可做的? – 2016-02-07 15:14:49