How to Specify Eclipse Proxy Authentication Credentials?

后端 未结 9 1880
南方客
南方客 2020-12-08 13:48

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

相关标签:
9条回答
  • 2020-12-08 13:59

    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

    0 讨论(0)
  • 2020-12-08 13:59

    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.

    0 讨论(0)
  • 2020-12-08 14:06

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

    0 讨论(0)
  • 2020-12-08 14:07

    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.

    0 讨论(0)
  • 2020-12-08 14:10

    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

    0 讨论(0)
  • 2020-12-08 14:11

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

    -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
    
    0 讨论(0)
提交回复
热议问题