Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The ServicePointManager does not support proxies with the net4bsl.bsl.co.uk scheme

I get this error when trying to sync a team project on team foundation serer in visual studio 2017 at work

Git failed with a fatal error.

NotSupportedException encountered.

   The ServicePointManager does not support proxies with the net4bsl.bsl.co.uk scheme.

cannot spawn /c/program files (x86)/microsoft visual studio/2017/community/common7/ide/commonextensions/microsoft/teamfoundation/team explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory

could not read Username for 'https://ams-british-steel.visualstudio.com': terminal prompts disabled

This is what I have configred as my proxy

git config --global http.proxy net4bsl.bsl.co.uk:8080

Any ideas?

like image 829
Lee Avatar asked Nov 15 '25 20:11

Lee


2 Answers

You're not entering a valid URI scheme, such as http://. Try putting http:// at the front of the proxy address.

like image 63
Daniel Mann Avatar answered Nov 17 '25 08:11

Daniel Mann


Check if you have set the Windows environment variables HTTP_PROXY and HTTPS_PROXY. If they are set, make sure the schema (http and https) is written there. If you modify that variables restart the terminal and try again.

I had the same issue and I solved it in that way.

like image 39
ravenskater Avatar answered Nov 17 '25 09:11

ravenskater



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!