[GH-ISSUE #1909] 取消正在上传的任务时报错!!! #1142

Closed
opened 2026-02-27 00:02:22 +03:00 by kerem · 0 comments
Owner

Originally created by @joket1999 on GitHub (Nov 20, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1909

Electerm version: 1.9.0

Operating system(linux, macos, or windows7/8/10?): Mac OS 10.15.7

Expected Behavior

在上传过程中取消上传后
image

出现一下错误
image

Minified React error #191; visit https://reactjs.org/docs/error-decoder.html?invariant=191&args[]=%5Bobject%20Object%5D for the full message or use the non-minified dev environment for full errors and additional helpful warnings. Error: Minified React error #191; visit https://reactjs.org/docs/error-decoder.html?invariant=191&args[]=%5Bobject%20Object%5D for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at An (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:33576) at ir (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:65810) at Br (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:81938) at unstable_runWithPriority (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react.production.min.js?1.9.0:2:7430) at xn (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:29962) at Ar (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:78677) at Pr (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:74796) at file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:30185 at unstable_runWithPriority (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react.production.min.js?1.9.0:2:7430) at xn (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:29962)

image

image

Error notification content:

<html lang="en"> <head> </head>
Error: not valid request
   at verify (/Applications/electerm.app/Contents/Resources/app.asar/server/server.js:25:11)
   at Layer.handle [as handle_request] (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/layer.js:95:5)
   at next (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/route.js:137:13)
   at Route.dispatch (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/route.js:112:3)
   at Layer.handle [as handle_request] (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/layer.js:95:5)
   at /Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:281:22
   at Function.process_params (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:335:12)
   at next (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:275:10)
   at /Applications/electerm.app/Contents/Resources/app.asar/node_modules/body-parser/lib/read.js:130:5
   at invokeCallback (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/raw-body/index.js:224:16)
   at done (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/raw-body/index.js:213:7)
   at IncomingMessage.onEnd (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/raw-body/index.js:273:7)
   at IncomingMessage.emit (events.js:228:7)
   at endReadableNT (_stream_readable.js:1185:12)
   at processTicksAndRejections (internal/process/task_queues.js:81:21)
</html>

Can you reproduce the same behavior in other terminal:

Current Behavior

Possible Solution

Steps to Reproduce

1.连接sftp
2.选择需要上传的文件,右键菜单选择上传
3.在上传的任务队列中取消正在上传的任务
4.

Context (Environment)

Detailed Description

Suggestions?

Originally created by @joket1999 on GitHub (Nov 20, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1909 <!--- Provide some basic info --> ## Electerm version: 1.9.0 ## Operating system(linux, macos, or windows7/8/10?): Mac OS 10.15.7 ## Expected Behavior <!--- Tell me what should happen --> 在上传过程中取消上传后 ![image](https://user-images.githubusercontent.com/6611880/99788356-f8231880-2b5b-11eb-8cc7-ac623c65b647.png) 出现一下错误 ![image](https://user-images.githubusercontent.com/6611880/99788443-11c46000-2b5c-11eb-98c7-9ff5b468c53c.png) ` Minified React error #191; visit https://reactjs.org/docs/error-decoder.html?invariant=191&args[]=%5Bobject%20Object%5D for the full message or use the non-minified dev environment for full errors and additional helpful warnings. Error: Minified React error #191; visit https://reactjs.org/docs/error-decoder.html?invariant=191&args[]=%5Bobject%20Object%5D for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at An (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:33576) at ir (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:65810) at Br (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:81938) at unstable_runWithPriority (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react.production.min.js?1.9.0:2:7430) at xn (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:29962) at Ar (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:78677) at Pr (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:74796) at file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:30185 at unstable_runWithPriority (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react.production.min.js?1.9.0:2:7430) at xn (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/external/react-dom.production.min.js?1.9.0:2:29962) ` ![image](https://user-images.githubusercontent.com/6611880/99788854-aaf37680-2b5c-11eb-88f0-261f50cfb3e0.png) ![image](https://user-images.githubusercontent.com/6611880/99788886-b777cf00-2b5c-11eb-9340-f69db330a5c3.png) Error notification content: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>Error: not valid request<br> &nbsp; &nbsp;at verify (/Applications/electerm.app/Contents/Resources/app.asar/server/server.js:25:11)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at next (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/route.js:137:13)<br> &nbsp; &nbsp;at Route.dispatch (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/route.js:112:3)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at /Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:281:22<br> &nbsp; &nbsp;at Function.process_params (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:335:12)<br> &nbsp; &nbsp;at next (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:275:10)<br> &nbsp; &nbsp;at /Applications/electerm.app/Contents/Resources/app.asar/node_modules/body-parser/lib/read.js:130:5<br> &nbsp; &nbsp;at invokeCallback (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/raw-body/index.js:224:16)<br> &nbsp; &nbsp;at done (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/raw-body/index.js:213:7)<br> &nbsp; &nbsp;at IncomingMessage.onEnd (/Applications/electerm.app/Contents/Resources/app.asar/node_modules/raw-body/index.js:273:7)<br> &nbsp; &nbsp;at IncomingMessage.emit (events.js:228:7)<br> &nbsp; &nbsp;at endReadableNT (_stream_readable.js:1185:12)<br> &nbsp; &nbsp;at processTicksAndRejections (internal/process/task_queues.js:81:21)</pre> </body> </html> ## Can you reproduce the same behavior in other terminal: <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1.连接sftp 2.选择需要上传的文件,右键菜单选择上传 3.在上传的任务队列中取消正在上传的任务 4. ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem closed this issue 2026-02-27 00:02:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1142
No description provided.