小樱 发表于 2018/9/4 21:19

阿里云oss报错的解决方法 The bucket you are attempting to access must be addressed using th

Error: oss: service returned error: StatusCode=403, ErrorCode=AccessDenied, ErrorMessage=The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint., RequestId=5B8E851546DD90DE3C602A55, Bucket=sakurahk!

原因:Bucket和Endpoint不符

参考地域:https://help.aliyun.com/document_detail/31837.html

编辑文件/root/.ossutilconfig
endpoint=改成对应的外网Endpoint

页: [1]
查看完整版本: 阿里云oss报错的解决方法 The bucket you are attempting to access must be addressed using th