mino s3获取图片流由于图片服务器和web服务器时区不同相差太大导致失败

mino  s3获取图片流由于图片服务器和web服务器时区不同相差太大导致失败

 

Error occurred: error occured

ErrorResponse(code=RequestTimeTooSkewed, message=The difference between the request time and the server's time is too large., bucketName=null, objectName=null, resource=/telesale, requestId=3L137, hostId=3L137)

request={method=GET, url=http://192.168.13.47:9000/telesale?location=, headers=Host: 192.168.13.47:9000

User-Agent: Minio (amd64; amd64) minio-java/dev

x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

x-amz-date: 20171020T174837Z

Authorization: AWS4-HMAC-SHA256 Credential=*REDACTED*/20171020/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=*REDACTED*

}

response={code=403, headers=Accept-Ranges: bytes

Content-Type: application/xml

Server: Minio/RELEASE.2017-08-05T00-00-53Z (linux; amd64)

Vary: Origin

X-Amz-Request-Id: 14EF3E87AB665ADB

Date: Fri, 20 Oct 2017 09:52:32 GMT

Transfer-Encoding: chunked

}

 

 

调整服务器时间即可

猜你喜欢

转载自yuhuiblog6338999322098842.iteye.com/blog/2397112