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

七牛云中上传域名少个p,导致华东-浙江2无法上传 #863

Closed
lxy914 opened this issue Mar 30, 2022 · 3 comments
Closed

七牛云中上传域名少个p,导致华东-浙江2无法上传 #863

lxy914 opened this issue Mar 30, 2022 · 3 comments
Labels

Comments

@lxy914
Copy link

lxy914 commented Mar 30, 2022

声明:我已经仔细看过 文档FAQ、和搜索过已经关闭的 issues 后依然没有找到答案,所以才发了一个新的 issue。

问题类型

Bug Report

PicGo 的相关信息

Windows 2.3.0

问题重现

七牛云创建了个华东-浙江2的对象存储,图片一直上传失败,调试后发现日志中的上传网址是upload-cn-east-2.qiniu.com,而七牛云文档中的是http(s)://upload-cn-east-2.qiniup.com,在qiniu的后面少了个p,后来测试其它区域的上传网址少了p可以,但华东-浙江2就不行,官方文档中都是qiniup.com,不知道为啥软件中是qiniu.com
七牛云存储区域
image

------Error Stack Begin------
RequestError: Error: getaddrinfo ENOTFOUND upload-cn-east-2.qiniu.com
at new RequestError (E:\Program Files\PicGo\resources\app.asar\node_modules\request-promise-core\lib\errors.js:14:15)
at Request.plumbing.callback (E:\Program Files\PicGo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:87:29)
at Request.RP$callback [as _callback] (E:\Program Files\PicGo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:46:31)
at self.callback (E:\Program Files\PicGo\resources\app.asar\node_modules\request\request.js:185:22)
at Request.emit (events.js:200:13)
at Request.onRequestError (E:\Program Files\PicGo\resources\app.asar\node_modules\request\request.js:877:8)
at ClientRequest.emit (events.js:200:13)
at Socket.socketErrorListener (_http_client.js:402:9)
at Socket.emit (events.js:200:13)
at emitErrorNT (internal/streams/destroy.js:91:8)
-------Error Stack End-------

功能请求


@Molunerfinn
Copy link
Owner

因为一开始七牛的上传域名只有qiniu.com。

后续会给七牛补充一个选项,用于手动指定加速上传的地址

@Molunerfinn
Copy link
Owner

更新最新beta3即可

@penzed
Copy link

penzed commented May 15, 2022

我也发现来了这个问题,上传失败
环境:windos 11 21H2
PicGo -2.3.1-beta.3
七牛云、地区:华南

报错日志:
2022-05-16 01:24:05 [PicGo WARN] failed
2022-05-16 01:24:05 [PicGo ERROR]
------Error Stack Begin------
RequestError: Error: getaddrinfo ENOTFOUND xn--upload--qp2ltc.qiniup.com
at new RequestError (D:\Users\pinux\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request-promise-core\lib\errors.js:14:15)
at Request.plumbing.callback (D:\Users\pinux\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:87:29)
at Request.RP$callback [as _callback] (D:\Users\pinux\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:46:31)
at self.callback (D:\Users\pinux\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request\request.js:185:22)
at Request.emit (node:events:394:28)
at Request.onRequestError (D:\Users\pinux\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request\request.js:877:8)
at ClientRequest.emit (node:events:394:28)
at Socket.socketErrorListener (node:_http_client:447:9)
at Socket.emit (node:events:394:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
-------Error Stack End-------
2022-05-16 01:24:05 [PicGo ERROR]
------Error Stack Begin------
RequestError: Error: getaddrinfo ENOTFOUND xn--upload--qp2ltc.qiniup.com
at new RequestError (D:\Users\pinux\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request-promise-core\lib\errors.js:14:15)
at Request.plumbing.callback (D:\Users\pinux\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:87:29)
at Request.RP$callback [as _callback] (D:\Users\pinux\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:46:31)
at self.callback (D:\Users\pinux\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request\request.js:185:22)
at Request.emit (node:events:394:28)
at Request.onRequestError (D:\Users\pinux\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request\request.js:877:8)
at ClientRequest.emit (node:events:394:28)
at Socket.socketErrorListener (node:_http_client:447:9)
at Socket.emit (node:events:394:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
-------Error Stack End-------

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