连接错误: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint
增加节点参数就好
$client = OSSClient::factory(array(
'AccessKeyId' => $this->config['access_key_id'],
'AccessKeySecret' => $this->config['access_key_secret'],
'Endpoint' => 'http://oss-cn-beijing.aliyuncs.com', //节点的OSS内外网地址(主要是这里节点缺失了)
));
本文介绍了一种常见的OSS访问错误——目标存储桶必须使用指定端点进行访问,并提供了通过添加正确的节点参数来解决该问题的方法。
371

被折叠的 条评论
为什么被折叠?



