Skip to content

🍞 Connection error toasts#1053

Open
tcatlas wants to merge 1 commit intognmyt:mainfrom
tcatlas:features/connection-error
Open

🍞 Connection error toasts#1053
tcatlas wants to merge 1 commit intognmyt:mainfrom
tcatlas:features/connection-error

Conversation

@tcatlas
Copy link
Copy Markdown
Collaborator

@tcatlas tcatlas commented Jan 29, 2026

📋 Description

Adds translatable user-friendly error message toasts for the following cases:

  • "Aborted (see logs)" → "Remote host unreachable"
  • "Connection not available" → "Remote host unreachable"
  • "Connection refused" → "Connection refused by remote host"
  • "Authentication" errors → "Authentication failed"
  • "Timeout" errors → "Connection timed out"
  • "Permission denied" → "Permission denied"
image image

Tested against SSH, RDP, VNC.

🚀 Changes made to ...

  • 🔧 Server
  • 🖥️ Client
  • 📚 Documentation
  • 🔄 Other: ___

✅ Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have looked for similar pull requests in the repository and found none
  • This pull request does not contain translations (translations are managed through Crowdin)

🔗 Related Issues

Fixes #1031

@yangjieshao
Copy link
Copy Markdown

使用 toasts 有两个问题
There are two issues with using toasts

  1. 可能会错过这个错误信息
    This error message might be missed
    比如我点击发起连接了,然后在等待链接的时候离开座位去拿水喝,等回到座位会会错过错误信息。
    For example, if I click to initiate a connection and then leave my seat to get water while waiting for the link, I may miss an error message when I return to my seat.

  2. 如果同时向多个服务器发起连接,会不清楚错误信息是哪个服务器的
    If connections are initiated to multiple servers simultaneously, it may be unclear which server's error message corresponds to which

我认为一个比较合适的显示方式是不要关闭tab标签,直接把错误信息显示在原来渲染远程画面的地方
I think a more suitable display method is not to close the tab tab, but to directly display the error message in the original location where the remote screen was rendered

@MeJIuFaRo
Copy link
Copy Markdown

I also request that you add logs for successful SSH connections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Toast message upon connection failure

3 participants