[GH-ISSUE #2047] 引起无法连接任何服务器的问题 #1246

Closed
opened 2026-02-27 00:02:48 +03:00 by kerem · 5 comments
Owner

Originally created by @bb7788 on GitHub (Jan 25, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2047

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version:

v1.11.8

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

macos

Expected Behavior

我这边有个a服务器(centos),只要我连接这个服务器,其他已经连接的服务器都立刻会断开,包括默认新建立的本地连接,
而且一旦触发这个问题,所有的服务器连接都无法重新连接,会一直抱一个错误。只有重启程序。
只要不连接a服务器,连接其他服务器都是正常的,而且我也尝试在软件中删除这个连接,重新建立,还是不行。
之前还是正常的,突然就这样。

TypeError: Cannot set property 'onclose' of undefined
at St (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.11.8:2:305583)
at async kt (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.11.8:2:305714)
at async qo.localList (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.11.8:2:413315)

Can you reproduce the same behavior in other terminal:

Current Behavior

Possible Solution

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @bb7788 on GitHub (Jan 25, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2047 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version: v1.11.8 ## Operating system(linux, macos, or windows7/8/10?): macos ## Expected Behavior <!--- Tell me what should happen --> 我这边有个a服务器(centos),只要我连接这个服务器,其他已经连接的服务器都立刻会断开,包括默认新建立的本地连接, 而且一旦触发这个问题,所有的服务器连接都无法重新连接,会一直抱一个错误。只有重启程序。 只要不连接a服务器,连接其他服务器都是正常的,而且我也尝试在软件中删除这个连接,重新建立,还是不行。 之前还是正常的,突然就这样。 TypeError: Cannot set property 'onclose' of undefined at St (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.11.8:2:305583) at async kt (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.11.8:2:305714) at async qo.localList (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.11.8:2:413315) ## 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 -->
kerem closed this issue 2026-02-27 00:02:48 +03:00
Author
Owner

@zxdong262 commented on GitHub (Jan 26, 2021):

可以看看centos 的 ssh-server版本吗?

<!-- gh-comment-id:767208411 --> @zxdong262 commented on GitHub (Jan 26, 2021): 可以看看centos 的 ssh-server版本吗?
Author
Owner

@bb7788 commented on GitHub (Jan 26, 2021):

可以看看centos 的 ssh-server版本吗?

@zxdong262

CentOS release 6.5 (Final)

ssh -V
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013

rpm -qa|grep ssh
libssh2-1.4.2-1.el6.x86_64
openssh-5.3p1-94.el6.x86_64
openssh-clients-5.3p1-94.el6.x86_64
openssh-server-5.3p1-94.el6.x86_64

<!-- gh-comment-id:767333335 --> @bb7788 commented on GitHub (Jan 26, 2021): > 可以看看centos 的 ssh-server版本吗? @zxdong262 CentOS release 6.5 (Final) ssh -V OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013 rpm -qa|grep ssh libssh2-1.4.2-1.el6.x86_64 openssh-5.3p1-94.el6.x86_64 openssh-clients-5.3p1-94.el6.x86_64 openssh-server-5.3p1-94.el6.x86_64
Author
Owner

@zxdong262 commented on GitHub (Jan 27, 2021):

https://github.com/electerm/electerm/releases/tag/v1.11.11 @bb7788 可以试试最新版吗?

<!-- gh-comment-id:768071988 --> @zxdong262 commented on GitHub (Jan 27, 2021): https://github.com/electerm/electerm/releases/tag/v1.11.11 @bb7788 可以试试最新版吗?
Author
Owner

@bb7788 commented on GitHub (Jan 27, 2021):

https://github.com/electerm/electerm/releases/tag/v1.11.11 @bb7788 可以试试最新版吗?

#测试了一下,没有之前的问题了,谢谢!神速修复😄
@zxdong262

<!-- gh-comment-id:768103763 --> @bb7788 commented on GitHub (Jan 27, 2021): > https://github.com/electerm/electerm/releases/tag/v1.11.11 @bb7788 可以试试最新版吗? #测试了一下,没有之前的问题了,谢谢!神速修复😄。 @zxdong262
Author
Owner

@zxdong262 commented on GitHub (Jan 27, 2021):

😄

<!-- gh-comment-id:768190381 --> @zxdong262 commented on GitHub (Jan 27, 2021): 😄
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#1246
No description provided.