【C++Debug日记】Resolver error: Error: The VS Code Server failed to start,解决!!

2023-05-16

今日正常启动vscode ssh准备编辑写写代码,结果无法连接到远端服务器,我用Xterm试了一下,发现远端服务器可以照常连接,故排除了服务器本身的连接问题;
具体报错信息如下:

[08:47:41.235] Log Level: 1
[08:47:41.244] remote-ssh@0.62.0
[08:47:41.244] win32 x64
[08:47:41.246] SSH Resolver called for "ssh-remote+mrevowgp1.westus2.cloudapp.azure.com", attempt 1
[08:47:41.246] "remote.SSH.useLocalServer": false
[08:47:41.247] "remote.SSH.showLoginTerminal": false
[08:47:41.247] "remote.SSH.remotePlatform": {"mrevowcpu2.centralus.cloudapp.azure.com":"linux"}
[08:47:41.247] "remote.SSH.sshPath": undefined
[08:47:41.247] "remote.SSH.sshConfigurationFile": undefined
[08:47:41.247] "remote.SSH.useFlock": true
[08:47:41.248] "remote.SSH.lockfilesInTmp": false
[08:47:41.248] "remote.SSH.localServerDownload": auto
[08:47:41.248] "remote.SSH.remoteServerListenOnSocket": false
[08:47:41.248] "remote.SSH.showLoginTerminal": false
[08:47:41.248] "remote.SSH.maxReconnectionAttempts": 9007199254740991
[08:47:41.248] SSH Resolver called for host: mrevowgp1.westus2.cloudapp.azure.com
[08:47:41.249] Setting up SSH remote "mrevowgp1.westus2.cloudapp.azure.com"
[08:47:41.279] Using commit id "ea3859d4ba2f3e577a159bc91e3074c5d85c0523" and quality "stable" for server
[08:47:41.285] Install and start server if needed
[08:47:45.967] Checking ssh with "ssh -V"
[08:47:46.028] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

