当我尝试使用 Internet 端点访问存储在阿里云 OSS 中的文件时,它显示错误。
例如,我喜欢访问存储在新加坡地区 testbucket 中的 demo.jpg。
我发出了如下命令:
http://oss-ap-southeast-1.aliyuncs.com/testbucket/demo.jpg
错误:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>SecondLevelDomainForbidden</Code>
<Message>
The bucket you are attempting to access must be addressed using OSS third level domain.
</Message>
<RequestId>5C4F1FA099D9D60F934921C6</RequestId>
<HostId>oss-ap-southeast-1.aliyuncs.com</HostId>
</Error>
我错过了什么?