Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 113013

Summary: [SSH2] extssh connection to CVS causes Connection Reset
Product: [Eclipse Project] Platform Reporter: kapil khanna <boomkap>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P5 CC: 0kewl, ymnk
Version: 3.1.1Keywords: helpwanted
Target Milestone: ---   
Hardware: Macintosh   
OS: All   
Whiteboard: stalebug

Description kapil khanna CLA 2005-10-18 18:02:16 EDT
I can use cvs command with extssh option just fine. When i use Eclipse to connect to my CVS repository 
using extssh i get the following exception
CVS communication error: org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection
$SSH2IOException: Connection reset.
Not able to troubleshoot beyond this. If this is not a bug and a setup issue, what should i be looking for.
Comment 1 Michael Valenta CLA 2005-10-19 08:28:04 EDT
I have not seen this problem before. A connection reset usually means that the 
server closed the connection for some reason. Can others connect to the server 
in queston usin Eclipse?
Comment 2 Michael Valenta CLA 2005-10-31 21:17:27 EST
Awaiting response from reporter. Please reopen with requested information.
Comment 3 kapil khanna CLA 2005-10-31 21:49:18 EST
I can connect to the same CVS host from my network at home. From the office network at work it keeps 
giving me that error. No other user can connect to that host from the office network either. I suspect its 
the corporate firewall (Checkpoint). However as noted earlier, i can ssh into the host w/o issues and even 
use command line cvs. 
 
Comment 4 Michael Valenta CLA 2005-11-01 08:21:23 EST
I agree that it is probably the firewall. Unfortunately, with out a 
reproducable scenario, there is not much I can do. I'm copying Ymnk, the 
provider of the Jsch SSH client used by Eclipse, in case he has any insight on 
this.
Comment 5 kapil khanna CLA 2005-11-01 09:06:11 EST
If there is anything i can do to turn debugging on the Jsch SSH client, i would be happy to do so and 
provide the logs here.
Comment 6 Lars CLA 2006-03-02 09:05:31 EST
Got the same error today...

Eclipse Version: 3.1.2
Build id: M20060118-1600
On Win XP/Prof. SP2

Already existing CVS server, just wanted to explore its Head again... Other CVS apps, eg. WinCVS or SmartCVS are working without any probs...

Regards, Lars


Here is the exception:

!ENTRY org.eclipse.team.cvs.ui 4 0 2006-03-02 14:40:20.241
!MESSAGE Could not connect to :extssh:xxx@xxx.xxx.xxx:/home/cvsroot: CVS
communication error: org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection
$SSH2IOException: Connection reset
!STACK 1
org.eclipse.team.internal.ccvs.core.connection.CVSCommunicationException[-6]: or
g.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection$SSH2IOException: Conne
ction reset
        at org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalO
pen(CVSSSH2ServerConnection.java:193)
        at org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.open(CVSS
SH2ServerConnection.java:107)
        at org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connec
tion.java:128)
        at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.
createConnection(CVSRepositoryLocation.java:494)
        at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.
openConnection(CVSRepositoryLocation.java:735)
        at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:
149)
        at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetch
er.performUpdate(RemoteFolderMemberFetcher.java:95)
        at org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation$In
ternalRemoteFolderMemberFetcher.performUpdate(FetchMembersOperation.java:69)
        at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetch
er.fetchMembers(RemoteFolderMemberFetcher.java:62)
        at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetch
er.fetchMembers(RemoteFolderMemberFetcher.java:53)
        at org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation.ex
ecute(FetchMembersOperation.java:107)
        at org.eclipse.team.internal.ccvs.ui.operations.CVSOperation.run(CVSOper
ation.java:79)
        at org.eclipse.team.internal.ccvs.ui.model.CVSTagElement.fetchDeferredCh
ildren(CVSTagElement.java:134)
        at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTree
