minio error occured

在使用linux不是minio或者docker部署minio的时候,由于时间的问题,会出现:

error occured
ErrorResponse(code=AccessDenied, message=Access denied, bucketName=gyt, objectName=null, resource=/gyt, requestId=1631E3F520539F19, hostId=null)
request={method=HEAD, url=http://minio.goyoto.cn/gyt, headers=Host: minio.goyoto.cn
User-Agent: Minio (amd64; amd64) minio-java/dev
x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date: 20200905T124624Z
Authorization: AWS4-HMAC-SHA256 Credential=*REDACTED*/20200905/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=*REDACTED*
}
response={code=403, headers=Date: Sat, 05 Sep 2020 12:46:24 GMT
Content-Type: application/xml
Content-Length: 365
Connection: keep-alive
Server: nginx
Content-Security-Policy: block-all-mixed-content
Vary: Origin
X-Amz-Request-Id: 1631E3F520539F19
X-Xss-Protection: 1; mode=block
}

只需要修改一下时间为北京时间即可!!!!

查询当前时间:

date

修改当前时间:

# 1、修改vi 
/etc/sysconfig/clock    
ZONE=‘Asia/Shanghai’
# 2
rm /etc/localtime

#3、链接到上海时区文件: 
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

docker镜像内的minio自行百度!!目前还没试过会不会有问题!!

你可能感兴趣的:(linux,minio,linux,centos)