繁体   English   中英

使用GAE / Google API刷新访问令牌的DeadlineExceededErrors

[英]DeadlineExceededErrors with GAE/Google API refreshing access token

在过去的几天里,我在GAE应用程序中遇到了与Google Calendar API交互的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网址提取服务问题已得到解决。对于由此带来的不便,我们深表歉意,并感谢您的耐心和持续的支持。 请放心,系统可靠性是Google的首要任务,我们正在不断改进,以使我们的系统更好。

https://groups.google.com/forum/?fromgroups#!topic/google-appengine-downtime-notify/TqKVL9TNq2A

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM