{"id":114490,"date":"2026-10-09T11:25:01","date_gmt":"2026-10-09T03:25:01","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/114490.html"},"modified":"2026-10-09T11:25:01","modified_gmt":"2026-10-09T03:25:01","slug":"%e6%9c%aa%e8%83%bd%e4%b8%8b%e8%bd%bd-vs-code-%e6%9c%8d%e5%8a%a1%e5%99%a8failed-to-fetch%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/114490.html","title":{"rendered":"\u672a\u80fd\u4e0b\u8f7d VS Code \u670d\u52a1\u5668(Failed to fetch)\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>\u7b2c\u4e00\u6b65&#xff0c;\u5728\u672c\u673a PowerShell \u91cc\u5148\u624b\u52a8\u8fdb <font face=\"monospace\">\u670d\u52a1\u5668&#xff08;\u4f60\u670d\u52a1\u5668\u7684\u540d\u5b57&#xff09;<\/font>&#xff1a;<\/p>\n<p>ssh yours<\/p>\n<p>\u7b2c\u4e8c\u6b65&#xff0c;\u5728\u8fdc\u7aef shell \u91cc\u6267\u884c\u8fd9\u7ec4\u6e05\u7406\u547d\u4ee4&#xff1a;<\/p>\n<p>pkill -f vscode-server || true<br \/>\npkill -f &#039;code.*server&#039; || true<br \/>\npkill -f &#039;node.*vscode&#039; || true<br \/>\nrm -rf \/root\/.vscode-server<\/p>\n<p>\u8fd9\u4e00\u6b65\u7684\u76ee\u7684&#xff0c;\u5c31\u662f\u628a\u5361\u4f4f\u7684\u8fdc\u7aef server \u548c\u9501\u72b6\u6001\u6574\u4e2a\u6e05\u6389&#xff0c;\u76f8\u5f53\u4e8e\u624b\u52a8\u505a\u4e00\u6b21\u5b98\u65b9\u8bf4\u7684 \u201cKill VS Code Server on Host\u201d\u3002<\/p>\n<p>\u7b2c\u4e09\u6b65&#xff0c;\u56de\u5230\u672c\u5730&#xff0c;\u628a settings.json \u5148\u6539\u6210\u8fd9\u7ec4&#xff1a;<\/p>\n<p>ctrl&#043;shift&#043;p:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"70\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261009032500-6ac85e8c90a02.png\" width=\"392\" \/><\/p>\n<p>settings.json <\/p>\n<p>&#034;remote.SSH.showLoginTerminal&#034;: true,<br \/>\n&#034;remote.SSH.useLocalServer&#034;: false,<br \/>\n&#034;remote.SSH.useExecServer&#034;: false,<br \/>\n&#034;remote.SSH.useFlock&#034;: false,<br \/>\n&#034;remote.SSH.defaultExtensions&#034;: []<\/p>\n<p>\u8fd9\u91cc\u6709\u4e09\u5c42\u610f\u601d&#xff1a;<br \/>\nshowLoginTerminal \u548c useLocalServer: false \u662f\u5b98\u65b9\u5efa\u8bae\u7684\u6392\u969c\u7ec4\u5408&#xff1b;useFlock: false \u662f\u4f60\u8fd9\u7c7b\u201cInstallation already in progress\u201d\u65e5\u5fd7\u91cc\u76f4\u63a5\u63d0\u793a\u53ef\u5c1d\u8bd5\u7684\u9879&#xff1b;defaultExtensions: [] \u662f\u4e3a\u4e86\u5148\u522b\u8ba9 Python\/Pylance \u81ea\u52a8\u5b89\u88c5&#xff0c;\u5148\u9a8c\u8bc1\u4e3b\u8fde\u63a5\u80fd\u4e0d\u80fd\u5b8c\u6574\u8fdb\u53bb\u3002<\/p>\n<p>\u7b2c\u56db\u6b65&#xff0c;\u518d\u6253\u5f00 VS Code&#xff0c;\u91cd\u542f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b2c\u4e00\u6b65&#xff0c;\u5728\u672c\u673a PowerShell \u91cc\u5148\u624b\u52a8\u8fdb \u670d\u52a1\u5668&#xff08;\u4f60\u670d\u52a1\u5668\u7684\u540d\u5b57&#xff09;&#xff1a;ssh yours\u7b2c\u4e8c\u6b65&#xff0c;\u5728\u8fdc\u7aef shell \u91cc\u6267\u884c\u8fd9\u7ec4\u6e05\u7406\u547d\u4ee4&#xff1a;pkill -f vscode-server || true<br \/>\npkill -f code.*server || true<br \/>\npkill -f node.*vscode || true<br \/>\nrm -rf \/root\/.vscode-server\u8fd9\u4e00\u6b65\u7684\u76ee\u7684&amp;#x<\/p>\n","protected":false},"author":2,"featured_media":114489,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-114490","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u672a\u80fd\u4e0b\u8f7d VS Code \u670d\u52a1\u5668(Failed to fetch)\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/114490.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u672a\u80fd\u4e0b\u8f7d VS Code \u670d\u52a1\u5668(Failed to fetch)\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u7b2c\u4e00\u6b65&#xff0c;\u5728\u672c\u673a PowerShell \u91cc\u5148\u624b\u52a8\u8fdb \u670d\u52a1\u5668&#xff08;\u4f60\u670d\u52a1\u5668\u7684\u540d\u5b57&#xff09;&#xff1a;ssh yours\u7b2c\u4e8c\u6b65&#xff0c;\u5728\u8fdc\u7aef shell \u91cc\u6267\u884c\u8fd9\u7ec4\u6e05\u7406\u547d\u4ee4&#xff1a;pkill -f vscode-server || true pkill -f code.*server || true pkill -f node.*vscode || true rm -rf \/root\/.vscode-server\u8fd9\u4e00\u6b65\u7684\u76ee\u7684&amp;#x\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/114490.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-09T03:25:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261009032500-6ac85e8c90a02.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/114490.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/114490.html\",\"name\":\"\u672a\u80fd\u4e0b\u8f7d VS Code \u670d\u52a1\u5668(Failed to fetch)\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-09T03:25:01+00:00\",\"dateModified\":\"2026-10-09T03:25:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/114490.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/114490.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/114490.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u672a\u80fd\u4e0b\u8f7d VS Code \u670d\u52a1\u5668(Failed to fetch)\u89e3\u51b3\u529e\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u672a\u80fd\u4e0b\u8f7d VS Code \u670d\u52a1\u5668(Failed to fetch)\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/114490.html","og_locale":"zh_CN","og_type":"article","og_title":"\u672a\u80fd\u4e0b\u8f7d VS Code \u670d\u52a1\u5668(Failed to fetch)\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u7b2c\u4e00\u6b65&#xff0c;\u5728\u672c\u673a PowerShell \u91cc\u5148\u624b\u52a8\u8fdb \u670d\u52a1\u5668&#xff08;\u4f60\u670d\u52a1\u5668\u7684\u540d\u5b57&#xff09;&#xff1a;ssh yours\u7b2c\u4e8c\u6b65&#xff0c;\u5728\u8fdc\u7aef shell \u91cc\u6267\u884c\u8fd9\u7ec4\u6e05\u7406\u547d\u4ee4&#xff1a;pkill -f vscode-server || true pkill -f code.*server || true pkill -f node.*vscode || true rm -rf \/root\/.vscode-server\u8fd9\u4e00\u6b65\u7684\u76ee\u7684&amp;#x","og_url":"https:\/\/www.wsisp.com\/helps\/114490.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-09T03:25:01+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261009032500-6ac85e8c90a02.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/114490.html","url":"https:\/\/www.wsisp.com\/helps\/114490.html","name":"\u672a\u80fd\u4e0b\u8f7d VS Code \u670d\u52a1\u5668(Failed to fetch)\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-09T03:25:01+00:00","dateModified":"2026-10-09T03:25:01+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/114490.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/114490.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/114490.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u672a\u80fd\u4e0b\u8f7d VS Code \u670d\u52a1\u5668(Failed to fetch)\u89e3\u51b3\u529e\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/114490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=114490"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/114490\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/114489"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=114490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=114490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=114490"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=114490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}