[devcontainer] SSH fingerprint confirmation dialog not shown on first connection, causing connection to hang #65

Open
opened 2026-01-07 12:33:53 +00:00 by shizi · 0 comments
Owner

Bug Report

SSH fingerprint confirmation dialog is not displayed when connecting to a remote container for the first time, causing the connection process to hang.

Steps to Reproduce

  1. Open Trae IDE
  2. Connect to a devcontainer via 'Open with Trae' for the first time
  3. Observe the connection process
  4. The connection hangs at the install_remote_server step
  5. No SSH fingerprint confirmation dialog appears

Expected Behavior

Similar to VSCode, Trae IDE should display a fingerprint confirmation dialog when connecting to a new SSH host for the first time, allowing users to verify and trust the host.

Actual Behavior

The connection process hangs without showing any fingerprint confirmation dialog. The download process eventually fails with network errors.

Environment

  • Trae IDE Version: 3.5.17
  • Operating System: macOS
  • Remote Container: Ubuntu 24.04

Logs

[timestamp] [Remote-SSH (TRAE)] activated
[timestamp] Resolving ssh remote authority 'ssh-remote+example-host'
[timestamp] [SSH] Connecting to example-host
[timestamp] [SSH] Full SSH command: ssh -v -T -D -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ...
[timestamp] [SSH] State transition: initializing → waiting_for_server
... (hangs here, no fingerprint dialog)
[timestamp] ERROR fetch::downloader] Chunk XX failed: error decoding response body

Additional Context

  • VSCode Comparison: When connecting to the same container using VSCode, the fingerprint confirmation dialog appears correctly, and the connection succeeds after confirmation.
  • Workaround: Connecting once with VSCode to accept the fingerprint may allow Trae to connect subsequently

Notes

  • This is an intermittent issue encountered once
  • Requires further investigation to determine root cause

Severity

High - This prevents users from connecting to new remote containers through Trae IDE, requiring them to use VSCode first to establish the initial trust.

## Bug Report **SSH fingerprint confirmation dialog is not displayed when connecting to a remote container for the first time, causing the connection process to hang.** ## Steps to Reproduce 1. Open Trae IDE 2. Connect to a devcontainer via 'Open with Trae' for the first time 3. Observe the connection process 4. The connection hangs at the `install_remote_server` step 5. No SSH fingerprint confirmation dialog appears ## Expected Behavior Similar to VSCode, Trae IDE should display a fingerprint confirmation dialog when connecting to a new SSH host for the first time, allowing users to verify and trust the host. ## Actual Behavior The connection process hangs without showing any fingerprint confirmation dialog. The download process eventually fails with network errors. ## Environment - **Trae IDE Version**: 3.5.17 - **Operating System**: macOS - **Remote Container**: Ubuntu 24.04 ## Logs [timestamp] [Remote-SSH (TRAE)] activated [timestamp] Resolving ssh remote authority 'ssh-remote+example-host' [timestamp] [SSH] Connecting to example-host [timestamp] [SSH] Full SSH command: ssh -v -T -D -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ... [timestamp] [SSH] State transition: initializing → waiting_for_server ... (hangs here, no fingerprint dialog) [timestamp] ERROR fetch::downloader] Chunk XX failed: error decoding response body ## Additional Context - **VSCode Comparison**: When connecting to the same container using VSCode, the fingerprint confirmation dialog appears correctly, and the connection succeeds after confirmation. - **Workaround**: Connecting once with VSCode to accept the fingerprint may allow Trae to connect subsequently ## Notes - This is an intermittent issue encountered once - Requires further investigation to determine root cause ## Severity **High** - This prevents users from connecting to new remote containers through Trae IDE, requiring them to use VSCode first to establish the initial trust.
shizi added the bug label 2026-01-07 12:34:30 +00:00
shizi added this to the DevStar Studio v1.0 Release Version:容器化和智能化 project 2026-01-15 05:30:00 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devstar/devstar#65
No description provided.