Community
Participate
Working Groups
Hi, When I use extssh connection method to CVS repository located on Solaris 9 server, I obtain the following Error: "Error fetching resource list from repository. Reason: Unknown response received from cvs server:" I am using Windows XP client PC with the following software: Windows XP SP2 Eclipse 3.2.1 Sun j2sdk-1.4.2_12 On the CVS server side: Sun Solaris 9 sshd version Sun_SSH_1.0.1 CVS 1.11.20 Here are the error entries from the Eclipse 3.2.1 logs: ... !ENTRY org.eclipse.team.cvs.ui 4 0 2006-10-17 09:14:12.880 !MESSAGE Unknown response received from cvs server: !STACK 1 org.eclipse.team.internal.ccvs.core.CVSException: Unknown response received from cvs server: at org.eclipse.team.internal.ccvs.core.client.Request.executeRequest(Request.java:222) at org.eclipse.team.internal.ccvs.core.client.ValidRequests.execute(ValidRequests.java:26) at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:174) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.performUpdate(RemoteFolderMemberFetcher.java:97) at org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation$InternalRemoteFolderMemberFetcher.performUpdate(FetchMembersOperation.java:69) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.fetchMembers(RemoteFolderMemberFetcher.java:64) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.fetchMembers(RemoteFolderMemberFetcher.java:55) at org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation.execute(FetchMembersOperation.java:107) at org.eclipse.team.internal.ccvs.ui.operations.CVSOperation.run(CVSOperation.java:81) at org.eclipse.team.internal.ccvs.ui.model.CVSTagElement.fetchDeferredChildren(CVSTagElement.java:136) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:207) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) !SUBENTRY 1 org.eclipse.team.cvs.core 4 -4 2006-10-17 09:14:12.880 !MESSAGE Unknown response received from cvs server: ... I have tried connecting to this Solaris 9 based CVS server from another Windows XP client using extssh method with the same error results. Also, I obtained the same error from Eclipse 3.2 running on Linux (RHEL3u8_ws). My default pserver CVS connection method works fine. When I use Eclipse 3.2.1 or 3.2 to connect to another CVS server running on Linux (RHEL4 or Fedora3), both extssh and pserverssh2 methods work fine. Thank you for looking into this issue. Victor
Could you perform the steps outlined in the following URL and attach the results? That should help pinpoint the problem. http://wiki.eclipse.org/index.php/CVS_FAQ#Is_there_any_equivalent_to_CVS_CLIENT_LOG_is_Eclipse.3F
Hi Michael, I have collected the debug information you requested. The log below shows an attempt to browse CVS directory content when you click on the HEAD under CVS Repositories perspective using extssh method. I am also adding a corresponding /var/adm/messages entry from the Solaris 9 server (w/o proprietary information): ... Oct 17 14:07:18 {solaris9.cvs.server.corp} sshd[8827]: [ID 800047 auth.info] Accepted password for victor from {ip_addr} port 1640 ssh2 ... Please, let me know if you need more information. Victor ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Install location: file:/c:/dev/apps/eclipse/ Configuration file: file:/c:/dev/apps/eclipse/configuration/config.ini loaded Configuration location: file:/c:/dev/apps/eclipse/configuration/ Framework located: file:/c:/dev/apps/eclipse/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar Framework classpath: file:/c:/dev/apps/eclipse/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar Splash location: c:\dev\apps\eclipse\plugins\org.eclipse.platform_3.2.0.v20060601\splash.bmp runCommand: <C:\dev\apps\eclipse\eclipse.exe><-name><Eclipse><-showsplash><600><c:\dev\a pps\eclipse\plugins\org.eclipse.platform_3.2.0.v20060601\splash.bmp> Debug options: file:/C:/Temp/eclipse/.options not found Time to load bundles: 0 Starting application: 750 Application Started: 5518 !SESSION 2006-10-17 14:06:21.762 ----------------------------------------------- eclipse.buildId=M20060629-1905 java.version=1.4.2_12 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\dev\workspace -d ebug -consolelog !ENTRY org.eclipse.team.cvs.ui 4 0 2006-10-17 14:07:18.300 !MESSAGE Unknown response received from cvs server: !STACK 1 org.eclipse.team.internal.ccvs.core.CVSException: Unknown response received from cvs server: at org.eclipse.team.internal.ccvs.core.client.Request.executeRequest(Req uest.java:222) at org.eclipse.team.internal.ccvs.core.client.ValidRequests.execute(Vali dRequests.java:26) at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java: 174) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetch er.performUpdate(RemoteFolderMemberFetcher.java:97) 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:64) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetch er.fetchMembers(RemoteFolderMemberFetcher.java:55) 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:81) at org.eclipse.team.internal.ccvs.ui.model.CVSTagElement.fetchDeferredCh ildren(CVSTagElement.java:136) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTree ContentManager.java:207) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) !SUBENTRY 1 org.eclipse.team.cvs.core 4 -4 2006-10-17 14:07:18.300 !MESSAGE Unknown response received from cvs server: ---------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I am adding the debug information again. (The .options file was omitted when I started the debug commands for the first time.) C:\dev\apps\eclipse>C:\dev\apps\eclipse\eclipse.exe -vm C:\dev\java\j2sdk1.4.2_1 2\jre\bin\java.exe -data C:\dev\workspace -debug -consolelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Install location: file:/c:/dev/apps/eclipse/ Configuration file: file:/c:/dev/apps/eclipse/configuration/config.ini loaded Configuration location: file:/c:/dev/apps/eclipse/configuration/ Framework located: file:/c:/dev/apps/eclipse/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar Framework classpath: file:/c:/dev/apps/eclipse/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar Splash location: c:\dev\apps\eclipse\plugins\org.eclipse.platform_3.2.0.v20060601\splash.bmp runCommand: <C:\dev\apps\eclipse\eclipse.exe><-name><Eclipse><-showsplash><600><c:\dev\a pps\eclipse\plugins\org.eclipse.platform_3.2.0.v20060601\splash.bmp> Debug options: file:/C:/dev/apps/eclipse/.options loaded Time to load bundles: 16 Starting application: 734 Application Started: 5548 Valid-responses ok error M E Checked-in Valid-requests Template Set-sticky MT Cl ear-static-directory Module-expansion Set-static-directory Clear-sticky New-entr y Merged Removed Updated Remove-entry Update-existing Copy-file Created Notified Mod-time valid-requests !SESSION 2006-10-17 14:40:21.243 ----------------------------------------------- eclipse.buildId=M20060629-1905 java.version=1.4.2_12 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\dev\workspace -d ebug -consolelog !ENTRY org.eclipse.team.cvs.ui 4 0 2006-10-17 14:40:54.420 !MESSAGE Unknown response received from cvs server: !STACK 1 org.eclipse.team.internal.ccvs.core.CVSException: Unknown response received from cvs server: at org.eclipse.team.internal.ccvs.core.client.Request.executeRequest(Req uest.java:222) at org.eclipse.team.internal.ccvs.core.client.ValidRequests.execute(Vali dRequests.java:26) at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java: 174) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetch er.performUpdate(RemoteFolderMemberFetcher.java:97) 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:64) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetch er.fetchMembers(RemoteFolderMemberFetcher.java:55) 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:81) at org.eclipse.team.internal.ccvs.ui.model.CVSTagElement.fetchDeferredCh ildren(CVSTagElement.java:136) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTree ContentManager.java:207) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) !SUBENTRY 1 org.eclipse.team.cvs.core 4 -4 2006-10-17 14:40:54.420 !MESSAGE Unknown response received from cvs server: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
How about the possibility that your password has been expired?
My user password is fine. I am able to ssh to this server using both PuTTY and SecureCRT. I am also able to run cvs command remotely: c:\>plink -ssh -v username@solaris9.cvs.server.corp cvs -v username@solaris9.cvs.server.corp's password: Server version: SSH-2.0-Sun_SSH_1.0.1 We believe remote version has SSH-2 rekey bug We claim version: SSH-2.0-PuTTY_Release_0.58 Using SSH protocol version 2 Using Diffie-Hellman with standard group "group1" Doing Diffie-Hellman key exchange Host key fingerprint is: ssh-rsa 1024 38:3b:1b:a5:60:c1:56:d1:e1:4f:8c:7a:17:89:dc:1b Initialised AES-128 client->server encryption Initialised HMAC-SHA1 client->server MAC algorithm Initialised AES-128 server->client encryption Initialised HMAC-SHA1 server->client MAC algorithm Using username "username". username@solaris9.cvs.server.corp's password: Sent password Access granted Opened channel for session Started a shell/command Server sent command exit status 0 Concurrent Versions System (CVS) 1.11.20 (client/server) Copyright (C) 2005 Free Software Foundation, Inc. Senior active maintainers include Larry Jones, Derek R. Price, and Mark D. Baushke. Please see the AUTHORS and README files from the CVS distribution kit for a complete list of contributors and copyrights. CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVSAll channels closed. Disconnecting Server closed network connection c:\> I am wondering if there is any special setting required in /etc/ssh/sshd_config on the server that causes troubles for extssh.
This doesn't seem to be a general problem since we haven't seen any other reports of this type of failure. I wonder if the SSH server is returning some unanticipated message before performing the command (i.e. we are failing on a response from the server)? Unfortunately, our trace only shows the first line which appears to be empty.
(In reply to comment #5) > My user password is fine. I am able to ssh to this server using both PuTTY and > SecureCRT. I am also able to run cvs command remotely: > c:\>plink -ssh -v username@solaris9.cvs.server.corp cvs -v Can you try to run 'cvs server' remotely: c:\>plink -ssh username@solaris9.cvs.server.corp cvs server How about the possiblity that your ~/.profile, ~/.cschrs, etc., echos something?
I do not have any .bash_profile or .bashrc files. My environment is set by system files in /etc. There is no command line response from the server when I run the "cvs server" command both remotely and locally. ("cvs -v" works fine, however.) c:\>plink -ssh -v username@solaris9.cvs.server.corp cvs server Server version: SSH-2.0-Sun_SSH_1.0.1 We believe remote version has SSH-2 rekey bug We claim version: SSH-2.0-PuTTY_Release_0.58 Using SSH protocol version 2 Using Diffie-Hellman with standard group "group1" Doing Diffie-Hellman key exchange Host key fingerprint is: ssh-rsa 1024 38:3b:1b:a5:60:c1:56:d1:e1:4f:8c:7a:17:89:dc:1b Initialised AES-128 client->server encryption Initialised HMAC-SHA1 client->server MAC algorithm Initialised AES-128 server->client encryption Initialised HMAC-SHA1 server->client MAC algorithm Using username "username". username@solaris9.cvs.server.corp's password: Sent password Access granted Opened channel for session Started a shell/command
Thank you for your testing. (In reply to comment #8) > I do not have any .bash_profile or .bashrc files. My environment is set by > system files in /etc. > There is no command line response from the server when I run the "cvs server" > command both remotely and locally. ("cvs -v" works fine, however.) That is an expected behavior. I'm not familiar with CVS protocol and what kind of message should be sent to the remote at the initial, but it seems to me that your problem is not related to ssh2 protocol, IMHO.
Some of our users also encountered this problem when one of our development machines was upgraded to Solaris 9. Users whose default shell was set to csh could access cvs using eclipse fine. Users whose default shell was set to sh or ksh ran into the symptoms described in this bug report. What we discovered is that in CVSSSH2ServerConnection.java the command used by extssh is set to "cvs server" and there appears to be no way to override it. On our machine cvs is installed in /usr/local/bin. Csh worked for people because it always sourced .cshrc which updated the path to include /usr/local/bin, the other shell don't source any commands unless they are invoked as a login shell. As a result when cvs was executed by the shell it wasn't found causing the unknown response seen by eclipse. Workaround: Link /usr/bin/cvs to /usr/local/bin/cvs Ideally the extssh property page in eclipse should allow the cvs command to be specified as "/usr/local/bin/cvs server" (or whatever the correct answer is for a given site).
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.