[GH-ISSUE #1839] bug: 锁屏或者切换去其他窗口后会断开连接 #1098

Open
opened 2026-02-27 00:02:13 +03:00 by kerem · 6 comments
Owner

Originally created by @windyear on GitHub (Sep 30, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1839

Electerm version:

1.5.7

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

macos

Expected Behavior

跳转到其他窗口,或者锁屏后,ssh连接不会断。但是现在会断开,连接左上的标签变红。

Can you reproduce the same behavior in other terminal:

可以,每次都会发生。

Current Behavior

锁屏,或者切换到别的窗口时间一长,连接会断开,不能输入,需要重新连接。

Possible Solution

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @windyear on GitHub (Sep 30, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1839 <!--- Provide some basic info --> ## Electerm version: 1.5.7 ## Operating system(linux, macos, or windows7/8/10?): macos ## Expected Behavior <!--- Tell me what should happen --> 跳转到其他窗口,或者锁屏后,ssh连接不会断。但是现在会断开,连接左上的标签变红。 ## 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. 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 -->
Author
Owner

@zxdong262 commented on GitHub (Oct 13, 2020):

是有保持连接的设定的,目前我还不知道什么原因,得研究一下

<!-- gh-comment-id:707440633 --> @zxdong262 commented on GitHub (Oct 13, 2020): 是有保持连接的设定的,目前我还不知道什么原因,得研究一下
Author
Owner

@huangcan5421 commented on GitHub (Oct 14, 2020):

例如输入 armbian-config 后进入到设置界面 返回后 左上角状态为红色 但是ssh并没有断连

<!-- gh-comment-id:708283877 --> @huangcan5421 commented on GitHub (Oct 14, 2020): 例如输入 armbian-config 后进入到设置界面 返回后 左上角状态为红色 但是ssh并没有断连
Author
Owner

@AlpsA233 commented on GitHub (Oct 21, 2020):

我也是,没几分钟就会断连,希望可以尽快解决一下

<!-- gh-comment-id:713378674 --> @AlpsA233 commented on GitHub (Oct 21, 2020): 我也是,没几分钟就会断连,希望可以尽快解决一下
Author
Owner

@windyear commented on GitHub (Oct 22, 2020):

我也是,没几分钟就会断连,希望可以尽快解决一下

这个太影响使用了

<!-- gh-comment-id:714456612 --> @windyear commented on GitHub (Oct 22, 2020): > 我也是,没几分钟就会断连,希望可以尽快解决一下 这个太影响使用了
Author
Owner

@AlpsA233 commented on GitHub (Nov 3, 2020):

是有保持连接的设定的,目前我还不知道什么原因,得研究一下

我连我自己的服务器,没啥问题,基本不断。但是连公司的服务器就会断,区别是公司中间有经过堡垒机,希望可以帮您作为参考

<!-- gh-comment-id:720934772 --> @AlpsA233 commented on GitHub (Nov 3, 2020): > 是有保持连接的设定的,目前我还不知道什么原因,得研究一下 我连我自己的服务器,没啥问题,基本不断。但是连公司的服务器就会断,区别是公司中间有经过堡垒机,希望可以帮您作为参考
Author
Owner

@expgao commented on GitHub (Oct 28, 2021):

和楼上一下,都是连接公司服务器会端。 中间经过堡垒机。会话保持10s

<!-- gh-comment-id:953689151 --> @expgao commented on GitHub (Oct 28, 2021): 和楼上一下,都是连接公司服务器会端。 中间经过堡垒机。会话保持10s
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#1098
No description provided.