Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
I am using a remote Ubuntu server connected via ssh. Since yesterday for me is impossible to run and develpo python code in a proper IDE because all the extension that i was using (python, kubernetes, flake8, docker, ecc ...) are not usable anymore. They work in local but on ssh and it is impossible to sync them.
Logs of the error
Looking at logs it looks like that this could be due to a malformed json of a stable release of .vscode-server/cli
024-10-31 10:27:22.711 [error] SyntaxError: Unexpected non-whitespace character after JSON at position 2
at JSON.parse (<anonymous>)
at Object.factory (file:///home/ubuntu/.vscode-server/cli/servers/Stable-912bb683695358a54ae0c670461738984cbb5b95/server/out/server-main.js:50:26697)
2024-10-31 10:29:04.198 [info] Extension host (Remote) is unresponsive.
2024-10-31 10:29:04.220 [info] Extension host (Remote) is responsive.
Looking at the Extension host log i get
2024-10-31 10:27:19.063 [error] ProxyResolver#addCertificatesV1 Canceled: Canceled
at new tT (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:31:108738)
at py.U (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:31:113348)
at Proxy.s.<computed>.n.charCodeAt.s.<computed> (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:31:110842)
at L0.loadCertificates (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:109:54125)
at Object.loadAdditionalCertificates (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:158:2086)
at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:499:53
at Generator.next (<anonymous>)
at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:35:71
at new Promise (<anonymous>)
at __awaiter (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:31:12)
at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:498:43
at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:500:16
at Generator.next (<anonymous>)
at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:35:71
at new Promise (<anonymous>)
at __awaiter (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:31:12)
at getOrLoadAdditionalCertificates (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:496:12)
at addCertificatesV1 (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:480:9)
at resolveProxy (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:113:9)
at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:325:77
at new Promise (<anonymous>)
at _PacProxyAgent.resolveP (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:325:54)
at _PacProxyAgent.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/agent.js:70:37)
at Generator.next (<anonymous>)
at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/agent.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/agent.js:4:12)
at _PacProxyAgent.connect (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/agent.js:52:16)
at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/agent-base/dist/index.js:132:30
But i do not get which problem is responsible for what.
Settings
I am using a remote Ubuntu server connected via ssh. Since yesterday for me is impossible to run and develpo python code in a proper IDE because all the extension that i was using (python, kubernetes, flake8, docker, ecc ...) are not usable anymore. They work in local but on ssh and it is impossible to sync them.
Logs of the error
Looking at logs it looks like that this could be due to a malformed json of a stable release of .vscode-server/cli
Looking at the Extension host log i get
But i do not get which problem is responsible for what.
Can you please help me with this problem?