Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 260541 - [Proxy] Eclipse CVS connections fail with the "Eclipse" Proxy provider
Summary: [Proxy] Eclipse CVS connections fail with the "Eclipse" Proxy provider
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Pawel Pogorzelski CLA
QA Contact:
URL:
Whiteboard: hasPatch
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-09 07:44 EST by Martin Oberhuber CLA
Modified: 2009-06-02 07:10 EDT (History)
6 users (show)

See Also:


Attachments
Patch_v01 (1.30 KB, patch)
2009-02-06 08:22 EST, Pawel Pogorzelski CLA
pawel.pogorzelski1: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2009-01-09 07:44:59 EST
Build ID: Eclipse 3.5m4

With the new Proxy UI introduced in bug #228739, an "Eclipse" Proxy profile is automatically available.

I have my Eclipse CVS Repositories configured to use
    :extssh:moberhuber@proxy.eclipse.org:443/cvsroot/eclipse
which works fine with the "direct" proxy setting. But when I switch to the "Eclipse" Proxy profile (which I'd expect to work fine for proxied access to Eclipse.org), my CVS access no longer works. I notice that making the proxy change may require quit & restart of Eclipse to get visible.

This may be related to bug 240270, and may be related to bug 106586.

Workaround: Add an entry for "proxy.eclipse.org" into the "proxy bypass" table. It might make sense to have this entry auto-generated.
Comment 1 Martin Oberhuber CLA 2009-01-12 05:01:53 EST
While I had previously tested the extssh method only, I noticed today that if the "Eclipse" Proxy provider is in place, a :pserver:dev.eclipse.org connection also fails with the following message in a dialog:

Could not connect to :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse: I/O exception occurred: ProxySOCKS5: com.jcraft.jsch.JSchException: fail in SOCKS5 proxy
ProxySOCKS5: com.jcraft.jsch.JSchException: fail in SOCKS5 proxy

I thus changed the summary, previous value was:
[Proxy] CVS extssh connection fails with the "Eclipse" Proxy profile
Comment 2 Martin Oberhuber CLA 2009-01-12 05:02:30 EST
Adding ymnk to comment on the JSch SOCKS error message
Comment 3 Atsuhiko Yamanaka CLA 2009-01-15 21:55:10 EST
(In reply to comment #1)
> While I had previously tested the extssh method only, I noticed today that if
> the "Eclipse" Proxy provider is in place, a :pserver:dev.eclipse.org connection
> also fails with the following message in a dialog:
> 
> Could not connect to :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse: I/O
> exception occurred: ProxySOCKS5: com.jcraft.jsch.JSchException: fail in SOCKS5
> proxy
> ProxySOCKS5: com.jcraft.jsch.JSchException: fail in SOCKS5 proxy

This message means that the socket connection has been successfully
established, but the remote is not the socks5 server.

I'm sorry, but it is not clear for me what is your problem.
Did you intend to use socks5 proxy, but it did not be functional? 
Or, was the socks5 proxy unexpectedly enabled?

Comment 4 Martin Oberhuber CLA 2009-01-16 05:13:01 EST
My problem is: 

I have no idea how proxies work and what capabilities are needed. I'm an end user in this respect. I have troubles accessing the Eclipse services, so I'm thinking that I should probably set up a proxy (since I have read this somewhere). In fact, under General>Network Preferences, I find a Proxy Preference page, and WHOA! there is a predefined "Eclipse" Proxy profile. Seems like to solve my problem, so I pick it.

But, it does not solve my problem, it leads to more problems. Looks like either the "Eclipse" Proxy Profile is not well-defined (because there is no proper SOCKS5 proxy, I don't know?), or some code is broken somewhere.

For instance, if I want to use CVS extssh through proxy.eclipse.org, I need to change all Repository entries from "dev.eclipse.org:22" into "proxy.eclipse.org:443". Is this expected? Is this the way we want it to be, given that there is now an "Eclipse" Proxy Profile?
Comment 5 Pawel Pogorzelski CLA 2009-02-06 08:03:32 EST
(In reply to comment #4)
> In fact, under General>Network Preferences, I find a Proxy
> Preference page, and WHOA! there is a predefined "Eclipse" Proxy profile. Seems
> like to solve my problem, so I pick it.
> 

"Eclipse" profile means that you define those settings in the Eclipse via preference page (vs. in OS). I realize now that it is not the most fortunate name. Maybe it should be changed to "Manual". What do you think?
Comment 6 Pawel Pogorzelski CLA 2009-02-06 08:22:44 EST
Created attachment 124957 [details]
Patch_v01

Patch that changes "Eclipse" provider name to "Manual".
Comment 7 Martin Oberhuber CLA 2009-02-07 05:58:23 EST
"Manual" is definitely a better name since products built on Eclipse can be branded with totally different names.
Comment 8 Pawel Pogorzelski CLA 2009-02-08 09:20:54 EST
(In reply to comment #7)
> "Manual" is definitely a better name since products built on Eclipse can be
> branded with totally different names.
> 

So, would patch from comment 6 solve your problem? Or have you got additional issues with the "Eclipse" proxy provider?
Comment 9 Tomasz Zarna CLA 2009-02-09 10:38:29 EST
(In reply to comment #6)
> Patch that changes "Eclipse" provider name to "Manual".

Released to HEAD, but leaving bug open.
Comment 10 Pawel Pogorzelski CLA 2009-02-16 09:15:38 EST
Closing the bug as FIXED. However I'm not sure if patch from comment 6 solves it completely. If some other problems still occur with "Manual" proxy provider (former "Eclipse") please reopen.