ContentManager.java:192)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketExcept
ion: Connection reset
        at com.jcraft.jsch.Session.connect(Unknown Source)
        at com.jcraft.jsch.Session.connect(Unknown Source)
        at org.eclipse.team.internal.ccvs.ssh2.JSchSession.createSession(JSchSes
sion.java:486)
        at org.eclipse.team.internal.ccvs.ssh2.JSchSession.getSession(JSchSessio
n.java:435)
        at org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalO
pen(CVSSSH2ServerConnection.java:122)
        ... 14 more
!SUBENTRY 1 org.eclipse.team.cvs.core 4 -6 2006-03-02 14:40:20.281
!MESSAGE Could not connect to :extssh:xxx@xxx.xxx.xxx:/home/cvsroot: CVS
communication error: org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection
$SSH2IOException: Connection reset
!STACK 0
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection$SSH2IOException: Con
nection reset
        at org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalO
pen(CVSSSH2ServerConnection.java:193)
        at org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.open(CVSS
SH2ServerConnection.java:107)
        at org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connec
tion.java:128)
        at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.
createConnection(CVSRepositoryLocation.java:494)
        at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.
openConnection(CVSRepositoryLocation.java:735)
        at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:
149)
        at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetch
er.performUpdate(RemoteFolderMemberFetcher.java:95)
        at org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation$In
ternalRemoteFolderMemberFetcher.performUpdate(FetchMembersOperation.java:69)
        at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetch
er.fetchMembers(RemoteFolderMemberFetcher.java:62)
        at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetch
er.fetchMembers(RemoteFolderMemberFetcher.java:53)
        at org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation.ex
ecute(FetchMembersOperation.java:107)
        at org.eclipse.team.internal.ccvs.ui.operations.CVSOperation.run(CVSOper
ation.java:79)
        at org.eclipse.team.internal.ccvs.ui.model.CVSTagElement.fetchDeferredCh
ildren(CVSTagElement.java:134)
        at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTree
ContentManager.java:192)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketExcept
ion: Connection reset
        at com.jcraft.jsch.Session.connect(Unknown Source)
        at com.jcraft.jsch.Session.connect(Unknown Source)
        at org.eclipse.team.internal.ccvs.ssh2.JSchSession.createSession(JSchSes
sion.java:486)
        at org.eclipse.team.internal.ccvs.ssh2.JSchSession.getSession(JSchSessio
n.java:435)
        at org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalO
pen(CVSSSH2ServerConnection.java:122)
        ... 14 more
Comment 7 Atsuhiko Yamanaka CLA 2006-04-06 22:10:59 EDT
(In reply to comment #3)
> I can connect to the same CVS host from my network at home. From the office
> network at work it keeps 
> giving me that error. No other user can connect to that host from the office
> network either. I suspect its 
> the corporate firewall (Checkpoint). 

Can you telnet from the office to CVS host?
I mean that
  $ telnet cvs_host_address 22
and then getting respose like,

  Trying cvs_host_address...
  Connected to cvs_host_address.
  Escape character is '^]'.
  SSH-1.99-OpenSSH_3.1p1

If you don't have them, you can not use extssh without porxy support.

> However as noted earlier, i can ssh into the host w/o issues and even 
> use command line cvs. 
At that time, had Checkpoint been allready installed? 
Comment 8 Atsuhiko Yamanaka CLA 2006-04-06 22:15:44 EDT
(In reply to comment #6)
> Got the same error today...
> Eclipse Version: 3.1.2
> Build id: M20060118-1600
> On Win XP/Prof. SP2
> Already existing CVS server, just wanted to explore its Head again... 

Is this problem reproducible?

> Other CVS apps, eg. WinCVS or SmartCVS are working without any probs...

Are those apps using ext(ssh) or pserver?
Comment 9 Eclipse Webmaster CLA 2019-09-06 15:35:45 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.

If you have further information on the current state of the bug, please add it. 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.
Comment 10 Eclipse Genie CLA 2021-11-16 13:55:59 EST
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.