Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCODE - Marketplace returned 'ECONNREFUSED'. Please check the 'http.proxy' setting

I am new to Visual Studio. I just installed Visual Studio Code (VSCODE). First time, I opened it and trying to install the extension for powershell. But, when I go to the Extensions tab, it gave an error that the proxy settings were not configured.

The pop up gave an option to 'Open User Settings' and it opened an editor. As per my understanding, I wrote the following two lines in the User Settings file.

Our internal proxy server requires user authentication. How and where will I put the user credentials. I think, I am getting the error because I have not specified the user details.

Screenshot

like image 200
Tom Jacob Chirayil Avatar asked Sep 16 '16 02:09

Tom Jacob Chirayil


People also ask

How do I remove vs proxy code?

You must disable proxy support for extensions by either removing the proxy. http setting, or by setting http. proxySupport to off . You may need to ensure that related system level environment variables are not set for the environment in which VS Code is running.

How do you fix we Cannot connect to the extensions marketplace at this time?

You should open the file of VS Code configuration using any text editor, that is located by the next path: “~/. vscode-oss/argv. json” and add the next property: “enable-browser-code-loading: false” at the end of the file. Restart the VS Code editor, after that step Extensions Marketplace should work properly.

How do I get to marketplace in VS Code?

Browse for extensions# Bring up the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of VS Code or the View: Extensions command (Ctrl+Shift+X). This will show you a list of the most popular VS Code extensions on the VS Code Marketplace.


1 Answers

Found out how. The proxy details should be given in the following format. I was using the wrong format earlier.

My settings file looked something similar to below.

// Place your settings in this file to overwrite the default settings

{ "http.proxy": "http://[email protected]:[email protected]:8080", "http.proxyStrictSSL": false }

The domain user name was domain\user, and it was provided in the user FQDN format Password456 is the login password for the user 10.201.10.200:8080 is the proxy server

Hope this would help someone at some point of time.

like image 103
Tom Jacob Chirayil Avatar answered Oct 14 '22 03:10

Tom Jacob Chirayil