-
Notifications
You must be signed in to change notification settings - Fork 39k
Unable to enable extensions in the remote environment, and remote development features are malfunctioning #213441
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
info-neededIssue requires more information from posterIssue requires more information from poster
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.89.1
- OS Version: local: win 11 22H2 , remote ubuntu 22
Steps to Reproduce:
- Use the Remote-SSH extension to connect to a Linux server that has no public internet access.
- After the connection is established, the status in the bottom left corner continuously shows "Opening Remote..."(about 2 minutes).
- File explorer, text editor, and local extensions work fine, but remote extensions take about 2 minutes to appear.
- Attempting to use any installed and activated remote extensions (e.g., git history or C/C++) results in the error "command 'xxx' not found".
- Relevant logs show
Error: connect ETIMEDOUT 13.107.42.18:443without additional error messages.
Additional Information:
- The remote server has no public internet access, which might be affecting some functionality.
- Tried reinstalling the extensions both locally and remotely, but the issue persists.
- Have you tried using the latest Insiders build: Yes,But the problem remains.
Looking forward to a resolution on this issue soon. Thank you!
log of remote-ssh:
> * Visual Studio Code Server
> *
> * By using the software, you agree to
> * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
> �]0;C:\WINDOWS\System32\cmd.exe�
[11:44:48.472] Got some output, clearing connection timeout
[11:44:48.478] > d967f95644c5: running
> Acquiring lock on /home/z00842003//.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/vscode-remote-lock.z00842003.dc96b837cf6bb4af9cd736aa3af08cf8279f7685
> Found existing installation at /home/z00842003//.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685...
> Checking /home/z00842003//.vscode-server/.dc96b837cf6bb4af9cd736aa3af08cf8279f7685.log and /home/z00842003//.vscode-server/.dc96b837cf6bb4af9cd736aa3af08cf8279f7685.pid for a running server
> Looking for server with pid: 187361
> Found running server...
>
> *
> * Visual Studio Code Server
> *
> * By using the software, you agree to
> * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
>
>
>
>
>
>
>
[11:44:48.486] > * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
> *
>
> Checking server status on port 35341 with wget
> d967f95644c5: start
> SSH_AUTH_SOCK====
> DISPLAY====
> webUiAccessToken====
> listeningOn==35341==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/tmp==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> extInstallTime====
> serverStartTime====
> connectionToken==11111111-1111-1aaa-aa11-1a11aaa1aa1a==
> d967f95644c5: end
[11:44:48.486] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==35341==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/tmp==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==11111111-1111-1aaa-aa11-1a11aaa1aa1a==
[11:44:48.486] Remote server is listening on port 35341
[11:44:48.486] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":35341},"osReleaseId":"ubuntu","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/tmp","platform":"linux","connectionToken":"11111111-1111-1aaa-aa11-1a11aaa1aa1a"},"installUnpackCode":""}
[11:44:48.490] Starting forwarding server. local port 42554 -> socksPort 42549 -> remotePort 35341
[11:44:48.491] Forwarding server listening on port 42554
[11:44:48.491] Waiting for ssh tunnel to be ready
[11:44:48.495] [Forwarding server port 42554] Got connection 0
[11:44:48.497] Tunneled port 35341 to local port 42554
[11:44:48.497] Resolved "ssh-remote+7.240.88.225" to "port 42554"
[11:44:48.502] >
[11:44:48.506] ------
[11:44:48.522] [Forwarding server port 42554] Got connection 1
[11:44:48.615] [Forwarding server port 42554] Got connection 2
log of extensions host
2024-05-25 11:44:16.198 [info] Extension host with pid 89572 started
2024-05-25 11:44:16.198 [info] [resolveAuthority(ssh-remote,1)][0ms] activating remote resolvers ssh-remote+7.240.88.225
2024-05-25 11:44:16.198 [info] [resolveAuthority(ssh-remote,1)][0ms] activating resolver for ssh-remote+7.240.88.225...
2024-05-25 11:44:16.206 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-ssh, startup: false, activationEvent: 'onResolveRemoteAuthority:ssh-remote'
2024-05-25 11:44:16.260 [info] [resolveAuthority(ssh-remote,1)][66ms] invoking final resolve()...
2024-05-25 11:44:17.260 [info] [resolveAuthority(ssh-remote,1)][1067ms] waiting...
2024-05-25 11:44:17.731 [info] [resolveAuthority(ssh-remote,1)][1538ms] setting tunnel factory...
2024-05-25 11:44:17.732 [info] [resolveAuthority(ssh-remote,1)][1538ms] returned 127.0.0.1:42490
2024-05-25 11:44:45.657 [info] Extension host terminating: renderer closed the MessagePort
2024-05-25 11:44:45.658 [info] Extension host with pid 89572 exiting with code 0
2024-05-25 11:44:47.094 [info] Extension host with pid 105524 started
2024-05-25 11:44:47.094 [info] Skipping acquiring lock for c:\Users\z00842003\AppData\Roaming\Code\User\workspaceStorage\1597d683242977eec2b9dabb194cfdf3.
2024-05-25 11:44:47.094 [info] $getCanonicalURI invoked for authority (ssh-remote)
2024-05-25 11:44:47.102 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-ssh, startup: false, activationEvent: 'onResolveRemoteAuthority:ssh-remote'
2024-05-25 11:44:47.157 [info] [resolveAuthority(ssh-remote,1)][0ms] activating remote resolvers ssh-remote+7.240.88.225
2024-05-25 11:44:47.157 [info] [resolveAuthority(ssh-remote,1)][0ms] activating resolver for ssh-remote+7.240.88.225...
2024-05-25 11:44:47.157 [info] [resolveAuthority(ssh-remote,1)][1ms] invoking final resolve()...
2024-05-25 11:44:48.171 [info] [resolveAuthority(ssh-remote,1)][1014ms] waiting...
2024-05-25 11:44:48.507 [info] [resolveAuthority(ssh-remote,1)][1351ms] setting tunnel factory...
2024-05-25 11:44:48.507 [info] [resolveAuthority(ssh-remote,1)][1351ms] returned 127.0.0.1:42554
2024-05-25 11:47:00.603 [info] Eager extensions activated
2024-05-25 11:47:00.730 [info] ExtensionService#_doActivateExtension alefragnani.Bookmarks, startup: false, activationEvent: 'onStartupFinished'
2024-05-25 11:47:00.730 [info] ExtensionService#_doActivateExtension ms-vscode.remote-explorer, startup: false, activationEvent: 'onCommand:remote-internal.setActiveFolders'
2024-05-25 11:47:00.799 [error] Failed to load translations for alefragnani.Bookmarks from file:///c%3A/Users/z00842003/.vscode/extensions/alefragnani.bookmarks-13.5.0/l10n/bundle.l10n.zh-cn.json: 无法读取文件'c:\Users\z00842003\.vscode\extensions\alefragnani.bookmarks-13.5.0\l10n\bundle.l10n.zh-cn.json' (Error: 无法解析不存在的文件 'c:\Users\z00842003\.vscode\extensions\alefragnani.bookmarks-13.5.0\l10n\bundle.l10n.zh-cn.json')
2024-05-25 11:47:00.808 [warning] Using default string since no string found in i18n bundle that has the key: Support
log of server
2024-05-25 11:44:17.795 [info] Extension host agent started.
2024-05-25 11:44:17.902 [info] [127.0.0.1][f84b7768][ManagementConnection] New connection established.
2024-05-25 11:44:18.021 [info] [127.0.0.1][19f32435][ExtensionHostConnection] New connection established.
2024-05-25 11:44:18.027 [info] Installing extensions...
2024-05-25 11:44:18.078 [info] [127.0.0.1][19f32435][ExtensionHostConnection] <187427> Launched Extension Host Process.
2024-05-25 11:44:45.688 [info] [127.0.0.1][f84b7768][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
2024-05-25 11:44:48.449 [info] Got delay-shutdown request while in shutdown timeout, delaying
2024-05-25 11:44:48.449 [info] Cancelling previous shutdown timeout
2024-05-25 11:44:48.919 [info] [127.0.0.1][c95fe67c][ManagementConnection] New connection established.
2024-05-25 11:44:49.074 [info] [127.0.0.1][ef5bdaf0][ExtensionHostConnection] New connection established.
2024-05-25 11:44:49.078 [info] [127.0.0.1][ef5bdaf0][ExtensionHostConnection] <187525> Launched Extension Host Process.
2024-05-25 11:44:49.120 [info] Installing extensions...
2024-05-25 11:46:27.506 [error] Error while installing extensions: connect ETIMEDOUT 13.107.42.18:443
2024-05-25 11:46:27.506 [error] Failed: connect ETIMEDOUT 13.107.42.18:443
at N.B (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:173:107527)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async N.z (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:173:104368)
at async N.getExtensions (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:173:101118)
at async u.j (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:146:1372)
at async u.g (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:145:10100)
at async u.installExtensions (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:145:8716)
at async w.q (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:179:24947)
at async w.k (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:179:23845)
at async w.scanExtensions (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:179:23528)
at async m.call (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:179:26642)
2024-05-25 11:47:00.272 [error] Error while installing extensions: connect ETIMEDOUT 13.107.42.18:443
2024-05-25 11:47:00.272 [error] Failed: connect ETIMEDOUT 13.107.42.18:443
at N.B (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:173:107527)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async N.z (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:173:104368)
at async N.getExtensions (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:173:101118)
at async u.j (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:146:1372)
at async u.g (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:145:10100)
at async u.installExtensions (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:145:8716)
at async w.q (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:179:24947)
at async w.k (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:179:23845)
at async w.scanExtensions (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:179:23528)
at async m.call (/home/z00842003/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685/out/vs/server/node/server.main.js:179:26642)
2024-05-25 11:49:48.450 [info] New EH opened, aborting shutdown
2024-05-25 11:49:48.961 [info] [127.0.0.1][19f32435][ExtensionHostConnection] <187427> Extension Host Process exited with code: 0, signal: null.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
info-neededIssue requires more information from posterIssue requires more information from poster
