Skip to content
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

remotes tunnels very slow #9852

Open
mucosmo opened this issue May 5, 2024 · 11 comments
Open

remotes tunnels very slow #9852

mucosmo opened this issue May 5, 2024 · 11 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@mucosmo
Copy link

mucosmo commented May 5, 2024

Type: Bug

suddenly it take minutes to load the tunnels config now, i remember only seconds needed before

Extension version: 0.110.1
VS Code version: Code 1.89.0 (Universal) (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:10:10.196Z)
OS version: Darwin arm64 23.2.0
Modes:

System Info
Item Value
CPUs Apple M2 (8 x 24)
GPU Status 2d_canvas: enabled
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 3, 3, 3
Memory (System) 16.00GB (0.98GB free)
Process Argv --crash-reporter-id 642c7345-6ae6-4d84-9b3c-ee687193dbe6
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
chatpanelt:31018789
dsvsc021:30996838
724cj586:31013169
pythoncenvpt:31022790
dwnewjupytercf:31035177

@mucosmo
Copy link
Author

mucosmo commented May 5, 2024

and throw error "connect ETIMEDOUT 20.197.80.108:443" before it finally successfully show all ssh list, where is the 20.197.80.108:443 come from?
seems like a MS server in Singapore after i looup the ip, is the server down? how can i change the ip?

@mucosmo
Copy link
Author

mucosmo commented May 5, 2024

seems the Visual Studio Code Server is not accessible

2024-05-05 17:25:28.267 [info] Session updated: mucosmo (github) (service=true)
2024-05-05 17:25:28.268 [info] Session token updated: mucosmo (github)
2024-05-05 17:25:28.384 [info] No other tunnel running
2024-05-05 17:25:28.423 [info] Running tunnel CLI

2024-05-05 17:25:28.424 [info] serviceInstall Spawning: /Applications/Visual Studio Code.app/Contents/Resources/app/bin/code-tunnel tunnel service install --accept-server-license-terms --log info --name mucosmolocal

2024-05-05 17:26:44.547 [info] [2024-05-05 17:26:44] error failed to lookup tunnel: connection error: error sending request for url (https://asse.rel.tunnels.api.visualstudio.com/tunnels/7529wktl?api-version=2023-09-27-preview): error trying to connect: tcp connect error: Operation timed out (os error 60)

2024-05-05 17:26:44.550 [info] serviceInstall exit(24363): + 1
2024-05-05 17:26:44.550 [warning] Failed to install tunnel as a service, starting in session...
2024-05-05 17:26:44.550 [info] Running tunnel CLI

2024-05-05 17:26:44.550 [info] tunnel Spawning: /Applications/Visual Studio Code.app/Contents/Resources/app/bin/code-tunnel tunnel --accept-server-license-terms --log info --name mucosmolocal --parent-process-id 24341

2024-05-05 17:26:44.563 [info] *

2024-05-05 17:26:44.564 [info] * Visual Studio Code Server

2024-05-05 17:26:44.564 [info] *

2024-05-05 17:26:44.564 [info] * By using the software, you agree to

2024-05-05 17:26:44.564 [info] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and

2024-05-05 17:26:44.564 [info] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).

2024-05-05 17:26:44.564 [info] *

@jiang7f
Copy link

jiang7f commented May 5, 2024

Windows suffers from the same problem

@lpdink
Copy link

lpdink commented May 7, 2024

same problem

@meteor1113
Copy link

meteor1113 commented May 8, 2024

the same.

@mucosmo @jiang7f @lpdink Are you from china?
I had the same problem with China Unicom and China Mobile.
But using a proxy by setting up http.proxy works fine!
Could the ip be blocked by GFW?

@lpdink
Copy link

lpdink commented May 8, 2024

Yeah, but connecting to an unknown server is not the expected behavior? Is there any way to disable "Tunnels" provided by ms?

@jiang7f
Copy link

jiang7f commented May 8, 2024

我是只需要使用SSH,每次打开远程资源管理器要超过20秒,输出里可以看到是在连vscode的服务器,“远程隧道访问”,我没用这个功能,所以我考虑如何关闭这个连接。
点左下角小人头,可以看到“打开远程隧道访问”,可能之前点到了?然后再最下面有一个"><"这样的图标,点一下,里面有关闭远程隧道”,关了以后,输出里就变成了:
2024-05-08 13:46:27.101 [info] No other tunnel running
然后每次拉SSH的列表还是很慢,我就把所有和Remote、SSH相关的拓展都卸载了,然后只装了"Remote-SSH",每次开Code的时候就不会自动连VSCode服务器了。

我只是需要用SSH,关闭隧道、重装拓展以后,点远程资源管理器瞬间就会出现SSH列表。
如果是需要用 远程隧道,那就是GFW了,开代理用叭

@panzeyu2013
Copy link

panzeyu2013 commented May 8, 2024

Same problem. I only faced this problem when accessing the /home/user/ using SSH, it works fine for other folders. I am wondering why this would happen because no tunnel is used. I reinstalled everything and delete all cache files but no help!

@connor4312
Copy link
Member

Thanks for the issue. @mucosmo in your case on the service side we can see the request successfully made it to the service and a response was sent. Most likely there is some firewall configuration between your network and that of Dev Tunnels which is blocking the response.

@connor4312 connor4312 added the info-needed Issue requires more information from poster label May 8, 2024
@axetroy
Copy link

axetroy commented May 14, 2024

My network can't connect to 20.197.80.108, which causes everything in my vscode to be very slow, opening explorer takes tens of seconds (not a performance issue, I use a MacBook Pro M3 Pro), even the typescript server is unresponsive, everything It's all bad, I need to restart vscode frequently.

Now, I disabled Remote - Tunnels and everything works fine again

@roblourens roblourens removed their assignment May 14, 2024
@ShadowDevourer
Copy link

Same problem.I remove almost all remote extensions except remote ssh.Then everything works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

9 participants