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

之前使用过这个sdk没有问题,最近总提示{error: "incorrect region, please use up-z0.qiniup.com"}错误 #54

Open
lenxuelenxue opened this issue Nov 19, 2018 · 6 comments
Labels

Comments

@lenxuelenxue
Copy link

之前使用过这个sdk没有问题,最近总提示{error: "incorrect region, please use up-z0.qiniup.com"}错误,要怎么解决?

@lenxuelenxue lenxuelenxue changed the title 之前使用过这个sdk没有问题,最近总提示incorrect region, please use up-z0.qiniu.com错误 之前使用过这个sdk没有问题,最近总提示{error: "incorrect region, please use up-z0.qiniup.com"}错误 Nov 19, 2018
@gpake
Copy link
Owner

gpake commented Nov 20, 2018

看文档 https://developer.qiniu.com/kodo/manual/1671/region-endpoint 没有这个域名,很奇怪。。。
不过估计大概率是服务器做的地址修改导致的
你可以先试试修改一下域名使用,我可能得等到周末才可以修改了

@gpake gpake added the bug label Nov 20, 2018
@lenxuelenxue
Copy link
Author

是域名的问题,新的域名跟之前的不一样了

@gpake
Copy link
Owner

gpake commented Feb 20, 2019

@lenxuelenxue b546064 已经更新,请确认问题是否解决

@gpake gpake closed this as completed Apr 20, 2019
@wgjtyu
Copy link

wgjtyu commented May 23, 2019

目前的上传依然会提示这个错误 华东的地址是up-z0.qiniup.com还是up.qiniup.com。不过就算我手动在js里改了地址为up-z0,上传也是会报错incorrect region, please use up-z0.qiniup.com

@wgjtyu
Copy link

wgjtyu commented May 23, 2019

image

image

@gpake
Copy link
Owner

gpake commented May 27, 2019

根据文档应该用:http(s)://up.qiniup.com,文档上没有 up-z0这个域名,https://developer.qiniu.com/kodo/manual/1671/region-endpoint

@gpake gpake reopened this May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants