Remote Tunnel Access fails after a while
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
### Description
I've noticed that the remote tunnel access always fails after a while, sometimes hours, sometimes days.
Remote Tunnel Service logs:
```
2026-07-01 11:46:51.189 [info] Session reset
2026-07-01 11:46:51.189 [info] No other tunnel running
2026-07-01 11:47:31.362 [info] Session updated: kmere@microsoft.com (microsoft) (service=true)
2026-07-01 11:47:31.362 [info] Session token updated: kmere@microsoft.com (microsoft)
2026-07-01 11:47:31.534 [info] No other tunnel running
2026-07-01 11:47:31.611 [info] Running tunnel CLI
2026-07-01 11:47:31.612 [info] serviceInstall Spawning: c:\Users\kmere\AppData\Local\Programs\Microsoft VS Code Insiders\bin\code-tunnel-insiders.exe tunnel service install --accept-server-license-terms --log info --name CPC-kmere-6KGZ3
2026-07-01 11:47:31.910 [info] *
2026-07-01 11:47:31.911 [info] * Visual Studio Code Server
2026-07-01 11:47:31.911 [info] *
2026-07-01 11:47:31.911 [info] * By using the software, you agree to
2026-07-01 11:47:31.911 [info] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
2026-07-01 11:47:31.911 [info] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
2026-07-01 11:47:31.911 [info] *
2026-07-01 11:47:31.912 [info] [2026-07-01 08:47:31] info Successfully registered service...
2026-07-01 11:47:31.922 [info] [2026-07-01 08:47:31] info Tunnel service successfully started
2026-07-01 11:47:31.923 [info] Service successfully installed! You can use `code-insiders tunnel service log` to monitor it, and `code-insiders tunnel service uninstall` to remove it.
2026-07-01 11:47:31.939 [info] serviceInstall exit(33908): + 0
2026-07-01 11:47:31.939 [info] Running tunnel CLI
2026-07-01 11:47:31.940 [info] tunnel Spawning: c:\Users\kmere\AppData\Local\Programs\Microsoft VS Code Insiders\bin\code-tunnel-insiders.exe tunnel --accept-server-license-terms --log info --name CPC-kmere-6KGZ3 --parent-process-id 4388 --no-sleep
2026-07-01 11:47:31.992 [info] *
2026-07-01 11:47:31.992 [info] * Visual Studio Code Server
2026-07-01 11:47:31.992 [info] *
2026-07-01 11:47:31.993 [info] * By using the software, you agree to
2026-07-01 11:47:31.993 [info] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
2026-07-01 11:47:31.993 [info] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
2026-07-01 11:47:31.993 [info] *
2026-07-01 11:47:32.387 [info]
2026-07-01 11:47:32.387 [info] Visual Studio Code Tunnel v1.126.0
2026-07-01 11:47:32.388 [info]
2026-07-01 11:47:32.388 [info] ➜ Tunnel: cpc-kmere-6kgz3
2026-07-01 11:47:32.388 [info] ➜ Open: https://insiders.vscode.dev/tunnel/cpc-kmere-6kgz3
2026-07-01 11:47:32.388 [info]
2026-07-01 11:55:23.612 [info] [2026-07-01 08:55:23] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 2
2026-07-01 11:55:23.613 [info] [2026-07-01 08:55:23] info [russh::server] wrote id
2026-07-01 11:55:23.679 [info] [2026-07-01 08:55:23] info [russh::server] read other id
2026-07-01 11:55:23.679 [info] [2026-07-01 08:55:23] info [russh::server] session is running
2026-07-01 11:55:24.568 [info] [2026-07-01 08:55:24] info [rpc.0] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 11:55:25.249 [info] [2026-07-01 08:55:25] info [rpc.0] Downloading Visual Studio Code server -> C:\Users\kmere\AppData\Local\Temp\.tmpOgtK5x\vscode-server-win32-x64.zip
2026-07-01 11:55:34.471 [info] [2026-07-01 08:55:34] info [rpc.0] Disposed of connection to running server.
2026-07-01 11:55:35.977 [info] [2026-07-01 08:55:35] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 3
2026-07-01 11:55:35.977 [info] [2026-07-01 08:55:35] info [russh::server] wrote id
2026-07-01 11:55:36.008 [info] [2026-07-01 08:55:36] info [russh::server] read other id
2026-07-01 11:55:36.008 [info] [2026-07-01 08:55:36] info [russh::server] session is running
2026-07-01 11:55:38.488 [info] [2026-07-01 08:55:38] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 4
2026-07-01 11:55:38.498 [info] [2026-07-01 08:55:38] info [russh::server] wrote id
2026-07-01 11:55:38.536 [info] [2026-07-01 08:55:38] info [russh::server] read other id
2026-07-01 11:55:38.537 [info] [2026-07-01 08:55:38] info [russh::server] session is running
2026-07-01 11:55:40.960 [info] [2026-07-01 08:55:40] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 5
2026-07-01 11:55:40.960 [info] [2026-07-01 08:55:40] info [russh::server] wrote id
2026-07-01 11:55:41.086 [info] [2026-07-01 08:55:41] info [russh::server] read other id
2026-07-01 11:55:41.086 [info] [2026-07-01 08:55:41] info [russh::server] session is running
2026-07-01 11:55:41.322 [info] [2026-07-01 08:55:41] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 6
2026-07-01 11:55:41.322 [info] [2026-07-01 08:55:41] info [russh::server] wrote id
2026-07-01 11:55:41.377 [info] [2026-07-01 08:55:41] info [russh::server] read other id
2026-07-01 11:55:41.377 [info] [2026-07-01 08:55:41] info [russh::server] session is running
2026-07-01 11:55:42.039 [info] [2026-07-01 08:55:42] info [rpc.1] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 11:55:42.437 [info] [2026-07-01 08:55:42] info [rpc.2] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 11:55:43.581 [info] [2026-07-01 08:55:43] info [rpc.2] Downloading Visual Studio Code server -> C:\Users\kmere\AppData\Local\Temp\.tmpl5F7iG\vscode-server-win32-x64.zip
2026-07-01 11:55:47.375 [info] [2026-07-01 08:55:47] error [rpc.0] Error installing server: error renaming downloaded server: Access is denied. (os error 5)
2026-07-01 11:55:51.461 [info] [2026-07-01 08:55:51] error [rpc.2] Error installing server: unable to open file to write \\?\C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0.staging\server\node.exe (from Some("vscode-server-win32-x64/node.exe")): Access is denied. (os error 5)
2026-07-01 11:55:51.822 [info] [2026-07-01 08:55:51] info [rpc.2] Disposed of connection to running server.
2026-07-01 11:55:52.136 [info] [2026-07-01 08:55:52] info [rpc.1] Disposed of connection to running server.
2026-07-01 11:55:52.849 [info] [2026-07-01 08:55:52] info [rpc.1] Downloading Visual Studio Code server -> C:\Users\kmere\AppData\Local\Temp\.tmpOczdzn\vscode-server-win32-x64.zip
2026-07-01 11:55:54.469 [info] [2026-07-01 08:55:54] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 7
2026-07-01 11:55:54.470 [info] [2026-07-01 08:55:54] info [russh::server] wrote id
2026-07-01 11:55:54.490 [info] [2026-07-01 08:55:54] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 8
2026-07-01 11:55:54.490 [info] [2026-07-01 08:55:54] info [russh::server] wrote id
2026-07-01 11:55:54.527 [info] [2026-07-01 08:55:54] info [russh::server] read other id
2026-07-01 11:55:54.527 [info] [2026-07-01 08:55:54] info [russh::server] session is running
2026-07-01 11:55:54.548 [info] [2026-07-01 08:55:54] info [russh::server] read other id
2026-07-01 11:55:54.548 [info] [2026-07-01 08:55:54] info [russh::server] session is running
2026-07-01 11:55:55.409 [info] [2026-07-01 08:55:55] info [rpc.3] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 11:55:55.505 [info] [2026-07-01 08:55:55] info [rpc.4] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 11:55:57.145 [info] [2026-07-01 08:55:57] info [rpc.3] Downloading Visual Studio Code server -> C:\Users\kmere\AppData\Local\Temp\.tmpf5tcUm\vscode-server-win32-x64.zip
2026-07-01 11:55:58.729 [info] [2026-07-01 08:55:58] info [rpc.4] Downloading Visual Studio Code server -> C:\Users\kmere\AppData\Local\Temp\.tmpmS8K6C\vscode-server-win32-x64.zip
2026-07-01 11:56:13.800 [info] [2026-07-01 08:56:13] error [rpc.1] Error installing server: could not create dir for \\?\C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0.staging\server\node_modules\@github\copilot\package.json: Cannot create a file when that file already exists. (os error 183)
2026-07-01 11:56:15.641 [info] [2026-07-01 08:56:15] info [rpc.3] Starting server...
2026-07-01 11:56:15.674 [info] [2026-07-01 08:56:15] error [rpc.4] Error installing server: unable to open file to write \\?\C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0.staging\server\extensions\ms-vscode.js-debug-companion\out\extension.js (from Some("vscode-server-win32-x64/extensions/ms-vscode.js-debug-companion/out/extension.js")): The system cannot find the path specified. (os error 3)
2026-07-01 11:56:15.783 [info] [2026-07-01 08:56:15] info [rpc.4] Disposed of connection to running server.
2026-07-01 11:56:16.102 [info] [2026-07-01 08:56:16] info [rpc.3] Server started
2026-07-01 11:56:28.780 [info] [2026-07-01 08:56:28] info [rpc.3] Disposed of connection to running server.
2026-07-01 11:56:31.188 [info] [2026-07-01 08:56:31] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 9
2026-07-01 11:56:31.190 [info] [2026-07-01 08:56:31] info [russh::server] wrote id
2026-07-01 11:56:31.266 [info] [2026-07-01 08:56:31] info [russh::server] read other id
2026-07-01 11:56:31.266 [info] [2026-07-01 08:56:31] info [russh::server] session is running
2026-07-01 11:56:32.205 [info] [2026-07-01 08:56:32] info [rpc.6] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 11:56:32.207 [info] [2026-07-01 08:56:32] info [rpc.6] Found running server (pid=17836)
2026-07-01 11:56:32.289 [info] [2026-07-01 08:56:32] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 10
2026-07-01 11:56:32.289 [info] [2026-07-01 08:56:32] info [russh::server] wrote id
2026-07-01 11:56:32.369 [info] [2026-07-01 08:56:32] info [russh::server] read other id
2026-07-01 11:56:32.369 [info] [2026-07-01 08:56:32] info [russh::server] session is running
2026-07-01 11:56:33.370 [info] [2026-07-01 08:56:33] info [rpc.7] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 11:56:33.371 [info] [2026-07-01 08:56:33] info [rpc.7] Found running server (pid=17836)
2026-07-01 11:56:41.590 [info] [2026-07-01 08:56:41] info [rpc.6] Disposed of connection to running server.
2026-07-01 11:56:44.115 [info] [2026-07-01 08:56:44] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 11
2026-07-01 11:56:44.115 [info] [2026-07-01 08:56:44] info [russh::server] wrote id
2026-07-01 11:56:44.156 [info] [2026-07-01 08:56:44] info [russh::server] read other id
2026-07-01 11:56:44.156 [info] [2026-07-01 08:56:44] info [russh::server] session is running
2026-07-01 11:56:44.974 [info] [2026-07-01 08:56:44] info [rpc.8] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 11:56:44.975 [info] [2026-07-01 08:56:44] info [rpc.8] Found running server (pid=17836)
2026-07-01 11:56:46.638 [info] [2026-07-01 08:56:46] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 12
2026-07-01 11:56:46.638 [info] [2026-07-01 08:56:46] info [russh::server] wrote id
2026-07-01 11:56:46.715 [info] [2026-07-01 08:56:46] info [russh::server] read other id
2026-07-01 11:56:46.715 [info] [2026-07-01 08:56:46] info [russh::server] session is running
2026-07-01 11:56:47.744 [info] [2026-07-01 08:56:47] info [rpc.9] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 11:56:47.745 [info] [2026-07-01 08:56:47] info [rpc.9] Found running server (pid=17836)
2026-07-01 11:56:56.541 [info] [2026-07-01 08:56:56] info [rpc.7] Disposed of connection to running server.
2026-07-01 11:57:01.316 [info] [2026-07-01 08:57:01] warn [rpc.8] error handling call: NoAttachedServerError(NoAttachedServerError)
2026-07-01 11:57:10.399 [info] [2026-07-01 08:57:10] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 13
2026-07-01 11:57:10.399 [info] [2026-07-01 08:57:10] info [russh::server] wrote id
2026-07-01 11:57:10.464 [info] [2026-07-01 08:57:10] info [russh::server] read other id
2026-07-01 11:57:10.464 [info] [2026-07-01 08:57:10] info [russh::server] session is running
2026-07-01 11:57:12.092 [info] [2026-07-01 08:57:12] info [rpc.10] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 11:57:12.093 [info] [2026-07-01 08:57:12] info [rpc.10] Found running server (pid=17836)
2026-07-01 11:57:23.853 [info] [2026-07-01 08:57:23] warn [rpc.10] error handling call: NoAttachedServerError(NoAttachedServerError)
2026-07-01 11:57:25.170 [info] [2026-07-01 08:57:25] info [rpc.9] Disposed of connection to running server.
2026-07-01 12:16:40.226 [info] [2026-07-01 09:16:40] info [rpc.8] Disposed of connection to running server.
2026-07-01 12:16:40.227 [info] [2026-07-01 09:16:40] info [rpc.10] Disposed of connection to running server.
2026-07-01 12:44:54.030 [info] [2026-07-01 09:44:54] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 14
2026-07-01 12:44:54.031 [info] [2026-07-01 09:44:54] info [russh::server] wrote id
2026-07-01 12:44:54.077 [info] [2026-07-01 09:44:54] info [russh::server] read other id
2026-07-01 12:44:54.077 [info] [2026-07-01 09:44:54] info [russh::server] session is running
2026-07-01 12:44:54.941 [info] [2026-07-01 09:44:54] info [rpc.11] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 12:44:54.955 [info] [2026-07-01 09:44:54] info [rpc.11] Starting server...
2026-07-01 12:44:55.848 [info] [2026-07-01 09:44:55] info [rpc.11] Server started
2026-07-01 12:45:00.816 [info] [2026-07-01 09:45:00] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 15
2026-07-01 12:45:00.816 [info] [2026-07-01 09:45:00] info [russh::server] wrote id
2026-07-01 12:45:00.858 [info] [2026-07-01 09:45:00] info [russh::server] read other id
2026-07-01 12:45:00.858 [info] [2026-07-01 09:45:00] info [russh::server] session is running
2026-07-01 12:45:01.783 [info] [2026-07-01 09:45:01] info [rpc.13] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 12:45:01.784 [info] [2026-07-01 09:45:01] info [rpc.13] Found running server (pid=35196)
2026-07-01 13:00:10.097 [info] [2026-07-01 10:00:10] info [rpc.13] Disposed of connection to running server.
2026-07-01 13:00:10.097 [info] [2026-07-01 10:00:10] info [rpc.11] Disposed of connection to running server.
2026-07-01 13:34:57.532 [info] [2026-07-01 10:34:57] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 16
2026-07-01 13:34:57.532 [info] [2026-07-01 10:34:57] info [russh::server] wrote id
2026-07-01 13:34:57.600 [info] [2026-07-01 10:34:57] info [russh::server] read other id
2026-07-01 13:34:57.600 [info] [2026-07-01 10:34:57] info [russh::server] session is running
2026-07-01 13:34:59.138 [info] [2026-07-01 10:34:59] info [rpc.14] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 13:34:59.157 [info] [2026-07-01 10:34:59] info [rpc.14] Starting server...
2026-07-01 13:34:59.676 [info] [2026-07-01 10:34:59] info [rpc.14] Server started
2026-07-01 13:35:16.418 [info] [2026-07-01 10:35:16] info [rpc.14] Disposed of connection to running server.
2026-07-01 13:35:18.281 [info] [2026-07-01 10:35:18] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 17
2026-07-01 13:35:18.281 [info] [2026-07-01 10:35:18] info [russh::server] wrote id
2026-07-01 13:35:18.320 [info] [2026-07-01 10:35:18] info [russh::server] read other id
2026-07-01 13:35:18.320 [info] [2026-07-01 10:35:18] info [russh::server] session is running
2026-07-01 13:35:19.178 [info] [2026-07-01 10:35:19] info [rpc.16] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 13:35:19.179 [info] [2026-07-01 10:35:19] info [rpc.16] Found running server (pid=28308)
2026-07-01 13:35:22.312 [info] [2026-07-01 10:35:22] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 18
2026-07-01 13:35:22.312 [info] [2026-07-01 10:35:22] info [russh::server] wrote id
2026-07-01 13:35:22.351 [info] [2026-07-01 10:35:22] info [russh::server] read other id
2026-07-01 13:35:22.351 [info] [2026-07-01 10:35:22] info [russh::server] session is running
2026-07-01 13:35:23.673 [info] [2026-07-01 10:35:23] info [rpc.17] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-01 13:35:23.674 [info] [2026-07-01 10:35:23] info [rpc.17] Found running server (pid=28308)
2026-07-01 13:35:43.382 [info] [2026-07-01 10:35:43] warn [rpc.16] error handling call: NoAttachedServerError(NoAttachedServerError)
2026-07-01 14:07:34.611 [info] [2026-07-01 11:07:34] info [rpc.17] Disposed of connection to running server.
2026-07-01 14:07:34.611 [info] [2026-07-01 11:07:34] info [rpc.16] Disposed of connection to running server.
2026-07-02 09:52:41.859 [info] [2026-07-02 06:52:41] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 19
2026-07-02 09:52:41.859 [info] [2026-07-02 06:52:41] info [russh::server] wrote id
2026-07-02 09:52:41.898 [info] [2026-07-02 06:52:41] info [russh::server] read other id
2026-07-02 09:52:41.898 [info] [2026-07-02 06:52:41] info [russh::server] session is running
2026-07-02 09:52:42.794 [info] [2026-07-02 06:52:42] info [rpc.18] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-02 09:52:42.808 [info] [2026-07-02 06:52:42] info [rpc.18] Starting server...
2026-07-02 09:52:43.371 [info] [2026-07-02 06:52:43] info [rpc.18] Server started
2026-07-02 09:53:14.229 [info] [2026-07-02 06:53:14] info [rpc.18] Disposed of connection to running server.
2026-07-02 09:53:19.609 [info] [2026-07-02 06:53:19] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 20
2026-07-02 09:53:19.609 [info] [2026-07-02 06:53:19] info [russh::server] wrote id
2026-07-02 09:53:19.664 [info] [2026-07-02 06:53:19] info [russh::server] read other id
2026-07-02 09:53:19.664 [info] [2026-07-02 06:53:19] info [russh::server] session is running
2026-07-02 09:53:32.290 [info] [2026-07-02 06:53:32] info [rpc.20] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-02 09:53:32.292 [info] [2026-07-02 06:53:32] info [rpc.20] Found running server (pid=23260)
2026-07-02 09:53:56.786 [info] [2026-07-02 06:53:56] warn [rpc.20] error handling call: NoAttachedServerError(NoAttachedServerError)
2026-07-02 09:54:47.893 [info] [2026-07-02 06:54:47] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 21
2026-07-02 09:54:47.893 [info] [2026-07-02 06:54:47] info [russh::server] wrote id
2026-07-02 09:54:47.937 [info] [2026-07-02 06:54:47] info [russh::server] read other id
2026-07-02 09:54:47.937 [info] [2026-07-02 06:54:47] info [russh::server] session is running
2026-07-02 09:54:52.590 [info] [2026-07-02 06:54:52] info [rpc.21] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-dc92e72c7554cc447ae4f7757643cc646d7b8ff0\pid.txt for a running server...
2026-07-02 09:54:52.592 [info] [2026-07-02 06:54:52] info [rpc.21] Found running server (pid=23260)
2026-07-02 09:55:10.023 [info] [2026-07-02 06:55:10] warn [rpc.21] error handling call: NoAttachedServerError(NoAttachedServerError)
2026-07-02 10:55:18.234 [info] [2026-07-02 07:55:18] info [rpc.20] Disposed of connection to running server.
2026-07-02 10:55:18.614 [info] [2026-07-02 07:55:18] info [rpc.21] Disposed of connection to running server.
2026-07-02 10:55:55.835 [info] [2026-07-02 07:55:55] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 22
2026-07-02 10:55:55.835 [info] [2026-07-02 07:55:55] info [russh::server] wrote id
2026-07-02 10:55:55.885 [info] [2026-07-02 07:55:55] info [russh::server] read other id
2026-07-02 10:55:55.886 [info] [2026-07-02 07:55:55] info [russh::server] session is running
2026-07-02 10:56:00.621 [info] [2026-07-02 07:56:00] info [rpc.22] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-a6f8e84822a159b1de1e15d98798cac65ef14f63\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-a6f8e84822a159b1de1e15d98798cac65ef14f63\pid.txt for a running server...
2026-07-02 10:56:01.499 [info] [2026-07-02 07:56:01] info [rpc.22] Downloading Visual Studio Code server -> C:\Users\kmere\AppData\Local\Temp\.tmpu4BUTi\vscode-server-win32-x64.zip
2026-07-02 10:56:25.373 [info] [2026-07-02 07:56:25] info [rpc.22] Starting server...
2026-07-02 10:56:25.811 [info] [2026-07-02 07:56:25] info [rpc.22] Server started
2026-07-02 10:56:43.005 [info] [2026-07-02 07:56:43] warn [rpc.22] error handling call: NoAttachedServerError(NoAttachedServerError)
2026-07-02 15:23:23.719 [info] [2026-07-02 12:23:23] info [rpc.22] Disposed of connection to running server.
2026-07-02 15:23:27.092 [info] [2026-07-02 12:23:27] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 23
2026-07-02 15:23:27.092 [info] [2026-07-02 12:23:27] info [russh::server] wrote id
2026-07-02 15:23:27.130 [info] [2026-07-02 12:23:27] info [russh::server] read other id
2026-07-02 15:23:27.130 [info] [2026-07-02 12:23:27] info [russh::server] session is running
2026-07-02 15:23:27.137 [info] [2026-07-02 12:23:27] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 24
2026-07-02 15:23:27.137 [info] [2026-07-02 12:23:27] info [russh::server] wrote id
2026-07-02 15:23:27.215 [info] [2026-07-02 12:23:27] info [russh::server] read other id
2026-07-02 15:23:27.216 [info] [2026-07-02 12:23:27] info [russh::server] session is running
2026-07-02 15:23:27.947 [info] [2026-07-02 12:23:27] info [rpc.24] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-a6f8e84822a159b1de1e15d98798cac65ef14f63\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-a6f8e84822a159b1de1e15d98798cac65ef14f63\pid.txt for a running server...
2026-07-02 15:23:27.949 [info] [2026-07-02 12:23:27] info [rpc.24] Found running server (pid=7508)
2026-07-02 15:23:28.042 [info] [2026-07-02 12:23:28] info [rpc.25] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-a6f8e84822a159b1de1e15d98798cac65ef14f63\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-a6f8e84822a159b1de1e15d98798cac65ef14f63\pid.txt for a running server...
2026-07-02 15:23:28.043 [info] [2026-07-02 12:23:28] info [rpc.25] Found running server (pid=7508)
2026-07-02 15:23:43.646 [info] [2026-07-02 12:23:43] warn [rpc.25] error handling call: NoAttachedServerError(NoAttachedServerError)
2026-07-02 15:23:54.911 [info] [2026-07-02 12:23:54] info [rpc.24] Disposed of connection to running server.
2026-07-02 15:23:56.733 [info] [2026-07-02 12:23:56] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 25
2026-07-02 15:23:56.734 [info] [2026-07-02 12:23:56] info [russh::server] wrote id
2026-07-02 15:23:56.804 [info] [2026-07-02 12:23:56] info [russh::server] read other id
2026-07-02 15:23:56.804 [info] [2026-07-02 12:23:56] info [russh::server] session is running
2026-07-02 15:23:57.568 [info] [2026-07-02 12:23:57] info [rpc.26] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-a6f8e84822a159b1de1e15d98798cac65ef14f63\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-a6f8e84822a159b1de1e15d98798cac65ef14f63\pid.txt for a running server...
2026-07-02 15:23:57.569 [info] [2026-07-02 12:23:57] info [rpc.26] Found running server (pid=7508)
2026-07-02 15:23:57.775 [info] [2026-07-02 12:23:57] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 26
2026-07-02 15:23:57.775 [info] [2026-07-02 12:23:57] info [russh::server] wrote id
2026-07-02 15:23:57.881 [info] [2026-07-02 12:23:57] info [russh::server] read other id
2026-07-02 15:23:57.881 [info] [2026-07-02 12:23:57] info [russh::server] session is running
2026-07-02 15:23:58.784 [info] [2026-07-02 12:23:58] info [rpc.27] Checking C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-a6f8e84822a159b1de1e15d98798cac65ef14f63\log.txt and C:\Users\kmere\.vscode-insiders\cli\servers\Insiders-a6f8e84822a159b1de1e15d98798cac65ef14f63\pid.txt for a running server...
2026-07-02 15:23:58.785 [info] [2026-07-02 12:23:58] info [rpc.27] Found running server (pid=7508)
2026-07-02 15:24:23.712 [info] [2026-07-02 12:24:23] info [rpc.25] Disposed of connection to running server.
2026-07-02 17:18:54.116 [info] [2026-07-02 14:18:54] info [rpc.26] Disposed of connection to running server.
2026-07-02 17:18:58.997 [info] [2026-07-02 14:18:58] info [rpc.27] Disposed of connection to running server.
2026-07-02 22:17:35.238 [info] [2026-07-02 19:17:35] info [tunnels::connections::ws] error reading websocket: WebSocket protocol error: Connection reset without closing handshake
2026-07-02 22:17:35.239 [info] [2026-07-02 19:17:35] warn Tunnel exited unexpectedly but gracefully, reconnecting
2026-07-02 22:17:40.397 [info] [2026-07-02 19:17:40] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID 2ec1aa86-820a-4585-b3c4-c60b4deb8903):
2026-07-02 22:17:50.422 [info] [2026-07-02 19:17:50] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID 2d239567-76ae-41a6-9c7a-c33cd355edcc):
2026-07-02 22:18:05.451 [info] [2026-07-02 19:18:05] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID 76c6bce1-cb6f-47ce-952a-fa137e16886d):
2026-07-02 22:18:25.476 [info] [2026-07-02 19:18:25] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID cb0bd23b-b7c1-4d95-9f1e-a14be4ccd837):
2026-07-02 22:18:50.500 [info] [2026-07-02 19:18:50] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID 3dfcf292-16ac-4ad0-81d9-1198aa5f66fc):
2026-07-02 22:19:20.524 [info] [2026-07-02 19:19:20] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID aad18d48-89c7-4e0f-8f8b-22e8c9da1fdf):
2026-07-02 22:19:55.550 [info] [2026-07-02 19:19:55] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID 597b4ace-c79c-4cf4-a30a-91fb0c05c1fb):
2026-07-02 22:20:35.577 [info] [2026-07-02 19:20:35] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID e099b548-625c-4f36-a6c5-c2320a7cb980):
2026-07-02 22:21:20.604 [info] [2026-07-02 19:21:20] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID 7baeec4a-1ce6-46c5-9fb1-3dbcc929db56):
2026-07-02 22:22:10.629 [info] [2026-07-02 19:22:10] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID a7d32091-d2e2-46f6-a307-51774fb13150):
2026-07-02 22:23:05.653 [info] [2026-07-02 19:23:05] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID 4234e8dd-bc84-48d6-9e9d-4049e4047497):
2026-07-02 22:24:05.679 [info] [2026-07-02 19:24:05] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID 1e259006-28d4-4275-b113-99e821d84077):
2026-07-02 22:25:10.706 [info] [2026-07-02 19:25:10] warn Error refreshing access token, will retry: failed to lookup tunnel for host token: response error: HTTP status 401 Unauthorized from https://euw.rel.tunnels.api.visualstudio.com/tunnels/puzzled-pond-x263vx6?tokenScopes=host&api-version=2023-09-27-preview (request ID 9b181589-5738-4fcd-8822-370e11c939ac):
...
```
### Issue Details
Item|Value
---|---
Issue Category|Bug
Target|Visual Studio Code - Insiders
VS Code Version|Code - Insiders 1.128.0-insider (dc92e72c7554cc447ae4f7757643cc646d7b8ff0, 2026-07-01T03:47:34Z)
OS Version|Windows_NT x64 10.0.26200
System Info
Item|Value
---|---
VS Code Version|Code - Insiders 1.128.0-insider (dc92e72c7554cc447ae4f7757643cc646d7b8ff0, 2026-07-01T03:47:34Z)
OS Version|Windows_NT x64 10.0.26200
CPUs|AMD EPYC 74F3 24-Core Processor (12 x 3194)
GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x2236 [NVIDIA A10-8Q], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.9597 *ACTIVE*
GPU1: VENDOR= 0x10de, DEVICE=0x2236 [NVIDIA A10-8Q], DRIVER_VERSION=32.0.15.9597
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8521
GPU3: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8521
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg)|
Memory (System)|109.95GB (87.05GB free)
Process Argv|--crash-reporter-id e90a878b-6e87-40eb-9eae-1fd7af3c3970
Screen Reader|no
VM|0%
User Agent|Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.128.0-insider Chrome/148.0.7778.271 Electron/42.5.0 Safari/537.36
Installation pure|true
Extensions (6)
Name|Identifier|Author|Version
---|---|---|---
TestMate C++|matepek.vscode-catch2-test-adapter|matepek|4.25.2
Agency|microsoft.agency|Microsoft|1.0.260515001
CMake Tools|ms-vscode.cmake-tools|ms-vscode|1.24.22
C/C++|ms-vscode.cpptools|ms-vscode|1.33.2
Remote Explorer|ms-vscode.remote-explorer|ms-vscode|0.5.0
Remote - Tunnels|ms-vscode.remote-server|ms-vscode|1.5.3
Theme extensions: 9
A/B Experiments
```
vsliv368cf:30146710
pythonvspyt551cf:31249598
nativeloc1:31118317
dwcopilot:31158714
dwoutputs:31242946
copilot_t_ci:31333650
g012b348:31231168
pythonrdcb7:31268811
pythonpcpt1cf:31399617
6518g693:31302842
82j33506:31327384
6abeh943:31336334
envsactivate1:31349248
editstats-enabled:31346256
cloudbuttont:31366566
3efgi100_wstrepl:31403338
bj468946:31457056
metis_rerank_treatment1:31411021
cp_cls_t_966_ss:31526232
4je02754:31455664
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490507
cp_cls_t_1081:31454832
conptydll_true:31485575
ia-use-proxy-models-svc:31446143
e9c30283:31453065
test_treatment2:31471001
c9b86496:31447327
idci7584:31454084
e3e4d672:31454087
ei9d7968:31462942
nes-extended-on:31455475
de16b994:31458079
89g7j272:31506658
hhf17803:31462392
7e187181:31482583
i2gc6536:31472020
52612955:31508042
h08i8180_copy:31475366
ddid_t:31478204
hmra_i5g22:-9
bjc72774_agent_sandbox:31538428
7df3h592:31491241
cp_cls_t_1082:31535311
logging_enabled_new:31490725
jb_cp_cls_t_632:31537244
b1g4i769:31503653
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31541111
31fi7170_t:31517328
a1ije391_t:31533808
api_cot_ctrl:31509853
hgf2d445:31510900
41836166:31537719
prpt_lrg:31513637
jbcp_cls_pctr_t:31531130
3f904173:31522231
cp_intellij_t_nes:31533504
jf4hg949:31526829
8hjh2968:31540896
h561g132:31534507
ihg5j128:31534457
sandbox-ui-on-2:31542533
```
### Attachments

Contributor guide
Assessment
This issue has not been assessed yet.