簡體   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