S3错误:请求时间和当前时间之间的差过大 [英] S3 Error: The difference between the request time and the current time is too large

查看:561
本文介绍了S3错误:请求时间和当前时间之间的差过大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有错误的请求时间和当前时间之间的时间差过大当调用方法amazons3.ListObjects

I have error The difference between the request time and the current time is too large when call method amazons3.ListObjects

ListObjectsRequest request = new ListObjectsRequest() {
    BucketName = BucketName, Prefix = fullKey 
}; 
using (ListObjectsResponse response = s3Client.ListObjects(request))
{
    bool result = response.S3Objects.Count > 0;

    return result;
}

可能是什么?

What it could be?

推荐答案

的时间在您的本地框出当前时间同步。同步您的系统时钟,问题就会迎刃而解。

The time on your local box is out of sync with the current time. Sync up your system clock and the problem will go away.

这篇关于S3错误:请求时间和当前时间之间的差过大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