Community
Participate
Working Groups
Build ID: I20080617-2000 Steps To Reproduce: 1. Have Proxy Environment (corporate e.g.) 2. Enter a non-proxy entry for the server you want to connect to with ssh in all lower case (which is standard) 3. Create the remote system to this server 4. Try to connect: it fails with [...].ProxyHTTP: forbidden More information: The ProxyHTTP class from JSCH tries to connect to the server through the proxy, though in the general settings of eclipse this server is excluded (its in the non-proxy host list). This is due to the fact, because the remote system target defines the server name in all uppercase letters and the non-proxy list is in all lowercase letters. It seems that the target management plugin looks into the list and makes a case sensitive equals operation which clearly fails. The workaround is to define the non-proxy host entry also in all uppercase letters.
The Proxy handling is not done by Target Management, it's all in the org.eclipse.jsch.core plugin which is owned by Platform/CVS.
Changed summary, previous value was: SSH Connections fails in proxy environment
Atsuhiko, can you investigate this?
Another steps: 1) Add :pserver:anonymous@DEV.ECLIPSE.ORG:/cvsroot/eclipse repository 2) Use manual proxy conf and set incorrect HTTP and SOCKS proxy 3) Add dev.eclipse.org to the non-proxied hosts list 4) try to do any operation on the repo - doesn't work 5) Add DEV.ECLIPSE.ORG to the non-proxied hosts list 6) try to do any operation on the repo - works This is a bug in the proxy manager. Not related to Atsuhiko's stuff. I'll handle it.
Created attachment 109281 [details] Patch_v1
Created attachment 110335 [details] Patch_v2 After Szymon's recomendation I added a regression test. How does it look now?
Looks good. I would rename the test method to testBug238796 to keep the convention.
Created attachment 110418 [details] Patch_v3
Released to HEAD.
*** Bug 221843 has been marked as a duplicate of this bug. ***