Bug 51778 - [CVS 1.12.x] Error when trying to connect to CVS 1.12.5
Summary: [CVS 1.12.x] Error when trying to connect to CVS 1.12.5
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, investigate
Depends on:
Blocks:
 
Reported: 2004-02-11 16:30 EST by Rico Kahnert CLA
Modified: 2005-09-19 11:36 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rico Kahnert CLA 2004-02-11 16:30:11 EST
Hi,

I'm getting an error when I try to do anything that requires Eclipse to connect
to CVS. 
I'm currently using Build id: 200402102000 on J2SDK 1.4.2_03.
I tried an integration build that's a few days older and get the same problem.
This problem doesn't happen with an old 3.0M5 build I still have installed.

Here is the log file entry:

!SESSION Feb 11, 2004 13:07:36.97 ----------------------------------------------
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -showlocation -data D:\Projects\eclipse\TransactionManager2
!ENTRY org.eclipse.team.cvs.ui 4 0 Feb 11, 2004 13:07:36.97
!MESSAGE Internal error
!STACK 1
org.eclipse.team.internal.ccvs.core.connection.CVSCommunicationException[0]:
java.io.IOException: Connection refused: I HATE YOU
	at
org.eclipse.team.internal.ccvs.core.connection.PServerConnection.authenticate(PServerConnection.java:189)
	at
org.eclipse.team.internal.ccvs.core.connection.PServerConnection.open(PServerConnection.java:115)
	at
org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connection.java:134)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createConnection(CVSRepositoryLocation.java:131)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRepositoryLocation.java:336)
	at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:167)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.performUpdate(RemoteFolderMemberFetcher.java:115)
	at
org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation$InternalRemoteFolderMemberFetcher.performUpdate(FetchMembersOperation.java:73)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.fetchMembers(RemoteFolderMemberFetcher.java:82)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.fetchMembers(RemoteFolderMemberFetcher.java:73)
	at
org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation.execute(FetchMembersOperation.java:111)
	at
org.eclipse.team.internal.ccvs.ui.operations.CVSOperation.run(CVSOperation.java:120)
	at
org.eclipse.team.internal.ccvs.ui.model.CVSTagElement.fetchDeferredChildren(CVSTagElement.java:112)
	at
org.eclipse.ui.progress.DeferredTreeContentManager$2.run(DeferredTreeContentManager.java:188)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:62)
!ENTRY org.eclipse.team.cvs.core 4 0 Feb 11, 2004 13:07:36.127
!MESSAGE I/O exception occurred: Connection refused: I HATE YOU
!STACK 0
java.io.IOException: Connection refused: I HATE YOU
	at
org.eclipse.team.internal.ccvs.core.connection.PServerConnection.authenticate(PServerConnection.java:189)
	at
org.eclipse.team.internal.ccvs.core.connection.PServerConnection.open(PServerConnection.java:115)
	at
org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connection.java:134)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createConnection(CVSRepositoryLocation.java:131)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRepositoryLocation.java:336)
	at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:167)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.performUpdate(RemoteFolderMemberFetcher.java:115)
	at
org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation$InternalRemoteFolderMemberFetcher.performUpdate(FetchMembersOperation.java:73)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.fetchMembers(RemoteFolderMemberFetcher.java:82)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.fetchMembers(RemoteFolderMemberFetcher.java:73)
	at
org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation.execute(FetchMembersOperation.java:111)
	at
org.eclipse.team.internal.ccvs.ui.operations.CVSOperation.run(CVSOperation.java:120)
	at
org.eclipse.team.internal.ccvs.ui.model.CVSTagElement.fetchDeferredChildren(CVSTagElement.java:112)
	at
org.eclipse.ui.progress.DeferredTreeContentManager$2.run(DeferredTreeContentManager.java:188)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:62)


Thanks
Rico
Comment 1 Michael Valenta CLA 2004-02-11 16:56:32 EST
The "I HATE YOU" message is from the CVS server (not Eclipse;-) and means that 
authentication failed. Eclipse normally reprompts in this case. The fact that 
it didn't probably indicates that there is additional whitespace in the 
response, probably at the end. We could be more figiving in this case by using 
trim() on the line but it is odd that it is occurring at all. I cannot 
reproduce it. What CVS server version are you using?
Comment 2 Rico Kahnert CLA 2004-02-11 17:02:46 EST
cvs version returns:
Server: Concurrent Versions System (CVS) 1.12.5 (client/server)
It's running on a RH Linux server.
Comment 3 Rico Kahnert CLA 2004-02-11 17:14:42 EST
OK ... I reentered username and password ... and the problem
disappeared. That's good to know ... but it is still strange
that it suddenly stopped working with a new Eclipse build.
I haven't changed my password in at least a year.

