You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Browser remote indicator loses the host name after disconnecting (Dev Tunnels and WSL) #345695
Windows x64, Code OSS 1.146.0 / Electron 43.8.3. Both client and remote VS Code agent hosts built from ccbfe2802f57d4bb69c478c7790c829ec486f75e. Host type: private Dev Tunnels to Windows hosts. Remote browser proxy enabled, browser storage set to default.
Reproduction
Connect to a named remote agent host, start a session with a folder, and open its localhost app in the integrated browser.
Hover the remote indicator. It correctly says, for example, Connected via tpi-345466-agents-2.
Run Agents: Manage Remote Environments, disconnect that host, close the dialog, and hover the browser's remote indicator again.
Actual
The host's friendly name is replaced with an internal authority:
tunnel__sneaky-ant-krdllm7 is disconnected. Reload the page after it reconnects.
The indicator's accessible label also contains this internal ID. The Remote Environments UI still lists the recognizable name tpi-345466-agents-2.
Reproduced on two distinct hosts. The other host similarly changes from Connected via tpi-345466-agents-1 to tunnel__puzzled-field-rpb00dx is disconnected.... Reconnecting restores the friendly name.
Expected
Keep the same friendly host name in the disconnected tooltip and accessible label, so users can identify which host to reconnect, especially when several remote browser tabs are open.
The disconnected state itself and fail-closed networking work correctly; this report is specifically about losing the host's display name.
Confirmed on local WSL2 / Ubuntu 24.04.5 LTS as well (Code OSS client and Linux source host at ccbfe28). The connected tooltip is Connected via Ubuntu-24.04. After disconnecting through Remote Environments, both tooltip and accessible label become hex-77736c3a5562756e74752d32342e3034 is disconnected. Reload the page after it reconnects. The management UI still knows the readable distro name. This is therefore a shared remote-host labeling issue, not limited to Dev Tunnels. Disconnected navigation still fails closed; an identical Windows localhost server received no fallback request.
changed the title [-]Browser remote indicator loses the host name after disconnecting a Dev Tunnel[/-][+]Browser remote indicator loses the host name after disconnecting (Dev Tunnels and WSL)[/+]on Nov 3, 2026
Activity
dmitrivMS commentedon Nov 3, 2026
Confirmed on local WSL2 / Ubuntu 24.04.5 LTS as well (Code OSS client and Linux source host at ccbfe28). The connected tooltip is
Connected via Ubuntu-24.04. After disconnecting through Remote Environments, both tooltip and accessible label becomehex-77736c3a5562756e74752d32342e3034 is disconnected. Reload the page after it reconnects.The management UI still knows the readable distro name. This is therefore a shared remote-host labeling issue, not limited to Dev Tunnels. Disconnected navigation still fails closed; an identical Windows localhost server received no fallback request.[-]Browser remote indicator loses the host name after disconnecting a Dev Tunnel[/-][+]Browser remote indicator loses the host name after disconnecting (Dev Tunnels and WSL)[/+]Fix microsoft#345695: Retain friendly host name in browser remote ind…