大无语
我在用vscode的时候,一不小心点到了更新,然后我的vscode就连不上服务器了。后来查资料发现
刚开始,除了如下错误(因为窗口关了错误找不到了,借用一下别人的)
[08:48:13.513] Server installation process already in progress - waiting and retrying
[08:48:14.517] Running script with connection command: ssh -T -D 58042 "192.168.31.235" bash
[08:48:14.518] Terminal shell path: C:\Windows\System32\cmd.exe
[08:48:14.900] > ]0;C:\Windows\System32\cmd.exe
[08:48:14.900] Got some output, clearing connection timeout
[08:48:14.933] "install" terminal command done
[08:48:14.933] Install terminal quit with output:
[08:48:15.404] > 741b6048ee5c: running
[08:48:15.469] > Acquiring lock on /home/zhangyasheng/.vscode-server/bin/c3f126316369cd610563c75b
> 1b1725e0679adfb3/vscode-remote-lock.zhangyasheng.c3f126316369cd610563c75b1b1725e
> 0679adfb3
[08:48:15.478] > Installation already in progress...
> If you continue to see this message, you can try toggling the remote.SSH.useFloc
> k setting
> 741b6048ee5c: start
>

在使用VSCode时,意外触发更新导致无法连接到远程服务器。错误提示显示服务器安装过程已经正在进行,可能的原因是SSH会话冲突或安装锁未释放。解决方案包括检查远程.SSH.useFlock设置或清理已有的安装锁。

441

被折叠的 条评论
为什么被折叠?



