-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to open remote tunnel access #9438
Comments
Can you please share the entire contents of the remote tunnel access log? Also, do you have any proxies configured on your device? |
2024-01-26 12:44:00.193 [info] tunnel exit(28288): + 1 2024-01-26 12:45:22.283 [info] tunnel Spawning: f:\VSCode\Microsoft VS Code\bin\code-tunnel.exe tunnel --accept-server-license-terms --log info --name RobinsonPC --parent-process-id 20100 2024-01-26 12:45:22.303 [info] * 2024-01-26 12:45:22.303 [info] * Visual Studio Code Server 2024-01-26 12:45:22.303 [info] * 2024-01-26 12:45:22.303 [info] * By using the software, you agree to 2024-01-26 12:45:22.303 [info] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and 2024-01-26 12:45:22.303 [info] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement). 2024-01-26 12:45:22.303 [info] * 2024-01-26 12:45:22.470 [info] [2024-01-26 12:45:22] error failed to lookup tunnel: connection error: error sending request for url (https://usw3.rel.tunnels.api.visualstudio.com/api/v1/tunnels/3nxxzmct?includePorts=true&tokenScopes=host): error trying to connect: The remote host forcibly closes an existing connection. (os error 10054) 2024-01-26 12:45:22.477 [info] tunnel exit(17168): + 1 this is the entire contents of the remote tunnel access log,and i don‘t have any proxies configured. |
This looks like it may be some service issue @derekbekoe |
Looks like there may be a proxy preventing the connection from succeeding. Please verify that the domains listed in this document are accessible and do not generate SSL/TLS errors on your machine: For instance, are you able to successfully access https://global.rel.tunnels.api.visualstudio.com/api/v1/clusters? |
Did you solve it? I had a similar problem |
2024-04-08 11:49:11.733 [info] Session updated: trry-github (github) (service=true) 2024-04-08 11:49:11.961 [info] serviceInstall Spawning: d:\Microsoft VS Code\bin\code-tunnel.exe tunnel service install --accept-server-license-terms --log info --name LAPTOP-M2GVJ4MO 2024-04-08 11:49:12.738 [info] [2024-04-08 11:49:12] error failed to lookup tunnel: connection error: error sending request for url (https://asse.rel.tunnels.api.visualstudio.com/tunnels/majestic-fog-3wszfqh?api-version=2023-09-27-preview): error trying to connect: 远程主机强迫关闭了一个现有的连接。 (os error 10054) 2024-04-08 11:49:12.751 [info] serviceInstall exit(6152): + 1 2024-04-08 11:49:12.751 [info] tunnel Spawning: d:\Microsoft VS Code\bin\code-tunnel.exe tunnel --accept-server-license-terms --log info --name LAPTOP-M2GVJ4MO --parent-process-id 24192 2024-04-08 11:49:12.792 [info] * 2024-04-08 11:49:12.792 [info] * Visual Studio Code Server 2024-04-08 11:49:12.792 [info] * 2024-04-08 11:49:12.792 [info] * By using the software, you agree to 2024-04-08 11:49:12.792 [info] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and 2024-04-08 11:49:12.792 [info] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement). 2024-04-08 11:49:12.792 [info] * 2024-04-08 11:49:13.494 [info] [2024-04-08 11:49:13] error failed to lookup tunnel: connection error: error sending request for url (https://asse.rel.tunnels.api.visualstudio.com/tunnels/majestic-fog-3wszfqh?includePorts=true&tokenScopes=host&api-version=2023-09-27-preview): error trying to connect: 远程主机强迫关闭了一个现有的连接。 (os error 10054) 2024-04-08 11:49:13.520 [info] tunnel exit(4256): + 1 This is my journal |
You seem to have some network configuration or issue that prevents you from connecting to the tunnel service. |
I have changed several computers and have re-installed the latest version of vscode, but it is always the same problem |
Is there a solution? Ask the boss for advice |
@trry-hub Please review this comment from Jan 26 - #9438 (comment). |
|
The "Dev Tunnels" domains also need to be accessible from the machine. |
Visit to the 404, https://global.rel.tunnels.api.visualstudio.com/, I want to do |
You will want to allow |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Did you solve it? I had a similar problem |
I have the same problem. |
It hasn't been solved yet, and I don't know how to solve it. I've changed many network environments and multiple computers, and they all have the same problem |
Me too. |
@liudonghua123 please check the response headers. It's likely there's a proxy that's causing that request to fail. |
@liudonghua123 for Codespaces, it may be best to review the items at https://github.com/community/community/discussions/categories/codespaces or post a new item there. |
@xinxing277 I have encountered the same problem, according to the meaning of the log: error sending request for url (https://asse.rel.tunnels.api.visualstudio.com/tunnels/silent-cat-40lp3tl?tokenScopes=host&api-version=2023-09-27-preview) |
The output of my window is like this |
I just got |
China has blocked it,microsoft devtunnel, you can access it by using some special means, It was usable in the first few months 中国屏蔽了这些服务器,前几个月是可以使用的,这么好用的工具,太可惜了 |
Same problem here. No matter which account I am using. |
I use a proxy to access https://asse.rel.tunnels.api.visualstudio.com/tunnels/silent-cat-40lp3tl?includePorts=true&tokenScopes=host&api-version=2023-09-27-preview but it still returns 404. Is there any other way to circumvent this problem?
|
Is there any other way to avoid this problem? |
Type: Performance Issue
After opening VSCode, click on the user icon in the lower left corner, and then click "Open Remote Tunnel Access", which shows that the opening failed, and the remote tunnel service log is displayed:error failed to lookup tunnel: connection error: error sending request for url (https://usw3.rel.tunnels.api.visualstudio.com/api/v1/tunnels/3nxxzmct?includePorts=true&tokenScopes=host): error trying to connect: The remote host forcibly closes an existing connection. (os error 10054)
Extension version: 1.5.0
VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z)
OS version: Windows_NT x64 10.0.22621
Modes:
System Info
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Process Info
Workspace Info
A/B Experiments
The text was updated successfully, but these errors were encountered: