首页 > 其他 > 详细

(十四)使用阿里云oss时连接错误

时间:2015-04-18 08:46:12      阅读:9484      评论:0      收藏:0      [点我收藏+]

连接错误: 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时连接错误

原文:http://blog.csdn.net/arthuralston2015/article/details/45103665

(0)
(2)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!