[GH-ISSUE #1960] sftp error Failure #1180

Open
opened 2026-02-27 00:02:32 +03:00 by kerem · 0 comments
Owner

Originally created by @NOboys on GitHub (Dec 8, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1960

Electerm version:

v1.10.9

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

windows10

Expected Behavior

Can you reproduce the same behavior in other terminal:

Current Behavior

登陆堡垒机后,右下角一直提示 错误,查看日志显示如下
[2020-12-08 16:54:33.991] [debug] connect ETIMEDOUT XXX.XXX.XXX.XXX:XXXX fetch err info
[2020-12-08 17:09:22.547] [error] fetch error {
message: 'timeout of 15000ms exceeded',
name: 'Error',
stack: 'Error: timeout of 15000ms exceeded\n' +
' at createError (D:\landeTools\xmannage\anyting_replace\electerm-1.10.9-win-x64\resources\app.asar\node_modules\axios\lib\core\createError.js:16:15)\n' +
' at RedirectableRequest.handleRequestTimeout (D:\landeTools\xmannage\anyting_replace\electerm-1.10.9-win-x64\resources\app.asar\node_modules\axios\lib\adapters\http.js:264:16)\n' +
' at Object.onceWrapper (events.js:312:28)\n' +
' at RedirectableRequest.emit (events.js:223:5)\n' +
' at Timeout.onTimeout (D:\landeTools\xmannage\anyting_replace\electerm-1.10.9-win-x64\resources\app.asar\node_modules\follow-redirects\index.js:166:13)\n' +
' at listOnTimeout (internal/timers.js:531:17)\n' +
' at processTimers (internal/timers.js:475:7)',
config: {
url: 'https://electerm.github.io/electerm/version.html?
=1607418547540',
headers: {
Accept: 'application/json, text/plain, /',
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36'
},
transformRequest: [ null ],
transformResponse: [ null ],
timeout: 15000,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
action: 'get-update-info',
method: 'get'
},
code: 'ECONNABORTED'
}

Possible Solution

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @NOboys on GitHub (Dec 8, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1960 <!--- Provide some basic info --> ## Electerm version: v1.10.9 ## Operating system(linux, macos, or windows7/8/10?): windows10 ## Expected Behavior <!--- Tell me what should happen --> ## 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 --> 登陆堡垒机后,右下角一直提示 错误,查看日志显示如下 [2020-12-08 16:54:33.991] [debug] connect ETIMEDOUT XXX.XXX.XXX.XXX:XXXX fetch err info [2020-12-08 17:09:22.547] [error] fetch error { message: 'timeout of 15000ms exceeded', name: 'Error', stack: 'Error: timeout of 15000ms exceeded\n' + ' at createError (D:\\landeTools\\xmannage\\anyting_replace\\electerm-1.10.9-win-x64\\resources\\app.asar\\node_modules\\axios\\lib\\core\\createError.js:16:15)\n' + ' at RedirectableRequest.handleRequestTimeout (D:\\landeTools\\xmannage\\anyting_replace\\electerm-1.10.9-win-x64\\resources\\app.asar\\node_modules\\axios\\lib\\adapters\\http.js:264:16)\n' + ' at Object.onceWrapper (events.js:312:28)\n' + ' at RedirectableRequest.emit (events.js:223:5)\n' + ' at Timeout._onTimeout (D:\\landeTools\\xmannage\\anyting_replace\\electerm-1.10.9-win-x64\\resources\\app.asar\\node_modules\\follow-redirects\\index.js:166:13)\n' + ' at listOnTimeout (internal/timers.js:531:17)\n' + ' at processTimers (internal/timers.js:475:7)', config: { url: 'https://electerm.github.io/electerm/version.html?_=1607418547540', headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36' }, transformRequest: [ null ], transformResponse: [ null ], timeout: 15000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, action: 'get-update-info', method: 'get' }, code: 'ECONNABORTED' } ## 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. 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 -->
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#1180
No description provided.