Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requestId 到底是什么? #66

Open
349181779 opened this issue Nov 12, 2018 · 6 comments
Open

requestId 到底是什么? #66

349181779 opened this issue Nov 12, 2018 · 6 comments

Comments

@349181779
Copy link

image

@lepig
Copy link

lepig commented Dec 4, 2018

我也报了这个错,调用Storage::url()的时候报错了。

@zishang520
Copy link

@lepig 你的id 和 key 不正确

@lepig
Copy link

lepig commented Dec 6, 2018

@zishang520 配置没有问题。只要我一配置isCName为true就报错。我把isCName设置为false以后就能正常上传。
也就是说,现在不能使用我在阿里云绑定的自己域名,只能使用阿里云给我分配的默认oss域名

@zishang520
Copy link

@lepig
Copy link

lepig commented Dec 6, 2018

@zishang520 谢谢 我参考下

@zishang520
Copy link

zishang520 commented Dec 10, 2018

@lepig 今天我又看了下,似乎这个问题是因为cname 导致的域名类型判断错误,我改了 AliOssServiceProvider.php 这样就没什么问题了

旧代码

            $client = new OssClient($accessId, $accessKey, $epInternal,  $isCname);

新的代码

            $client = new OssClient($accessId, $accessKey, $epInternal, $isCname ? (empty($config['endpoint_internal']) ? true : false) : false);

这是链接
zishang520@ec6bd28?diff=split

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants