Skip to content

Browser remote indicator loses the host name after disconnecting (Dev Tunnels and WSL) #345695

Description

Testing #345466

Environment

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

  1. Connect to a named remote agent host, start a session with a folder, and open its localhost app in the integrated browser.
  2. Hover the remote indicator. It correctly says, for example, Connected via tpi-345466-agents-2.
  3. 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.

Activity

  1. added
    bug
    on Nov 2, 2026
  2. dmitrivMS commented on Nov 3, 2026

    @dmitrivMS
    CollaboratorAuthor

    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.

  3. 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
  4. added a commit that references this issue on Nov 3, 2026
    30c945c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions