tailscale / tailscale

The easiest, most secure way to use WireGuard and 2FA.
https://tailscale.com
BSD 3-Clause "New" or "Revised" License
17.21k stars 1.31k forks source link

Can't open SSH terminals in VSCode after a few seconds #12121

Open Xenfo opened 1 month ago

Xenfo commented 1 month ago

What is the issue?

When opening VSCode using an SSH remote through Tailscale, terminals can't be opened after a couple seconds of the connection existing. They just time out.

Steps to reproduce

  1. Connect to SSH remote through VSCode
  2. Open terminal window
  3. Wait a few seconds and open more terminals

Are there any recent changes that introduced the issue?

No response

OS

Linux, macOS

OS version

Arch Linux 6.8.9-arch1-2, macOS 14.4.1

Tailscale version

1.66.0

Other software

No response

Bug report

BUG-b11dc89179ce6b67fb8a1def655a5de171bebcc98de0174db11a4daaaa09dfca-20240514000303Z-84b16b9171270e49

Xenfo commented 1 month ago

Closing for now since I can't reproduce it anymore. Very weird.

Xenfo commented 1 month ago

Found the issue again, you have to open the terminal immediately upon opening the SSH window. This doesn't happen with regular SSH.

Bad

https://github.com/tailscale/tailscale/assets/46873232/2fbce836-3427-4e79-9e6b-ceed9d9fb0ca

Good

https://github.com/tailscale/tailscale/assets/46873232/71be1660-1ed9-4320-9d65-6d2f67aad7f3