如何指定 Eclipse 代理身份验证凭据?
我正在使用最新版本的 Eclipse Galileo,并且必须从代理后面访问网络。我看到可以在哪里将互联网设置设置为手动并指定代理,但无法指定我可以看到的身份验证凭据,并且它也不会提示我输入它们。所以我无法访问任何插件更新网站等...其他人有这个问题或知道一个好的解决方法吗?或者有更好的 Eclipse 版本可以使用吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
在 Eclipse 中,转到窗口 → 首选项 → 常规 → 网络连接。在“活动提供商”组合框中,选择“手动”。在代理条目表中,对于每个条目,单击“编辑...”并提供您的代理主机、端口、用户名和密码详细信息。
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.
如果仍有问题,请尝试停用(“清除”)SOCKS,
请参阅:https:/ /bugs.eclipse.org/bugs/show_bug.cgi?id=281384
“我相信这是因为它使用了 SOCKS 代理
如果配置了 SOCKS,则代替 HTTP 代理。”
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."
以下是解决方法:
在 eclipse.ini 中写入以下内容:
启动 eclipse 后验证,您使用手动代理方法。
华泰
Here is the workaround:
In eclipse.ini write the following:
After starting eclipse verify, that you use the Manual proxy method.
HTH
窗口 → 首选项 → 常规 → 网络连接
然后在“代理绕过”下单击“添加主机”并输入您将从中获取第三方插件的链接;
就是这样,现在插件应该没问题了。
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.
我一直在努力解决这个问题,因为每次发布新版本的 Eclipse 时似乎都会有不同的解决方案。这是一个不涉及在 .ini 文件中显示密码的解决方案。
在 Eclipse 中转到 Window >首选项>一般>安全性 安全存储
在“密码”选项卡中,单击“更改密码”按钮
填写安全问题。别让他们太难了。 现在完成
,转到“窗口”>首选项>一般>网络连接。从下拉列表中选择“手动”。双击“HTTP”选项并输入主机、端口、用户名和密码。 现在完成
,转到“窗口”>首选项>一般>安全性 安全存储
在“密码”选项卡中,单击“恢复密码”按钮
填写安全问题。完成
Eclipse 现在存储您的用户名和密码
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
这有时有效,有时无效。
我已经安装了 1 个 Eclipse - 有效。
第二个安装 - 不起作用。
我不明白为什么!
一段时间后可能会找到解决方案。
需要删除代理的所有设置(包括凭据)。
并重新插入新的。
之后我就开始工作了。
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.
尝试仅填充 HTTP 架构
Try to fill only the HTTP schema
在 eclipse.ini 文件末尾添加以下行
Add the following line at the end of your eclipse.ini file
对于 3 月 1 日食:-
窗口>首选项>一般>网络连接。从下拉列表中选择“手动”。双击“HTTP”选项并输入主机、端口、用户名和密码。应用并完成,它将按预期工作...
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...