microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.62k stars 277 forks source link

TLS connection issue #9519

Closed krishnanpooja closed 7 months ago

krishnanpooja commented 7 months ago

Type: Bug

Dev Containers 0.327.0 over Remote - SSH 0.107.1 in VS Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681).

[47717 ms] Error: Client network socket disconnected before secure TLS connection was established at connResetException (node:internal/errors:717:14) at TLSSocket.onConnectEnd (node:_tls_wrap:1598:19) at TLSSocket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [48326 ms] Exit code 1

VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z) OS version: Windows_NT x64 10.0.22621 Modes: Remote OS version: Linux x64 5.15.0-1040-azure

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz (8 x 1896)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.82GB (6.60GB free)| |Process Argv|--crash-reporter-id 0426530a-7072-43fc-bc4a-74713a87d646| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|SSH: DLZ-HC-diagnostic| |OS|Linux x64 5.15.0-1040-azure| |CPUs|Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (16 x 2593)| |Memory (System)|31.34GB (25.03GB free)| |VM|0%|
Extensions (40) Extension|Author (truncated)|Version ---|---|--- vscode-nginx-conf|ahm|0.3.2 dotenv|mik|1.0.1 vscode-dapr|ms-|0.8.0 jupyter-keymap|ms-|1.1.2 vscode-ai-remote|ms-|0.44.1 remote-containers|ms-|0.327.0 remote-ssh|ms-|0.107.1 remote-ssh-edit|ms-|0.86.0 vscode-remote-extensionpack|ms-|0.25.0 remote-explorer|ms-|0.4.1 remote-server|ms-|1.5.0 vscode-icons|vsc|12.7.0 vscode-nginx-conf|ahm|0.3.2 pythoncpp-debug|ben|0.3.0 xml|Dot|2.5.1 gitlens|eam|14.7.0 EditorConfig|Edi|0.16.4 terraform|has|2.29.3 rest-client|hum|0.25.1 compareit|in4|0.0.2 vscode-k8s-pack|kdc|2.0.0 dotenv|mik|1.0.1 vscode-dapr|ms-|0.8.0 vscode-docker|ms-|1.28.0 aks-devx-tools|ms-|0.1.2 vscode-aks-tools|ms-|1.4.1 vscode-kubernetes-tools|ms-|1.3.15 debugpy|ms-|2024.0.0 python|ms-|2024.0.0 vscode-pylance|ms-|2023.12.1 azure-account|ms-|0.11.6 cpptools|ms-|1.18.5 powershell|ms-|2024.0.0 vscode-commons|red|0.0.6 vscode-xml|red|0.26.1 vscode-yaml|red|1.14.0 code-spell-checker|str|3.0.1 vscode-helm|tec|0.4.0 application-insights|Vis|0.4.2 vscode-icons|vsc|12.7.0
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30951796 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 dsvsc019b:30953937 3ef8e399:30949928 bg6jg535:30956215 ```
VSCodeTriageBot commented 7 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

krishnanpooja commented 7 months ago

I have the same issue with the latest 1.86 VScode as well

lippertmarkus commented 7 months ago

I got the same but on macOS

chrmarti commented 7 months ago

Could you try the latest versions? VS Code 1.86 and Dev Containers 0.338.1 and post the log here? (F1 > Dev Containers: Show Container Log...) Also give Dev Containers 0.341.0-pre-release a try, that comes with improvements for custom certificates.

krishnanpooja commented 7 months ago

@chrmarti , please find the log with Dev Container v 0.341.0 and VSCode 1.86 attached remoteContainers-2024-02-07T10-59-19.887Z.log

chrmarti commented 7 months ago

Are you behind a network proxy? Could you try with all "features" in the devcontainer.json commented out?

VSCodeTriageBot commented 7 months 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!