GAE / Google API正在刷新访问令牌的DeadlineExceededErrors
问题内容:
在过去的几天里,我在与Google Calendar
API交互的GAE应用程序中遇到了DeadlineExceededErrors。据我所知,这些错误是零星的。昨晚没有给我这些错误,但是白天是昨天,今天早晨是我。当我在本地开发环境上运行时,
没有 得到这些错误,这使我想知道GAE服务器正在发生什么情况来导致此问题,以及如何解决该问题。
我尝试将urlFetch截止日期设置为45-60,但这并没有改变。我还尝试构建超时时间较长的HTTP对象,但这没关系。日志如下所示:
2013-06-07 11:21:06.079 make: Got type <class 'google.appengine.api.datastore_types.Blob'>
I 2013-06-07 11:21:06.081 validate: Got type <class 'oauth2client.client.OAuth2Credentials'>
I 2013-06-07 11:21:06.086 make: Got type <class 'google.appengine.api.datastore_types.Blob'>
I 2013-06-07 11:21:06.087 validate: Got type <class 'oauth2client.client.OAuth2Credentials'>
I 2013-06-07 11:21:06.093 make: Got type <class 'google.appengine.api.datastore_types.Blob'>
I 2013-06-07 11:21:06.093 validate: Got type <class 'oauth2client.client.OAuth2Credentials'>
I 2013-06-07 11:21:06.094 URL being requested: https://www.googleapis.com/discovery/v1/apis/calendar/v3/rest?userIp=99.19.70.243
I 2013-06-07 11:21:06.153 URL being requested: https://www.googleapis.com/calendar/v3/calendars/primary/events?alt=json
I 2013-06-07 11:21:06.201 Refreshing due to a 401
I 2013-06-07 11:21:06.207 make: Got type <class 'google.appengine.api.datastore_types.Blob'>
I 2013-06-07 11:21:06.208 validate: Got type <class 'oauth2client.client.OAuth2Credentials'>
I 2013-06-07 11:21:06.208 Refreshing access_token
E 2013-06-07 11:21:15.989 Deadline exceeded while waiting for HTTP response from URL: https://accounts.google.com/o/oauth2/token Traceback (most recent call last): File "/py
为什么现在在刷新过程中令人窒息?
编辑:我应该补充一点,就是我的应用程序也与Facebook API进行交互,因此我没有收到DEE。
问题答案:
我认为可能是由于这个问题?
到2013年6月7日下午5:15(美国/太平洋地区),已解决了向Google帐户身份验证端点提供Google App Engine URL
Fetch服务的问题。对于由此给您带来的不便,我们深表歉意。感谢您的耐心和长期支持。请放心,系统可靠性是Google的重中之重,并且我们正在不断改进以使我们的系统更好。
https://groups.google.com/forum/?fromgroups#!topic/google-appengine-downtime-
notify/TqKVL9TNq2A