Tunnels stuck in "Starting Remote tunnel" and not installed as service
@connor4312 is already working on this.
Since Jun 24, 2026.
Assessment
This issue has not been assessed yet.
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.130.0 (issue still persists, initially seen on 1.125.1) (edit, just updated to 1.126.0 and the same issue persists)
- OS Version: Archlinux fully updated, and also Windows 11
Steps to Reproduce:
- Open VSCode
- Click on the bottom left "Accounts" icon.
- Select "Turn on Remote tunnel access".
- Select "Install as service"
- Choose your account, in my case GitHub.
After this, it gets stuck on "Starting remote tunnel". The pop up never disappears:
Output from tunnels:
2026-06-23 16:50:02.702 [info] No other tunnel running
2026-06-23 16:50:31.588 [info] Session updated: MYACCOUNT (github) (service=true)
2026-06-23 16:50:31.588 [info] Session token updated: MYACCOUNT (github)
2026-06-23 16:50:31.725 [info] No other tunnel running
2026-06-23 16:50:31.818 [info] Running tunnel CLI
2026-06-23 16:50:31.819 [info] serviceInstall Spawning: /usr/share/code/bin/code-tunnel tunnel service install --accept-server-license-terms --log info --name MYCOMPUTER
2026-06-23 16:50:32.661 [info] *
2026-06-23 16:50:32.661 [info] * Visual Studio Code Server
2026-06-23 16:50:32.661 [info] *
2026-06-23 16:50:32.661 [info] * By using the software, you agree to
2026-06-23 16:50:32.662 [info] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
2026-06-23 16:50:32.662 [info] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
2026-06-23 16:50:32.662 [info] *
2026-06-23 16:50:32.663 [info] [2026-06-23 15:50:32] info Successfully registered service...
2026-06-23 16:50:32.912 [info] [2026-06-23 15:50:32] info Successfully enabled unit files...
2026-06-23 16:50:32.915 [info] [2026-06-23 15:50:32] info Tunnel service successfully started
2026-06-23 16:50:32.915 [info] Service successfully installed! You can use `code tunnel service log` to monitor it, and `code tunnel service uninstall` to remove it.
2026-06-23 16:50:32.929 [info] serviceInstall exit(836549): + 0
2026-06-23 16:50:32.929 [info] Running tunnel CLI
2026-06-23 16:50:32.930 [info] tunnel Spawning: /usr/share/code/bin/code-tunnel tunnel --accept-server-license-terms --log info --name MYCOMPUTER --parent-process-id 834012
2026-06-23 16:50:32.951 [info] *
2026-06-23 16:50:32.951 [info] * Visual Studio Code Server
2026-06-23 16:50:32.952 [info] *
2026-06-23 16:50:32.952 [info] * By using the software, you agree to
2026-06-23 16:50:32.952 [info] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
2026-06-23 16:50:32.952 [info] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
2026-06-23 16:50:32.952 [info] *
2026-06-23 16:50:34.864 [info]
2026-06-23 16:50:34.864 [info] Visual Studio Code Tunnel v1.125.1
2026-06-23 16:50:34.864 [info]
2026-06-23 16:50:34.864 [info] ➜ Tunnel: MYCOMPUTER
2026-06-23 16:50:34.865 [info] ➜ Open: https://vscode.dev/tunnel/MYCOMPUTER
2026-06-23 16:50:34.865 [info]
Even though it gets stuck in the pop up I showed, I can connect remotely from another computer. The issue is that if I reboot the host computer, it doesn't create the tunnel automatically and VSCode starts (Vscode is set to start as the computer reboots).
In the host computer, after reboot it says:
[info] Session reset
[info] No other tunnel running
But there are no tunnels at all, and I have to start one, click start as service, but it gets stuck in said steps as I showed before.
Trying with 1.126.0:
2026-06-24 13:45:17.135 [info] No other tunnel running
2026-06-24 13:45:34.255 [info] Session updated: thephet (github) (service=true)
2026-06-24 13:45:34.255 [info] Session token updated: thephet (github)
2026-06-24 13:45:34.383 [info] No other tunnel running
2026-06-24 13:45:34.430 [info] Running tunnel CLI
2026-06-24 13:45:34.430 [info] serviceInstall Spawning: /usr/share/code/bin/code-tunnel tunnel service install --accept-server-license-terms --log info --name desktop
2026-06-24 13:45:35.448 [info] [2026-06-24 12:45:35] info Creating tunnel with the name: desktop
2026-06-24 13:45:39.972 [info] *
2026-06-24 13:45:39.972 [info] * Visual Studio Code Server
2026-06-24 13:45:39.973 [info] *
2026-06-24 13:45:39.973 [info] * By using the software, you agree to
2026-06-24 13:45:39.973 [info] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
2026-06-24 13:45:39.973 [info] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
2026-06-24 13:45:39.974 [info] *
2026-06-24 13:45:39.974 [info] [2026-06-24 12:45:39] info Successfully registered service...
2026-06-24 13:45:40.165 [info] [2026-06-24 12:45:40] info Successfully enabled unit files...
2026-06-24 13:45:40.166 [info] [2026-06-24 12:45:40] info Tunnel service successfully started
2026-06-24 13:45:40.166 [info] Service successfully installed! You can use `code tunnel service log` to monitor it, and `code tunnel service uninstall` to remove it.
2026-06-24 13:45:40.170 [info] serviceInstall exit(38529): + 0
2026-06-24 13:45:40.171 [info] Running tunnel CLI
2026-06-24 13:45:40.171 [info] tunnel Spawning: /usr/share/code/bin/code-tunnel tunnel --accept-server-license-terms --log info --name desktop --parent-process-id 38322
2026-06-24 13:45:40.185 [info] *
2026-06-24 13:45:40.185 [info] * Visual Studio Code Server
2026-06-24 13:45:40.185 [info] *
2026-06-24 13:45:40.185 [info] * By using the software, you agree to
2026-06-24 13:45:40.185 [info] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
2026-06-24 13:45:40.185 [info] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
2026-06-24 13:45:40.185 [info] *
2026-06-24 13:45:41.428 [info]
2026-06-24 13:45:41.428 [info] Visual Studio Code Tunnel v1.126.0
2026-06-24 13:45:41.428 [info]
2026-06-24 13:45:41.428 [info] ➜ Tunnel: desktop
2026-06-24 13:45:41.428 [info] ➜ Open: https://vscode.dev/tunnel/desktop
2026-06-24 13:45:41.428 [info]
2026-06-24 13:45:43.162 [info] [2026-06-24 12:45:43] info No agent host supervisor running; starting one in the background
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.9k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
new release
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
All issues in microsoft/vscode
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·