Molunerfinn / PicGo

:rocket:A simple & beautiful tool for pictures uploading built by vue-cli-electron-builder
https://molunerfinn.com/PicGo/
MIT License
24.13k stars 2.24k forks source link

图片上传一直报错 #916

Closed daimingzhi closed 2 years ago

daimingzhi commented 2 years ago

前置阅读 | Pre-reading

PicGo的版本 | PicGo Version

2.2.2

系统信息 | System Information

Mac(arm64)

问题重现 | Bug reproduce

我配置了七牛云作为图床,但是一直报错 报错信息:

image

picgo版本信息:

image

相关日志 | Logs

2022-05-29 16:09:13 [PicGo INFO] [PicGo Server] is listening at 36677 2022-05-29 16:09:23 [PicGo INFO] Before transform 2022-05-29 16:09:23 [PicGo INFO] Transforming... 2022-05-29 16:09:23 [PicGo INFO] Before upload 2022-05-29 16:09:23 [PicGo WARN] Can't find uploader - smms, swtich to default uploader - smms 2022-05-29 16:09:23 [PicGo WARN] failed 2022-05-29 16:09:34 [PicGo INFO] Before transform 2022-05-29 16:09:34 [PicGo INFO] Before upload 2022-05-29 16:09:34 [PicGo WARN] Can't find uploader - smms, swtich to default uploader - smms 2022-05-29 16:09:35 [PicGo WARN] failed

daimingzhi commented 2 years ago

补充报错信息

2022-05-29 16:22:19 [PicGo INFO] Before transform 2022-05-29 16:22:19 [PicGo INFO] Before upload 2022-05-29 16:22:19 [PicGo WARN] Can't find uploader - smms, swtich to default uploader - smms 2022-05-29 16:22:36 [PicGo WARN] failed 2022-05-29 16:22:36 [PicGo ERROR] RequestError: Error: Client network socket disconnected before secure TLS connection was established ------Error Stack Begin------ RequestError: Error: Client network socket disconnected before secure TLS connection was established at new RequestError (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request-promise-core/lib/errors.js:14:15) at Request.plumbing.callback (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request-promise-core/lib/plumbing.js:87:29) at Request.RP$callback [as _callback] (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request-promise-core/lib/plumbing.js:46:31) at self.callback (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request/request.js:185:22) at Request.emit (events.js:200:13) at Request.onRequestError (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request/request.js:881:8) at ClientRequest.emit (events.js:200:13) at TLSSocket.socketErrorListener (_http_client.js:402:9) at TLSSocket.emit (events.js:200:13) at emitErrorNT (internal/streams/destroy.js:91:8) -------Error Stack End-------

Molunerfinn commented 2 years ago

先换最新的picgo版本把,2.2.2都已经好久的版本不维护了。另外你配置了七牛云但是看日志你并没有把七牛云设为默认图床。请先好好读文档再了解一下怎么使用好吧