[GH-ISSUE #1700] 测试连接 不支持超时重连 #996

Closed
opened 2026-02-27 00:01:50 +03:00 by kerem · 0 comments
Owner

Originally created by @xiaoluhong on GitHub (May 17, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1700

Electerm version:

v1.3.28

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

MacOS 10.15.4

Expected Behavior

点击 测试连接 后,如果IP不通,应该等一会儿就超时,然后支持再次点击。

Can you reproduce the same behavior in other terminal:

Current Behavior

点击 测试连接 后,因为IP地址不通,然后导致 测试连接 按钮一直是灰色无法再次点击,如图所示:
image

Possible Solution

为 测试连接 添加超时时间,正常情况3秒超时即可,最多5秒。

Steps to Reproduce

  1. 进入书签 配置添加新书签
  2. 在ssh 中设置一个不可达的IP地址,设置用户名
  3. 点击 测试连接

Context (Environment)

Detailed Description

Suggestions?

Originally created by @xiaoluhong on GitHub (May 17, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1700 <!--- Provide some basic info --> ## Electerm version: v1.3.28 ## Operating system(linux, macos, or windows7/8/10?): MacOS 10.15.4 ## Expected Behavior <!--- Tell me what should happen --> 点击 **测试连接** 后,如果IP不通,应该等一会儿就超时,然后支持再次点击。 ## 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 --> 点击 **测试连接** 后,因为IP地址不通,然后导致 **测试连接** 按钮一直是灰色无法再次点击,如图所示: ![image](https://user-images.githubusercontent.com/20707603/82141594-834bea80-9869-11ea-9058-c3b5d37c0653.png) ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> 为 测试连接 添加超时时间,正常情况3秒超时即可,最多5秒。 ## 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. 在ssh 中设置一个不可达的IP地址,设置用户名 3. 点击 **测试连接** ## 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:01:50 +03:00
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#996
No description provided.