microsoft / vscode

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

VSCode 1.75.0 no longer working with px-proxy #173202

Closed notatallshaw-gts closed 1 year ago

notatallshaw-gts commented 1 year ago

Type: Bug

  1. Work inside corporate environment that uses proxies which require sspi authentication
  2. Install px-proxy: https://github.com/genotrance/px#installation
  3. Run px-proxy px --verbose
  4. Point Env variables HTTP_PROXY and HTTPS_PROXY to your px proxy set-up (by default "http://127.0.0.1"
  5. VS Code creates bad requests in logs and no Internet connection seems to be formed (e.g. can not load recommended extensions):
    code 400, message Bad request version ('úú\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93\x1a\x1a\x00\x00\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')

Worked on previous versions of VS Code, perhaps local proxies are no longer supported for some reason but don't see anything in the release notes about proxies.

VS Code version: Code 1.75.0 (e2816fe719a4026ffa1ee0189dc89bdfdbafb164, 2023-02-01T15:23:45.584Z) OS version: Windows_NT x64 10.0.19044 Modes: Sandboxed: No Remote OS version: Linux x64 4.19.82-1300.strike.fc29.x86_64

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) W-1350 @ 3.30GHz (12 x 3312)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|31.73GB (21.86GB free)| |Process Argv|--crash-reporter-id 913789c1-9f71-4a38-a9c9-74d55971c667| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|SSH: dshaw-dev| |OS|Linux x64 4.19.82-1300.strike.fc29.x86_64| |CPUs|Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz (8 x 3099)| |Memory (System)|15.66GB (10.88GB free)| |VM|50%|
Extensions (33) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 vsc-python-indent|Kev|1.18.0 jupyter-keymap|ms-|1.0.0 remote-containers|ms-|0.266.1 remote-ssh|ms-|0.96.0 remote-ssh-edit|ms-|0.84.0 remote-explorer|ms-|0.2.0 mako|tom|0.2.0 vscode-sql-formatter|adp|1.4.4 gitstash|art|5.1.0 atlascode|atl|3.0.1 path-intellisense|chr|2.8.4 githistory|don|0.6.19 vscode-pull-request-github|Git|0.56.0 githd|hui|2.3.3 vsc-python-indent|Kev|1.18.0 rainbow-csv|mec|3.5.0 vscode-docker|ms-|1.23.3 black-formatter|ms-|2022.6.0 isort|ms-|2022.8.0 python|ms-|2022.20.2 vscode-pylance|ms-|2023.2.10 jupyter|ms-|2022.11.1003412109 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.14 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 vsnotes|pat|0.7.1 vscode-yaml|red|1.11.0 code-spell-checker|str|2.15.0 shellcheck|tim|0.29.3 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyone:30548225 pyindex848:30577860 nodejswelcome1:30587005 282f8724:30602487 89544117:30613380 pythonsymbol12:30657548 2i9eh265:30646982 ```
notatallshaw-gts commented 1 year ago

Neverminded, I reverted back to 1.74.3 and I got the same errors, something must have changed in my environment other than VSCode 😞