3

ここ数日、Google カレンダー 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 を受け取っていません。

4

1 に答える 1

1

この問題が原因だったのではないでしょうか?

Google アカウント認証エンドポイントへの Google App Engine URL フェッチ サービスの問題は、2013 年 6 月 7 日午後 5 時 15 分 (米国/太平洋) に解決されました。システムの信頼性は Google の最優先事項であり、システムを改善するために継続的な改善を行っています。

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

于 2013-06-10T23:14:29.087 に答える