How to Specify Eclipse Proxy Authentication Credentials?

橙三吉。 提交于 2019-12-17 18:00:45

问题


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?


回答1:


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.




回答2:


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."




回答3:


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




回答4:


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.




回答5:


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




回答6:


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.




回答7:


Try to fill only the HTTP schema




回答8:


Add the following line at the end of your eclipse.ini file

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



回答9:


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...



来源:https://stackoverflow.com/questions/1940984/how-to-specify-eclipse-proxy-authentication-credentials

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!