[GH-ISSUE #3359] 失去连接后重新连接报错ERR_CONNECTION_REFUSED #2266

Closed
opened 2026-02-27 00:06:44 +03:00 by kerem · 14 comments
Owner

Originally created by @MarlonWilkes on GitHub (Apr 10, 2024).
Original GitHub issue: https://github.com/electerm/electerm/issues/3359

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.38.65-win-x64-installer.exe

Platform detail (平台详情)

windows10

What steps will reproduce the bug?(重新问题的详细步骤)

超时失去连接后,重新连接或者新建都连不上服务器,控制台提示:
worker-1.38.65.js:1 WebSocket connection to 'ws://127.0.0.1:30975/common/s?sessionId=&sftpId=&token=AuxxN5p' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

What should have happened?(期望的结果)

期望链接上服务

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Originally created by @MarlonWilkes on GitHub (Apr 10, 2024). Original GitHub issue: https://github.com/electerm/electerm/issues/3359 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.38.65-win-x64-installer.exe ### Platform detail (平台详情) windows10 ### What steps will reproduce the bug?(重新问题的详细步骤) 超时失去连接后,重新连接或者新建都连不上服务器,控制台提示: worker-1.38.65.js:1 WebSocket connection to 'ws://127.0.0.1:30975/common/s?sessionId=&sftpId=&token=AuxxN5p' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED ### What should have happened?(期望的结果) 期望链接上服务 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
kerem 2026-02-27 00:06:44 +03:00
Author
Owner

@zxdong262 commented on GitHub (Apr 10, 2024):

重启程序也不行吗?

<!-- gh-comment-id:2046685916 --> @zxdong262 commented on GitHub (Apr 10, 2024): 重启程序也不行吗?
Author
Owner

@MarlonWilkes commented on GitHub (Apr 10, 2024):

@zxdong262 重启程序,重启电脑都试了 也是不行的

<!-- gh-comment-id:2046691410 --> @MarlonWilkes commented on GitHub (Apr 10, 2024): @zxdong262 重启程序,重启电脑都试了 也是不行的
Author
Owner

@zxdong262 commented on GitHub (Apr 10, 2024):

可以试试删除C:\Users\your-user-name\AppData\Roaming\electerm文件夹下除了users以外所有文件和文件夹吗?

<!-- gh-comment-id:2046695755 --> @zxdong262 commented on GitHub (Apr 10, 2024): 可以试试删除`C:\Users\your-user-name\AppData\Roaming\electerm`文件夹下除了`users`以外所有文件和文件夹吗?
Author
Owner

@MarlonWilkes commented on GitHub (Apr 10, 2024):

好的 我试一下 稍后给您反馈

<!-- gh-comment-id:2046700252 --> @MarlonWilkes commented on GitHub (Apr 10, 2024): 好的 我试一下 稍后给您反馈
Author
Owner

@MarlonWilkes commented on GitHub (Apr 10, 2024):

还是一样的,依然链接不上

<!-- gh-comment-id:2046890499 --> @MarlonWilkes commented on GitHub (Apr 10, 2024): 还是一样的,依然链接不上
Author
Owner

@zxdong262 commented on GitHub (Apr 10, 2024):

可以命令行运行看看什么错误吗?

<!-- gh-comment-id:2046902248 --> @zxdong262 commented on GitHub (Apr 10, 2024): 可以命令行运行看看什么错误吗?
Author
Owner

@MarlonWilkes commented on GitHub (Apr 10, 2024):

一直是加载状态 无法输入

<!-- gh-comment-id:2046929693 --> @MarlonWilkes commented on GitHub (Apr 10, 2024): 一直是加载状态 无法输入
Author
Owner

@MarlonWilkes commented on GitHub (Apr 10, 2024):

image

<!-- gh-comment-id:2046933387 --> @MarlonWilkes commented on GitHub (Apr 10, 2024): ![image](https://github.com/electerm/electerm/assets/10492749/113e3cbc-da4a-48e6-b84b-98d3912d2b95)
Author
Owner

@zxdong262 commented on GitHub (Apr 10, 2024):

抱歉没说清楚,是在命令行运行electerm.exe

<!-- gh-comment-id:2046941803 --> @zxdong262 commented on GitHub (Apr 10, 2024): 抱歉没说清楚,是在命令行运行electerm.exe
Author
Owner

@MarlonWilkes commented on GitHub (Apr 15, 2024):

试过了,失去连接后,在命令行没有任何提示

<!-- gh-comment-id:2054638107 --> @MarlonWilkes commented on GitHub (Apr 15, 2024): 试过了,失去连接后,在命令行没有任何提示
Author
Owner

@MarlonWilkes commented on GitHub (Apr 15, 2024):

[2024-04-10 15:29:21.389] [debug] Closed terminal Iqr5GDR
[2024-04-10 15:29:21.391] [debug] Closed terminal Iqr5GDR
[2024-04-10 15:29:21.393] [debug] Closed terminal sJYL_Re
[2024-04-10 15:29:21.395] [debug] Closed terminal sJYL_Re
[2024-04-10 15:29:21.399] [debug] Closed terminal Iqr5GDR
[2024-04-10 15:29:21.401] [debug] Closed terminal sJYL_Re
[2024-04-10 16:22:38.901] [debug] Closed terminal sgGs7lP
[2024-04-10 16:22:39.255] [error] uncaughtException Error: read EPIPE
at Pipe.onStreamRead (node:internal/stream_base_commons:217:20)
[2024-04-10 16:22:39.616] [debug] Closed terminal sgGs7lP
[2024-04-10 16:25:01.774] [debug] { message: 'Promise timed out' }
[2024-04-10 16:25:01.776] [debug] Promise timed out fetch err info
[2024-04-10 16:26:10.779] [debug] { message: 'Promise timed out' }
[2024-04-10 16:26:10.781] [debug] Promise timed out fetch err info
[2024-04-10 16:26:16.769] [debug] { message: 'Promise timed out' }
[2024-04-10 16:26:16.771] [debug] Promise timed out fetch err info
[2024-04-10 16:49:55.868] [debug] { message: 'Promise timed out' }
[2024-04-10 16:49:55.870] [debug] Promise timed out fetch err info

<!-- gh-comment-id:2056528415 --> @MarlonWilkes commented on GitHub (Apr 15, 2024): [2024-04-10 15:29:21.389] [debug] Closed terminal Iqr5GDR [2024-04-10 15:29:21.391] [debug] Closed terminal Iqr5GDR [2024-04-10 15:29:21.393] [debug] Closed terminal sJYL_Re [2024-04-10 15:29:21.395] [debug] Closed terminal sJYL_Re [2024-04-10 15:29:21.399] [debug] Closed terminal Iqr5GDR [2024-04-10 15:29:21.401] [debug] Closed terminal sJYL_Re [2024-04-10 16:22:38.901] [debug] Closed terminal sgGs7lP [2024-04-10 16:22:39.255] [error] uncaughtException Error: read EPIPE at Pipe.onStreamRead (node:internal/stream_base_commons:217:20) [2024-04-10 16:22:39.616] [debug] Closed terminal sgGs7lP [2024-04-10 16:25:01.774] [debug] { message: 'Promise timed out' } [2024-04-10 16:25:01.776] [debug] Promise timed out fetch err info [2024-04-10 16:26:10.779] [debug] { message: 'Promise timed out' } [2024-04-10 16:26:10.781] [debug] Promise timed out fetch err info [2024-04-10 16:26:16.769] [debug] { message: 'Promise timed out' } [2024-04-10 16:26:16.771] [debug] Promise timed out fetch err info [2024-04-10 16:49:55.868] [debug] { message: 'Promise timed out' } [2024-04-10 16:49:55.870] [debug] Promise timed out fetch err info
Author
Owner

@MarlonWilkes commented on GitHub (Apr 15, 2024):

我查了一下main.log,发现当失去连接后会报错:[2024-04-10 16:22:39.255] [error] uncaughtException Error: read EPIPE
at Pipe.onStreamRead (node:internal/stream_base_commons:217:20)

<!-- gh-comment-id:2056530459 --> @MarlonWilkes commented on GitHub (Apr 15, 2024): 我查了一下main.log,发现当失去连接后会报错:[2024-04-10 16:22:39.255] [error] uncaughtException Error: read EPIPE at Pipe.onStreamRead (node:internal/stream_base_commons:217:20)
Author
Owner

@MarlonWilkes commented on GitHub (Apr 15, 2024):

@zxdong262 大佬能帮忙看下吗

<!-- gh-comment-id:2056531342 --> @MarlonWilkes commented on GitHub (Apr 15, 2024): @zxdong262 大佬能帮忙看下吗
Author
Owner

@MarlonWilkes commented on GitHub (Apr 22, 2024):

今天没有任何修复动作,自己给好了

<!-- gh-comment-id:2068297127 --> @MarlonWilkes commented on GitHub (Apr 22, 2024): 今天没有任何修复动作,自己给好了
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#2266
No description provided.