I discovered something strange ...
If I add a space at the end of my password if doesn't work.
If I go back and delete the last character of the password,
which should be a space, it still doesn't work.
I had to completely reenter the password to make it work again.
Comment 4 Michael Valenta CLA 2004-02-12 09:37:57 EST
Strange about the password. We will investigate that. Also, there are known 
issues with 1.12.5 which will are planed to be addressed in 3.0 but have not 
yet. CVS server version 1.12.x is a feature release. You should stick to the 
latest production release (1.11.x).
Comment 5 Jean-Michel Lemieux CLA 2004-06-11 16:51:08 EDT
Post 3.0
Comment 6 Michael Valenta CLA 2004-06-14 10:10:37 EDT
This was fixed in 3.0
Comment 7 David Green CLA 2004-08-16 12:06:28 EDT
I had this same problem when I upgraded from 3.0 to 3.1M1. Reentering my CVS
password solved the problem. CVS was working before the upgrade, the only thing
that changed was the version of Eclipse I was using.

David Green
green@couchpotato.net
Comment 8 Michael Valenta CLA 2004-08-17 10:50:40 EDT
Supporting the feature release is not a priority. We will investigate when 
time permits.
Comment 9 Omry Yadan CLA 2004-10-02 03:51:15 EDT
just got it in a brand new 3.1 (no upgrade), from a cvs I installed a few hours ago.
it worked fine for a while, than gave me this after I resterted eclipse.
for a moment there, I though I was hacked. :)
Comment 10 Michael Valenta CLA 2004-10-04 09:13:09 EDT
Thi problem is probably related to bug 73877. We will invesigate for 3.1.
Comment 11 Jean-Marc Spaggiari CLA 2004-11-05 11:28:23 EST
Getting the same message today with Eclipse 3.0.1 and a new CVS (1.12.9). Going
to try with 3.1M2
Comment 12 Michael Valenta CLA 2004-12-16 13:24:53 EST
I've tried a few times and have not been able to reproduce this. If anyone is 
able to reproduce this, pleae follow the steps in the URL below to get a trace 
of the data sent between the client and server.

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm-
home/docs/online/cvs_features2.0/cvs-faq.html#misc_0
Comment 13 Jean-Marc Spaggiari CLA 2005-01-20 12:13:10 EST
Error still occurs in 3.1 ...

Here is the trace as asked.


!SUBENTRY 1 org.eclipse.team.cvs.core 4 0 Jan 18, 2005 15:17:18.653
!MESSAGE I/O exception occurred: Connection refused: I HATE YOU
!STACK 0
java.io.IOException: Connection refused: I HATE YOU
        at
org.eclipse.team.internal.ccvs.core.connection.PServerConnection.authenticate(PServerConnection.java:189)
        at
org.eclipse.team.internal.ccvs.core.connection.PServerConnection.open(PServerConnection.java:115)
        at
org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connection.java:127)
        at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createConnection(CVSRepositoryLocation.java:549)
        at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRepositoryLocation.java:790)
        at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:147)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.performUpdate(RemoteFolderMemberFetcher.java:115)
        at
org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation$InternalRemoteFolderMemberFetcher.performUpdate(FetchMembersOperation.java:67)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.fetchMembers(RemoteFolderMemberFetcher.java:82)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderMemberFetcher.fetchMembers(RemoteFolderMemberFetcher.java:73)
        at
org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation.execute(FetchMembersOperation.java:105)
        at
org.eclipse.team.internal.ccvs.ui.operations.CVSOperation.run(CVSOperation.java:84)
        at
org.eclipse.team.internal.ccvs.ui.model.CVSTagElement.fetchDeferredChildren(CVSTagElement.java:133)
        at
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:168)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Comment 14 Stefan Kohrs CLA 2005-02-03 17:48:08 EST
I have found this error to occur after a connection problem ("no response"
errors followed by "connectiom refused" errors). When the connection becomes
available again I get "I HATE YOU" errors.
I can provide detailed logs if it helps.
Comment 15 Michael Permana CLA 2005-04-15 02:04:27 EDT
Happened to me after creating a new cvs repository. Reentering the password 
fixed the problem. My environment:
Windows Eclipse 3.0.2 Build id: 200503110845
Linux Concurrent Versions System (CVS) 1.12.9 (client/server)
Comment 16 Keith Power CLA 2005-09-19 11:36:42 EDT
This has happened to me a few times now. Here's a workaround that works for me 
(re-entering the password doesn't work on my machine, if you get it wrong once 
(or just don't enter it) it'll never work):

delete the .metadata folder in your workspace, restart and make sure you enter 
the details of your CVS repository perfectly, including password, when you 
reconnect.

Fairly brutal workaround, since you lose your projects, but it works. What I did 
was copy my projects to a new directory, delete my metadata, checkout the 
projects from CVS and then copy the source into the new directories and refresh.