I'm using the latest version of Eclipse Galileo and I have to access the web from behind a proxy. I see where I can set the internet settings to manual and specify a proxy but there's no way to specify my authentication credentials that I can see and it doesn't prompt me for them either. So I'm not able to hit any plugin update sites etc... Does anyone else have this issue or know a good workaround? Or is there a better version of Eclipse to use?
9 Answers
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.

- 21,988
- 13
- 81
- 109

- 6,401
- 2
- 27
- 34
-
wouldn't that involve putting my password in plain text? also what is the format of the string? – jtruelove Dec 21 '09 at 16:28
-
1. If you want Eclipse (or any tool, for that matter) to perform authentication for you, then you have to tell it your password :-) Why is that a problem? 2. The format of which string? – Eli Acherkan Dec 21 '09 at 16:35
-
4Eclipse 3.4+ will automatically encrypt your proxy authentication info using a master password as part of its secure storage feature. http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.user/reference/ref-securestorage-works.htm – Noel Oct 27 '10 at 14:37
-
After these steps Eclipse Mars (4.5.1) will crash on startup. – P Varga Jan 05 '16 at 22:36
-
1What to do if my computer use Automatic Configuration Script? – toha Sep 13 '16 at 07:57
If you have still problems, try deactivating ("Clear") SOCKS
see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=281384 "I believe the reason for this is because it uses the SOCKS proxy instead of the HTTP proxy if SOCKS is configured."

- 421
- 4
- 2
-
Indeed. I suffered with Eclipse 3.6 behind a corporate proxy with this issue. Clearing password for SOCKS solved the problem. Thanks – Frederic Conrotte Jan 03 '11 at 10:29
-
-
-
-
Worked for me on Eclipse Oxygen (Release 4.7.1, Build id: 20170914-1200). – ricardo.scholz Oct 02 '17 at 15:06
-
Thank you very much, this worked for me. But i can only access Eclipse Marketplace, when trying to install a third party plugin using Help --> Install New Software, its not allowing me to. Facing same error "http" authentication required. – Bhuvanesh Mani Feb 06 '18 at 20:17
Window → Preferences → General → Network Connections then under "Proxy ByPass" click "Add Host" and enter the link from which you will be getting your third-party plugin; that's it bingo, now it should get the plugin no problem.

- 10,343
- 11
- 51
- 59

- 109
- 1
- 2
-
Awesome. I wonder why it's no accepted as a correct answer. Thank you Amir. – Khanh Tran Jul 22 '16 at 18:04
-
1"I have to access the web from behind a proxy" is mentioned in the question. You tell him to bypass it. How is this an acceptable answer? – KC Wong Jan 25 '19 at 02:11
I struggle with this constantly, as it seems it is a different solution every time a new version of Eclipse is released. Here is a solution that doesn't involve displaying your password in the .ini file.
In Eclipse go to Window > Preferences > General > security Secure Storage
In the Password tab click on the "Change Password" button Fill in the security questions. Don't make them to hard. Finish
Now go to Window > Preferences > General > Network connections. Choose "Manual" from drop down. Double click "HTTP" option and enter the Host, Port, Username and Password. Finish
Now go to Window > Preferences > General > security Secure Storage
In the Password tab click on the "Recover Password" button Fill in the security questions. Finish
Eclipse now stores your username and password

- 119
- 1
- 3
-
3
-
2It is definitively related. This stupid Eclipse kept discarding my proxy credentials silently again and again, until I find this answer and delete the secure storage stuff. It does now remember the credentials and I can bypass the proxy. – calandoa Oct 06 '20 at 15:50
Here is the workaround:
In eclipse.ini write the following:
-vmargs
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors= org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyHost=*myproxyhost*
-Dhttp.proxyPort=*myproxyport*
-Dhttp.proxyUser=*proxy username*
-Dhttp.proxyPassword=*proxy password*
-Dhttp.nonProxyHosts=localhost|127.0.0.1
After starting eclipse verify, that you use the Manual proxy method.
HTH

- 5,975
- 9
- 39
- 58
This sometime works, sometime no.
I have installed 1 Eclipse - works.
Installed second - doesn't work.
And I cann't figure why!
After some time may be found a solution.
Need delete all setting for proxy (included credentials). And re-insert for new.
After this for me getting work.

- 23,228
- 58
- 149
- 207
Add the following line at the end of your eclipse.ini file
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4

- 109
- 1
- 15
For eclipse Mar1 : - Window > Preferences > General > Network connections. Choose "Manual" from drop down. Double click "HTTP" option and enter the Host, Port, Username and Password. Apply and Finish,,it will work as expected...

- 1
- 1