when I go to Install new software and select an update site, I get a "HTTP Proxy Authentication Required" error.
I have searched the internets for quite some time, and I still did not get an answer.
Facts:
My system:
Eclipse for PHP Developers
Version: Luna Service Release 1a (4.4.1)
Build id: 20150109-0600
Windows 7, 64bit
In Eclipse, go to Window → Preferences → General → Network Connections. In the Active Provider combo box, choose "Manual". In the proxy entries table, for each entry click "Edit..." and supply your proxy host, port, username and password details.
If you are behind a proxy, you want to go to window -> properties, search for proxy and switch to "manual" update the HTTP and HTTPS and clear the SOCKS entries (no values). This should enable STS to get through the proxy immediately. Apparently, this issue has more to do with Eclipse in STS rather than STS itself.
Just add this at the end of your eclipse.ini
:
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
In my case I had to set the proxy also to manual (SOCKS should be unchecked). But then, no more hassle.
It basically disables the default Apache HTTP client and will use an HTTP client based on the JRE URL connection. See: https://wiki.eclipse.org/Disabling_Apache_Httpclient
Edit:
There is a new Apache HTTP client version for which the parameter value has changed:
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient45
To disable both use:
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient45,org.eclipse.ecf.provider.filetransfer.httpclient4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With