Eclipse HTTP Proxy Configuration (STS)

I upgraded from Spring Tool Suite (STS) 3.2 to STS 3.3, and it brought several problems with it.

When I try to download plugins, I get errors "Proxy authentication ..".

I configured my http proxy correctly (same as 3.2). I even compared all .ini files between versions and cannot find the difference.

As with many posts, I also cleared the SOCKS proxy and even tried to indicate in the .ini files that it would not be used, but again without any luck.

I tried to configure the HTTPS proxy and play with the properties in the .ini files for both, restart, work under different permissions, ect ...

You can use some new ideas for this.

Thanks so much for reading.

+4
source share
4 answers

The same thing happened to me when installing STS 3.4. I could make the proxy work by switching my proxy provider to a manual, editing the http scheme and adding the proxy username and password. Less than ideal.

If I delete STS, the internal proxy provider will start working again.

+4
source

I had the same problem. It turned out that this was caused by two plugins. To allow STS to connect to the Internet through a proxy server, simply remove these two plugins:

  • org.apache.httpcomponents.httpcore_4.2.4.v201305222326.jar

  • org.apache.httpcomponents.httpclient_4.2.5.v201305222326.jar

There must be older versions of these plugins, so everything should work fine.

+5
source

There is an open problem: https://issuetracker.springsource.com/browse/STS-3647

It is recommended to download the latest nightly build.

0
source

I had to add the following 2 lines to the STS.ini file. The first line at the top of the file and the second line at the bottom of the STS.ini file:

-clean ... -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4 

Then in the following file that exists in the STS installation folder (Eclipse) ...

 configuration\.settings\org.eclipse.core.net.prefs 

... I had to turn on the proxy to make sure that the following properties were set to true:

 proxiesEnabled=true systemProxiesEnabled=true 

Only after this and rebooting STS did the proxy settings that I entered through the user interface earlier take effect.

0
source

Source: https://habr.com/ru/post/1493254/


All Articles