Bug 291717 - [Net] Socks proxy settings for authentication and proxy bypass not working
Summary: [Net] Socks proxy settings for authentication and proxy bypass not working
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 normal with 4 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform Team Inbox CLA
QA Contact: Pawel Pogorzelski CLA
URL:
Whiteboard: stalebug
Keywords:
Depends on: 318173
Blocks:
  Show dependency tree
 
Reported: 2009-10-08 05:25 EDT by Stefan Seelmann CLA
Modified: 2020-05-04 02:27 EDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Seelmann CLA 2009-10-08 05:25:37 EDT
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.14) Gecko/2009090217 Ubuntu/9.04 (jaunty) Firefox/3.0.14
Build Identifier: 3.5.0-I20090522-1710

In the "Network Connections" preference page it is possible to specify a Socks proxy. It is also possible to specify an user and password for authentication as well as to specify proxy bypass.

I checked the class org.eclipse.core.internal.net.ProxyType and there only the system properties 'socksProxyHost' and 'socksProxyPort' are set. For authentication and proxy bypass there are two TODOs:
// TODO: There does appear to be a way to set the non-proxy hosts for Socks
// TODO: See http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html for a description
// of how to set the Socks user and password

IMO it confuses the user if s/he could specify settings but they don't work. So either the missing functionality should be implemented or (if not possible to implement) the restrictions for Socks should be documented and presented on the preference page.


Reproducible: Always
Comment 1 dick.borrett CLA 2010-06-02 22:03:48 EDT
This bug appears to affect the Eclipse Help as well. No matter what I set the proxy settings to (including no proxy, bypass 127.0.0.1 etc), selecting Help -> Help Contents from the Eclipse menu now fails because Eclipse is still trying to use the proxy to contact my local machine. I get this error message:-

The connection was refused when attempting to contact the proxy server you have configured. Please check your proxy settings and try again.
Comment 2 Pawel Pogorzelski CLA 2010-06-07 06:04:30 EDT
(In reply to comment #0)
> IMO it confuses the user if s/he could specify settings but they don't work. So
> either the missing functionality should be implemented or (if not possible to
> implement) the restrictions for Socks should be documented and presented on the
> preference page.

See bug 286631, comment 23. The same is true for proxy bypass, there is no way to propagate this setting to java.net connection handlers.
Comment 3 Pawel Pogorzelski CLA 2010-06-07 06:06:22 EDT
(In reply to comment #1)

Dick, please provide detailed steps for this using a recent build like 3.6 RC3. There were multiple fixes in proxy area in the current cycle.
Comment 4 dick.borrett CLA 2010-06-29 00:15:32 EDT
OK, I've checked this out on the new Helios release and all seems to be working properly for me.


(In reply to comment #3)
> (In reply to comment #1)
> 
> Dick, please provide detailed steps for this using a recent build like 3.6 RC3.
> There were multiple fixes in proxy area in the current cycle.
Comment 5 Pawel Pogorzelski CLA 2010-06-29 03:56:33 EDT
Specifying bypass hosts for socks proxy will be possible when bug 318173 is fixed.
Comment 6 Andson Gomes CLA 2012-07-23 15:54:51 EDT
I'm have the same problem with the Eclipse Junto installed on a Ubuntu Linux 12.04, behind a Squid proxy with authentication.

The Squid Proxy haven't support socks protocol.

The users need disable the socks protocol.
Comment 7 Arnaud MERGEY CLA 2015-04-10 09:39:15 EDT
For information, for some reason having egit in eclipse makes proxy bypass working for proxy socks.

So as a workaround you can install egit, then proxybypass will be taken into account
Comment 8 Eclipse Genie CLA 2020-05-04 02:27:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.