0

マシンに時間のずれがある場合、つまり、マシンの時計が NTP サーバーと同期または更新されていない場合に、Google クラウドにデータをアップロードしようとすると、「Forbidden error(403)」が発生します。

Google が適切なエラー情報を返さないのはなぜですか?

4

1 に答える 1

1

It is very likely that you are setting the "Date" field incorrectly. All (signed) API v1.0 requests must include a "Date" header, and that header must be part of the signature for the request. The Date field must be within 15 minutes of the real clock time that Google's servers receive your request. If your clock is more than 15 minutes skewed, your signed requests will be rejected.

For more, please see the v1.0 API documentation here: https://developers.google.com/storage/docs/reference/v1/developer-guidev1#authentication under the CanonicalHeaders section.

This is also the case with S3. See here: http://aws.amazon.com/articles/1109?_encoding=UTF8&jiveRedirect=1#04

于 2013-07-26T05:06:32.747 に答える