-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Type: Bug
For some reason the python language server refuses to work properly in a dev container.
Opening a dev container will install all of the extensions per setting.json
.
The extensions will install in the container and an error message will appear (see screenshot) Remote extension terminated unexpectedly 3 times within the last 5 minutes
.
At this point opening a python file does not have proper syntax highlighting or hovers ect.
So far I have tried completly uninstalling VS Code, running rm -rf ~/Library/Application\ Support/Code/
, starting a new docker container.
The only thing that brings the language server back is rolling back to the python extension version 2024.0.1
Looking at logs, I do see this in the logs:
[2024-03-05T21:36:55.702Z] Port forwarding 64449 > 43823 > 43823 stderr: Connection established
[2024-03-05T21:37:01.304Z] Port forwarding 64449 > 43823 > 43823 stderr: Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)Remote close with error
Extension version: 2024.2.1
VS Code version: Code 1.87.0 (Universal) (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:42:56.944Z)
OS version: Darwin arm64 23.3.0
Modes:
Remote OS version: Linux arm64 6.4.16-linuxkit