microsoft / vscode

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

Port forwarding does not work if macbook locks and then is resumed #210384

Closed i-sanyam closed 6 months ago

i-sanyam commented 6 months ago

Type: Bug

Port forwarding runs perfectly on the first start until mac gets locked. after unlocking mac, the service is still up and running on Virtual Machine and can be accessed via the console on the machine but port forwarding stops. This didn't happen in the earlier versions and I have started noticing this since March only.

VS Code version: Code 1.88.1 (Universal) (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:42:52.765Z) OS version: Darwin arm64 22.5.0 Modes: Remote OS version: Linux x64 5.4.0-29-generic Remote OS version: Linux x64 5.4.0-29-generic

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|3, 2, 2| |Memory (System)|8.00GB (0.07GB free)| |Process Argv|--crash-reporter-id 4b6f0c5c-d8ac-41a4-aab8-ef045455d3b2| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|SSH: test| |OS|Linux x64 5.4.0-29-generic| |CPUs|AMD EPYC 7542 32-Core Processor (24 x 2894)| |Memory (System)|172.75GB (78.64GB free)| |VM|0%| |Item|Value| |---|---| |Remote|SSH: test| |OS|Linux x64 5.4.0-29-generic| |CPUs|AMD EPYC 7542 32-Core Processor (24 x 2894)| |Memory (System)|172.75GB (78.64GB free)| |VM|0%|
Extensions (24) Extension|Author (truncated)|Version ---|---|--- jupyter-keymap|ms-|1.1.2 remote-containers|ms-|0.354.0 remote-ssh|ms-|0.110.1 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.88.0 vscode-remote-extensionpack|ms-|0.25.0 remote-explorer|ms-|0.5.2024031109 remote-server|ms-|1.5.1 swdc-vscode|sof|2.7.9 vscode-eslint|dba|2.4.4 gitlens|eam|14.9.0 copilot|Git|1.180.0 copilot-chat|Git|0.14.1 vscode-pull-request-github|Git|0.86.1 debugpy|ms-|2024.4.0 python|ms-|2024.4.1 vscode-pylance|ms-|2024.4.1 jupyter|ms-|2024.3.1 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 postman-for-vscode|Pos|0.19.3 LiveServer|rit|5.7.9
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 8082a590:30971561 fegfb526:30981948 bg6jg535:30979843 ccp2r6:30993542 dsvsc020:30976470 pythonait:31006305 666c4381:30973075 gee8j676:31009558 dsvsc021:30996838 gd77d436:30999572 g316j359:31013175 ```
alexr00 commented 6 months ago

Which remote extension are you using?

vscodenpa commented 6 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!

sanyam-aggarwal-shipsy commented 6 months ago

I have created the issue here https://github.com/microsoft/vscode-remote-release/issues/9820