[GH-ISSUE #3292] 阿里云堡垒机+macOS arm环境会自动掉线 #2211

Open
opened 2026-02-27 00:06:31 +03:00 by kerem · 9 comments
Owner

Originally created by @shuaiZend on GitHub (Feb 23, 2024).
Original GitHub issue: https://github.com/electerm/electerm/issues/3292

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

mac-arm64.dmg

Platform detail (平台详情)

Darwin m1MBP 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:34 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8103 arm64

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

连阿里云堡垒机,能连上, 但是使用一会就会稳定掉线
这个问题出现了很久了,测试过electerm多个版本都有相同的问题, 而我用intel的cpu就没问题

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

稳定

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

macOS自带terminal没有这个问题

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

Null

Originally created by @shuaiZend on GitHub (Feb 23, 2024). Original GitHub issue: https://github.com/electerm/electerm/issues/3292 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) mac-arm64.dmg ### Platform detail (平台详情) Darwin m1MBP 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:34 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8103 arm64 ### What steps will reproduce the bug?(重新问题的详细步骤) 连阿里云堡垒机,能连上, 但是使用一会就会稳定掉线 这个问题出现了很久了,测试过electerm多个版本都有相同的问题, 而我用intel的cpu就没问题 ### What should have happened?(期望的结果) 稳定 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) macOS自带terminal没有这个问题 ### Additional information(其他任何相关信息) Null
Author
Owner

@zxdong262 commented on GitHub (Feb 25, 2024):

可以试试保活间隔设为0吗?

<!-- gh-comment-id:1962897803 --> @zxdong262 commented on GitHub (Feb 25, 2024): 可以试试保活间隔设为0吗?
Author
Owner

@Skcity commented on GitHub (Feb 26, 2024):

同样遇到这个问题,阿里云,没几分钟就断开连接了

<!-- gh-comment-id:1963283802 --> @Skcity commented on GitHub (Feb 26, 2024): 同样遇到这个问题,阿里云,没几分钟就断开连接了
Author
Owner

@shuaiZend commented on GitHub (Feb 27, 2024):

可以试试保活间隔设为0吗?

其他服务器都没问题,就只有阿里云的堡垒机频繁掉线

<!-- gh-comment-id:1965633516 --> @shuaiZend commented on GitHub (Feb 27, 2024): > 可以试试保活间隔设为0吗? 其他服务器都没问题,就只有阿里云的堡垒机频繁掉线
Author
Owner

@shuaiZend commented on GitHub (Feb 27, 2024):

同样遇到这个问题,阿里云,没几分钟就断开连接了

请说下你的系统环境呢,你也是macOS arm么?

<!-- gh-comment-id:1965634731 --> @shuaiZend commented on GitHub (Feb 27, 2024): > 同样遇到这个问题,阿里云,没几分钟就断开连接了 请说下你的系统环境呢,你也是macOS arm么?
Author
Owner

@RunningCoderLee commented on GitHub (Mar 2, 2024):

我也遇到这个问题,Apple M2 Pro 芯片

<!-- gh-comment-id:1974378557 --> @RunningCoderLee commented on GitHub (Mar 2, 2024): 我也遇到这个问题,Apple M2 Pro 芯片
Author
Owner

@RunningCoderLee commented on GitHub (Mar 2, 2024):

可以试试保活间隔设为0吗?

@zxdong262 这个在哪里设置呀

<!-- gh-comment-id:1974626315 --> @RunningCoderLee commented on GitHub (Mar 2, 2024): > 可以试试保活间隔设为0吗? @zxdong262 这个在哪里设置呀
Author
Owner

@francisLee777 commented on GitHub (Mar 2, 2024):

+1 一模一样

<!-- gh-comment-id:1974770239 --> @francisLee777 commented on GitHub (Mar 2, 2024): +1 一模一样
Author
Owner

@RunningCoderLee commented on GitHub (Mar 2, 2024):

可以试试保活间隔设为0吗?

改成 0 后没有出现自动掉线的情况了

<!-- gh-comment-id:1974802016 --> @RunningCoderLee commented on GitHub (Mar 2, 2024): > 可以试试保活间隔设为0吗? 改成 0 后没有出现自动掉线的情况了
Author
Owner

@shuaiZend commented on GitHub (Mar 7, 2024):

可以试试保活间隔设为0吗?

改成 0 后没有出现自动掉线的情况了

我看只能设置全局的keepalive呢,不能针对host进行配置, 因为目前只有阿里有这个问题,非常神奇

<!-- gh-comment-id:1982866952 --> @shuaiZend commented on GitHub (Mar 7, 2024): > > 可以试试保活间隔设为0吗? > > 改成 0 后没有出现自动掉线的情况了 我看只能设置全局的keepalive呢,不能针对host进行配置, 因为目前只有阿里有这个问题,非常神奇
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#2211
No description provided.