Eclipse Neon HTTP Proxy Authentication Required Er

2019-04-24 11:03发布

问题:

When I go to "Install new software" and select an update site or go to "Available Software Site" and click "Reload", I get a "HTTP Proxy Authentication Required" error.

I have searched the web, and I've tried the found suggestion like setting eclipse.ini with

-vmargs -Djava.net.preferIPv4Stack=true
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4

I set the Neon link in an Helios version and it show the Available Software wihtout error.

http://download.eclipse.org/releases/neon

HTTP Proxy Authentication Required: http://download.eclipse.org/releases/neon/compositeContent.xml HTTP Proxy Authentication Required: http://download.eclipse.org/releases/neon/compositeContent.xml Proxy Authentication Required

I've not config Eclipse to authenticate against any proxy.

Version: Neon Release (4.6.0) Build id: 20160613-1800

Windows 7 64bit

How can I set it to work? I'm inside a company netword but I have also tried in my home with the same Laptop and the problem persist.

回答1:

Solve it adding to eclipse.ini

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

and removing:

Djava.net.preferIPv4Stack=true


回答2:

I had the same problem with my Eclipse Neon.2 (4.6.2). I had no success whatsoever by specifying -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4 in the eclipse.ini, as proposed here and in some other answers on StackOverflow. The only thing that helped me was to do the following. Go to "Windows""Preferences""General""Network Connections" and set "Active Provider" to "Direct", then confirm the new settings. After this I could successfully use Eclipse software update sites, as I wanted. All in all, my settings look like this:



回答3:

You can install the software manually on eclipse, find a zip file online.

Go to Help > Install New Software > Add > Archive and locate the zip file.

Make sure to untick the box "Contact all update sites during install to find required software" because if this is ticked it will give the "HTTP Proxy Authentication Required"



标签: eclipse proxy