microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
161.28k stars 28.32k forks source link

Vscode remote extensions host terminated unexpectedly with code 0 #176716

Closed Shaloc closed 1 year ago

Shaloc commented 1 year ago

We have written the needed data into your clipboard because it was too large to send. Please paste. Type: Bug

The logs right before Extension host (Remote) terminates:

INFO [remote-connection][ExtensionHost][6d0e5…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ).
ERR [remote-connection][ExtensionHost][6d0e5…][reconnect][127.0.0.1:65271] received error control message when negotiating connection. Error:
ERR Error: Connection error: Unknown reconnection token (seen before)
ERR [remote-connection][ExtensionHost][6d0e5…][reconnect] A permanent error occurred in the reconnecting loop! Will give up now! Error:
ERR Error: Connection error: Unknown reconnection token (seen before)
Extension host (Remote) terminated unexpectedly. Code: 0, Signal: 6d0e5acd-f190-40ae-9e60-72fb56582c28
ERR Extension host (Remote) terminated unexpectedly with code 7.
ERR Extension host (Remote) terminated unexpectedly. The following extensions were running: vscode.emmet, vscode.configuration-editing, vscode.json-language-features, vscode.typescript-language-features, streetsidesoftware.code-spell-checker, vscode.git-base, redhat.vscode-yaml, antfu.where-am-i, christian-kohler.path-intellisense, ms-vscode.test-adapter-converter, mpontus.tab-cycle, ms-python.python, ms-toolsai.jupyter, njpwerner.autodocstring, pamaron.pytest-runner, VisualStudioExptTeam.intellicode-api-usage-examples, ms-toolsai.jupyter-renderers, vscode.git, vscode.github, hbenl.vscode-test-explorer, 42Crunch.vscode-openapi, mermade.openapi-lint, ms-python.isort, ms-python.vscode-pylance, thebutlah.reorder-python-imports, vscode.debug-auto-launch, vscode.merge-conflict, chouzz.vscode-better-align, eamodio.gitlens, vscode.npm, GitHub.copilot, GitHub.copilot-labs, ryu1kn.partial-diff, esbenp.prettier-vscode
INFO Automatically restarting the remote extension host.

the socket close event is

isTrusted: true
bubbles: false
cancelBubble: false
cancelable: false
code: 1006
composed: false
currentTarget: WebSocket {url: 'ws://127.0.0.1:65271/stable-5e805b79fcb6ba4c2d2371…82c28&reconnection=true&skipWebSocketFrames=false', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
defaultPrevented: false
eventPhase: 0
path: []
reason: ""
returnValue: true
srcElement: WebSocket {url: 'ws://127.0.0.1:65271/stable-5e805b79fcb6ba4c2d2371…82c28&reconnection=true&skipWebSocketFrames=false', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
target: WebSocket {url: 'ws://127.0.0.1:65271/stable-5e805b79fcb6ba4c2d2371…82c28&reconnection=true&skipWebSocketFrames=false', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
timeStamp: 939255.7999999821
type: "close"
wasClean: false

It seems that there is something wrong with the socket?

VS Code version: Code 1.76.1 (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:48:08.231Z) OS version: Darwin arm64 22.3.0 Modes: Sandboxed: Yes Remote OS version: Linux x64 3.10.0-327.ali2013.alios7.x86_64

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|13, 10, 7| |Memory (System)|16.00GB (0.06GB free)| |Process Argv|--crash-reporter-id 27670bcc-4918-4875-9c9e-89ef2bf591ad| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|SSH: dev-phy| |OS|Linux x64 3.10.0-327.ali2013.alios7.x86_64| |CPUs|Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz (40 x 2200)| |Memory (System)|125.41GB (94.13GB free)| |VM|0%|
Extensions (83) Extension|Author (truncated)|Version ---|---|--- RPMSpec|1do|0.1.0 better-comments|aar|3.0.2 tsl-problem-matcher|amo|0.6.2 browse-lite|ant|0.3.1 icons-carbon|ant|0.2.6 Doxygen|bbe|1.0.0 catppuccin-vsc|Cat|2.6.1 vscode-dash|dee|2.4.0 file-icons|fil|1.0.29 remotehub|Git|0.52.0 vscode-drawio|hed|1.6.6 better-cpp-syntax|jef|1.17.2 vsc-python-indent|Kev|1.18.0 theme-monokai-pro-vscode|mon|1.2.0 vscode-language-pack-zh-hans|MS-|1.76.2023030809 jupyter-keymap|ms-|1.1.0 remote-containers|ms-|0.282.0 remote-ssh|ms-|0.98.0 remote-ssh-edit|ms-|0.84.0 remote-wsl|ms-|0.76.1 vscode-remote-extensionpack|ms-|0.24.0 azure-repos|ms-|0.28.0 remote-explorer|ms-|0.2.0 remote-repositories|ms-|0.30.0 remote-server|ms-|1.0.0 proto|pet|0.0.2 material-icon-theme|PKi|4.24.0 devicetree|plo|0.1.1 multi-command|ryu|1.6.0 ayu|tea|1.0.5 errorlens|use|3.7.0 vscode-icons|vsc|12.2.0 vim|vsc|1.25.2 vscode-todo-highlight|way|1.0.5 jinja|who|0.0.8 wvsc-serendipity|wic|0.105.0 vscode-openapi|42C|4.15.16 arepl|alm|2.0.5 where-am-i|ant|0.2.0 vscode-better-align|cho|1.4.1 path-intellisense|chr|2.8.4 githistory|don|0.6.20 xml|Dot|2.5.1 gitlens|eam|13.3.2 prettier-vscode|esb|9.10.4 copilot|Git|1.77.9225 copilot-labs|Git|0.12.791 vscode-test-explorer|hbe|2.21.1 vscode-clangd|llv|0.1.23 vscode-regexp-preivew|Lul|1.0.0 MagicPython|mag|1.1.0 openapi-lint|mer|1.2.0 tab-cycle|mpo|1.0.1 vscode-language-pack-zh-hans|MS-|1.76.2023030809 playwright|ms-|1.0.8 isort|ms-|2022.8.0 python|ms-|2023.4.1 vscode-pylance|ms-|2023.3.20 jupyter|ms-|2023.2.1200692131 jupyter-keymap|ms-|1.1.0 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 cpptools|ms-|1.14.4 test-adapter-converter|ms-|0.1.6 autodocstring|njp|0.6.1 regexr-vscode|Ora|1.1.1 pytest-runner|pam|0.0.7 openapi-designer|phi|0.3.0 quicktype|qui|12.0.46 vscode-xml|red|0.24.0 vscode-yaml|red|1.12.1 partial-diff|ryu|1.4.3 code-spell-checker|str|2.19.0 reorder-python-imports|the|0.2.0 vs-schema-generator|tia|0.0.2 luna-paint|Tyr|0.16.0 vscode-counter|uct|3.2.1 codelf|unb|11.7.0 intellicode-api-usage-examples|Vis|0.2.7 viml|Xad|2.1.2 json|Zai|2.0.2 vscode-proto3|zxh|0.5.5 (20 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vscaac:30438847 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 pynewext54:30681850 azure-dev_surveyone:30548225 vsccc:30610678 pyindex848:30662994 nodejswelcome1cf:30587006 3biah626:30602489 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 a9j8j154:30646983 vsctsb:30677850 pythonb192:30669360 funwalk2:30682974 ```
lramos15 commented 1 year ago

Please try disabling copilot and seeing if it still crashes.

VSCodeTriageBot commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!