[08:47:46.034] Running script with connection command: ssh -T -D 57263 "mrevowgp1.westus2.cloudapp.azure.com" bash
[08:47:46.037] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[08:47:47.021] "install" terminal received data: "�[2J�[m�[H93ea2fea3716: running
�]0;C:\WINDOWS\System32\cmd.exe��[?25h"
[08:47:47.022] Got some output, clearing connection timeout
[08:47:47.061] "install" terminal received data: "Acquiring lock on /home/mrevow/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074
c5d85c0523/vscode-remote-lock.mrevow.ea3859d4ba2f3e577a159bc91e3074c5d85c0523   
Found existing installation at /home/mrevow/.vscode-server/bin/ea3859d4ba2f3e577
a159bc91e3074c5d85c0523...�[K
Checking /home/mrevow/.vscode-server/.ea3859d4ba2f3e577a159bc91e3074c5d85c0523.l
og and /home/mrevow/.vscode-server/.ea3859d4ba2f3e577a159bc91e3074c5d85c0523.pid
 for a running server�[K
Looking for server with pid: 4605�[K"
[08:47:47.076] "install" terminal received data: "Found running server...�[K
�[K
*�[K
* Reminder: You may only use this software with Visual Studio family products,  
* as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057) 
*�[K
�[K
Server did not start successfully. Full server log at /home/mrevow/.vscode-serve
r/.ea3859d4ba2f3e577a159bc91e3074c5d85c0523.log >>>�[K
<<< End of server log�[K
93ea2fea3716: start�[K
exitCode==32==�[K
listeningOn====�[K
osReleaseId==ubuntu==�[K
arch==x86_64==�[K
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
93ea2fea3716: end"
[08:47:47.076] Received install output: 
exitCode==32==
listeningOn====
osReleaseId==ubuntu==
arch==x86_64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====

[08:47:47.084] Resolver error: Error: The VS Code Server failed to start
	at Function.ServerInstallError (c:\Users\mrevow\.vscode\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:64207)
	at c:\Users\mrevow\.vscode\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:62459
	at Object.t.handleInstallOutput (c:\Users\mrevow\.vscode\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:63061)
	at I (c:\Users\mrevow\.vscode\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:311112)
	at processTicksAndRejections (internal/process/task_queues.js:94:5)
	at async c:\Users\mrevow\.vscode\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:309029
	at async Object.t.withShowDetailsEvent (c:\Users\mrevow\.vscode\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:403706)
	at async Object.t.resolve (c:\Users\mrevow\.vscode\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:312426)
	at async c:\Users\mrevow\.vscode\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:127:110280
[08:47:47.087] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"ExitCode","exitCodeLabel":"ServerFailedToStart","osReleaseId":"ubuntu","arch":"x86_64","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","remoteInConfigFile":"1","gotUnrecognizedPrompt":"0","dynamicForwarding":"1","localServer":"0"},"measures":{"resolveAttempts":1,"exitCode":32,"retries":1,"timing.totalResolveTime":5832,"timing.preSshTime":4790,"timing.establishSshTime":986,"timing.scriptTime":1040}}
[08:47:47.089] ------

[08:47:47.799] "install" terminal command done
[08:47:47.799] Install terminal quit with output: 

可以看到报错信息:
Resolver error: Error: The VS Code Server failed to start
那么问题就肯定来源于VSCODE啦,故首先排除本地vscode上有问题(我用的挺正常的,连接其他服务器也都无问题),那么就是远端服务器问题啦。

故尝试以下步骤来解决:

  1. ctrl-shift-p后选择
  2. Remote-SSH:kill VS Code Server on Host...
  3. 重新打开对应的远端服务器即可
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

【C++Debug日记】Resolver error: Error: The VS Code Server failed to start,解决!! 的相关文章

随机推荐

  • centos -bash: npm: 未找到命令

    原因 xff1a 未安装 npm 解决 xff1a 1 下载 node js 阿里云镜像 xff1a CNPM Binaries Mirror cd usr local 下载所需版本 wget https nodejs org dist v
  • (PMP) 一、引论

    xff08 PMP xff09 一 引论 1 项目1 1 什么是项目1 2 项目特点 xff1a 独特性 临时性和渐进明细1 3 项目终止情况1 4 项目驱动变更1 5 项目创造商业价值 2 项目管理2 1什么是项目管理2 2 项目组合 项
  • VI使用

    VI使用 vi编辑器是所有Unix及Linux系统下标准的编辑器 xff0c 它的强大不逊色于任何最新的文本编辑器 xff0c 这里只是简单地介绍一下它的用法和一小部分指令 由于对Unix及Linux系统的任何版本 xff0c vi编辑器是
  • (PMP)二、项目运行环境

    1 事业环境因素 xff08 不可控 xff0c 须遵守 xff09 事业环境因素 xff1a 项目团队不能控制的 xff0c 将对项目产生影响 限制或指令作用的各种条件 这些因素可能会提高或限制项目管理的灵活性 xff0c 并可能对项目结
  • (PMP)三、项目经理的角色

    1 项目经理 项目经理 xff1a 项目经理是由执行组织委派 xff0c 领导团队实现项目目标的个人 注 xff1a 项目经理无需承担项目中的每个角色 xff0c 但应具备项目管理知识 技术知识 理解和经验 项目经理通过沟通领导项目团队进行
  • Redis随笔---五种基本数据类型和三种特殊数据类型

    基础操作 1 redis有16个数据库 使用命令 lt select gt 切换数据库 2 keys 查询全部key 3 清空当前的数据库的内容 flushdb 4 清空全部数据库的内容 flushall 五大数据类型 1 string类型
  • FastRTPS(一)——基本知识

    Fast RTPS是eProsima公司开发出来的一个库 xff0c 实现的是DDS标准中的RTPS标准 xff0c 用于通讯 引言及目录 ROS2相比ROS1 xff0c 引入了DDS xff08 这篇不是讲ROS的 xff0c 所以是简
  • QT5配置FastRTPS和FastCDR

    问题描述 当电脑已经成功安装了FastRTPS和FastCDR后 xff0c 如果想要在QT程序中使用FastRTPS应该如何去做 配置 Ubuntu16 04 xff08 其实什么系统都行 xff0c 只不过我当前的是Ubuntu xff
  • C++实现PID控制算法

    描述 PID控制算法 xff0c 是自动化专业学生必须掌握的基本控制算法 比例积分微分算法 比例项P xff1a 与当前误差相关积分项I xff1a 与一段时间积累的误差相关微分项D xff1a 与误差的变化相关 大家的解释都很多了 xff
  • QT报错“expected ‘;‘ after top level declarator”和“expected initializer before ‘XXX‘”

    描述 我在调用台达电机的API时 xff0c 编译工程失败 xff0c 在官方提供的 34 AdvMotApi h 34 文件报了下面两种错误 expected 39 39 after top level declarator expect
  • 用神经网络拟合初等函数

    引言 从理论上讲 xff0c 感知机和激活函数的组合可以拟合任意函数 本文利用神经网络拟合一个初等函数 语言与外部库 使用python语言 xff0c 涉及的外部库有 xff1a keras 简明神经网络框架math 标准数学库numpy
  • matlab函数im2bw_im2bw(matlab中im2bw用法)

    MATLAB使用im2bw函数后 xff0c 将一个32 16 3 unit的数组变成了31 10 的数组 xff0c graythresh函数用法 xff1a 使用最大类间方差法找到图片的一个合适的阈值 threshold 在使用im2b
  • linux创建文件夹函数,Linux C 创建目录函数mkdir的mode设置问题

    函数原型 xff1a include int mkdir const char path mode t mode 参数 xff1a path是目录名 mode是目录权限 返回值 xff1a 返回0 表示成功 xff0c 返回 1表示错误 x
  • 阿里云ECS,Ubuntu Server 16.04安装图形界面远程控制

    最近阿里云有新用户免费体验6个月的活动 xff0c 虽说是免费体验 xff0c 但是还是要买个它们的产品才行 xff0c 我就花9 9买了个最便宜的 xff0c 然后就获得了一个乞丐版的ECS服务器 xff0c 配置是1核内存1G 系统装的
  • DARPA——“拒止环境协同作战”:CODE项目初步了解

    Collaborative Operations in Denied Environment xff08 CODE xff09 美国军方在UAS中的投入对于智能 监控和侦察技术是非常有价值的 xff0c 但大多数的现有系统需要有由一个专门的
  • 【PYTHON3学习】os.path.isdir判断文件夹却返回false的问题——追根溯源!

    今天学习os path isdir发现如下问题 xff1a 目录如下 xff1a 问题来源为什么会出现这个现象 isdir 解析分析源代码做做实验 结论 1 问题来源 span class token keyword def span sp
  • Windows用VMware安装MacOS Catalina 10.15教程,附darwin.iso下载

    Windows系统使用VMware安装MacOS Catalina 10 15系统 xff08 黑苹果 xff09 的教程 xff0c 提供MacOS 10 15系统镜像 xff0c 虚拟机软件VMware Workstation Pro1
  • 【PYTHON3学习】常用内置模块urllib学习总结

    1 urllib 提供了一系列用于操作URL的功能 1 1 简单爬虫 1 引入请求模块 from urllib import request 2 打开网页 request urlopen 3 读取网页 read 此处以https www d
  • 【C++11并发】何为std::atomic,其原理如何,以及使用注意事项

    对原子类型的某些操作不一定是线程安全的 xff0c 比如说 a 61 a 43 12 非线程安全 a 43 61 12 线程安全 分析如下 Cppreference介绍 成员函数 xff08 原子操作 xff09 is lock frees
  • 【C++Debug日记】Resolver error: Error: The VS Code Server failed to start,解决!!

    今日正常启动vscode ssh准备编辑写写代码 xff0c 结果无法连接到远端服务器 xff0c 我用Xterm试了一下 xff0c 发现远端服务器可以照常连接 xff0c 故排除了服务器本身的连接问题 xff1b 具体报错信息如下 xf