-
Notifications
You must be signed in to change notification settings - Fork 310
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
Failed to install/upgrade extensions remotely with "read ECONNRESET" error notification #5848
Comments
Seeing this error We have a fix for this out on VS Code Insiders now and will have the fix out on stable on Thursday. Could you let me know if you still see an issue on VS Code Insiders? |
I just tried on the latest portable insider version (1.63.0-insider), and it still failed to install extensions on the remote host. [2021-11-11 11:07:51.201] [renderer4] [info] Invoking resolveAuthority(ssh-remote) |
@alexdima any idea behind |
@tanhakabir probably microsoft/vscode#82524 (I just searched our issue tracker for "Buffer.alloc") |
I'm not sure if the Buffer() error is the root cause. The steps (Use 1.62.1 installation version):
|
And I'm guessing this isn't specific to "Debugger for Firefox" vs "Python"? As in they both fail? I can't seem to reproduce this on my machine. Would you be able to try these debugging steps? https://stackoverflow.com/questions/63673860/vscode-extension-deprecation-warning-buffer-how-to-diagnose/68413237#68413237 |
Yes, I think this is not specific to "Debugger for Firefox" and "Python". I just tried in the new 1.62.2 version,
I'll do the debugging steps in both 1.62.1 and 1.62.2 to check if anything different and update the results. |
Okay cool! I think with microsoft/vscode#82524 it seems the warnings have been an issue for awhile and can be tracked in that issue. But if it's not blocking that's good! I close this issue now since it seems like microsoft/vscode#82524 can track the rest. |
Thanks so much for doing all that debugging with us! |
Steps to Reproduce:
Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No
I have tried and confirmed that both installation and portable 1.61.2 VSCode worked correctly,
but failed to install/upgrade extensions on the remote server in both installation and portable 1.62.1 VSCode.
There is no output in the Log(remote extension server) view.
Below is the logs shown in Log(remote server) view:
[2021-11-10 19:08:55.051] [remoteagent] [info]
[2021-11-10 19:08:55.051] [remoteagent] [info] Extension host agent started.
[2021-11-10 19:08:55.293] [remoteagent] [info] [127.0.0.1][9ba67d80][ManagementConnection] New connection established.
[2021-11-10 19:08:55.310] [remoteagent] [info] [127.0.0.1][73105604][ExtensionHostConnection] New connection established.
[2021-11-10 19:08:55.473] [remoteagent] [info] Deleted from disk ms-toolsai.jupyter-renderers /proj/srv_gerrit/.vscode-server/extensions/ms-toolsai.jupyter-renderers-1.0.3
[2021-11-10 19:08:55.742] [remoteagent] [error] ptyHost was unable to resolve shell environment {}
[2021-11-10 19:08:55.742] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:08:55.752] [remoteagent] [info] [127.0.0.1][73105604][ExtensionHostConnection] <17791> Launched Extension Host Process.
[2021-11-10 19:08:55.856] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:08:57.187] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:08:57.590] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:08:57.989] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:09:17.677] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:09:17.741] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:09:17.754] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:09:46.635] [remoteagent] [info] [127.0.0.1][9ba67d80][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
[2021-11-10 19:09:47.651] [remoteagent] [info] [127.0.0.1][73105604][ExtensionHostConnection] <17791> Extension Host Process exited with code: 0, signal: null.
[2021-11-10 19:09:47.652] [remoteagent] [info] Last EH closed, waiting before shutting down
[2021-11-10 19:11:21.560] [remoteagent] [info] Got delay-shutdown request while in shutdown timeout, delaying
[2021-11-10 19:11:21.561] [remoteagent] [info] Cancelling previous shutdown timeout
[2021-11-10 19:11:21.625] [remoteagent] [info] [127.0.0.1][e7f47583][ManagementConnection] New connection established.
[2021-11-10 19:11:21.626] [remoteagent] [info] [127.0.0.1][1ebc144c][ExtensionHostConnection] New connection established.
[2021-11-10 19:11:21.627] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:11:21.633] [remoteagent] [info] [127.0.0.1][1ebc144c][ExtensionHostConnection] <17955> Launched Extension Host Process.
[2021-11-10 19:11:22.714] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:11:23.199] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:11:23.601] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:11:24.112] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:11:27.635] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:11:27.646] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:11:42.488] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:14:28.396] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:14:28.455] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:14:28.472] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:15:04.047] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:15:04.080] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:15:08.560] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:15:08.671] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:15:36.148] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:15:36.180] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:16:21.562] [remoteagent] [info] New EH opened, aborting shutdown
[2021-11-10 19:20:50.790] [remoteagent] [info] [127.0.0.1][e7f47583][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
[2021-11-10 19:20:51.812] [remoteagent] [info] [127.0.0.1][1ebc144c][ExtensionHostConnection] <17955> Extension Host Process exited with code: 0, signal: null.
[2021-11-10 19:20:51.812] [remoteagent] [info] Last EH closed, waiting before shutting down
[2021-11-10 19:22:07.110] [remoteagent] [info] Got delay-shutdown request while in shutdown timeout, delaying
[2021-11-10 19:22:07.111] [remoteagent] [info] Cancelling previous shutdown timeout
[2021-11-10 19:22:07.157] [remoteagent] [info] [127.0.0.1][3bcafff4][ManagementConnection] New connection established.
[2021-11-10 19:22:07.172] [remoteagent] [info] [127.0.0.1][47ebdaae][ExtensionHostConnection] New connection established.
[2021-11-10 19:22:07.175] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:22:07.185] [remoteagent] [info] [127.0.0.1][47ebdaae][ExtensionHostConnection] <18774> Launched Extension Host Process.
[2021-11-10 19:22:08.066] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:22:08.683] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:22:09.090] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:22:09.543] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:22:15.771] [remoteagent] [error] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed {}
[2021-11-10 19:22:29.602] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:22:29.653] [remoteagent] [error] RequestService#request resolving shell environment failed {}
[2021-11-10 19:22:29.665] [remoteagent] [error] RequestService#request resolving shell environment failed {}
The text was updated successfully, but these errors were encountered: