microsoft / vscode-python

Python extension for Visual Studio Code
https://aka.ms/pvsc-marketplace
MIT License
4.3k stars 1.18k forks source link

Download of Python language server fails with proxy #8186

Closed jjnurminen closed 4 years ago

jjnurminen commented 4 years ago

Hi, I cannot download the Python language server from behind our http/https proxy. The download reaches 98% and then hangs, never completing. If I restart VSCode, it starts downloading again, reaches 98% and halts again. All other connectivity works fine with the proxy, also within VSCode. If I switch to a proxyless connection, I'm able to download the server. Exactly the same behavior is observed on Linux.

Environment data

kimadeline commented 4 years ago

Hi @jjnurminen 👋

Try setting http.proxyStrictSSL to false, or using jedi, see https://code.visualstudio.com/docs/setup/network#_legacy-proxy-server-support and https://github.com/microsoft/vscode/issues/12588 for the upstream VS Code issue.

Thanks!

jjnurminen commented 4 years ago

Thanks @kimadeline , problem was indeed solved by http.proxyStrictSLL = False.