[cvsnt] Re: Error reading from server ####: -1: Unknown Error

Jakob Kruse kruse at kruse-net.dk
Sun Oct 16 22:44:11 BST 2005

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

We use various machines for development. On many of them we have no control 
over our login/username, so we generally always use the CVSROOT syntax you 

:sspi:My Username at cvs.###.dk:/repo

We generally use TortoiseCVS in our work. When the response from the CVS 
server indicates that login has not been performed already, Tortoise prompts 
for a password and then sends a cvs login command. But then again I'm sure 
you are already familiar with this.

What my friend did was to try a new checkout using his own username, which 
worked (no prompt for password because he has logged in on that particular 
machine using that particular username and cvs server long before cvsnt 2.5 
saw the light of day). Then he tried the very same checkout using another 
persons username, and that didn't work.

Are there any tests you can suggest that might help in tracking down this 
error? I can reproduce it very consistently on at least 10 client pc's 
running all sorts of different software, in multiple repositories, using 
multiple usernames - on the same server. I won't say it only occurs on this 
particular server, but I don't have any other servers to try. Anyway, some 
clients work fine, and I can't find a pattern.

The most obvious test case is when I do different checkouts 
_on_the_server_itself_. Using the default sspi username (that is, specifying 
none in the CVSROOT), I will get the error when accessing the server using 
it's internet name (cvs.###.dk) and I will not get the error using the lan 
name for the machine or "localhost".

Should it be helpful I can provide a login on the server in question.

Jakob Kruse

"Bo Berglund" <bo.berglund at telia.com> wrote in message 
news:ifa5l11caub58dprom7g3ngtoa1ts8r456 at 4ax.com...
> On Sun, 16 Oct 2005 16:21:27 +0200, "Jakob Kruse" <kruse at kruse-net.dk>
> wrote:
>>New findings - and I still need a fix for this extremely annoying problem
>>rather urgently:
>>One of my colleagues has no problem on his existing development machine 
>>updating/committing under his own username. However, if he tries to do a
>>checkout under another username (one which has not previously been used on
>>that particular machine), he gets the "Error reading from server" error.
> Can you explain more in detail how you managed to switch to another
> user for checkout using sspi???
> SSPI normally uses the Windows login for connection so what you
> suggest indicates that you have logged out, then log in as another
> user?
> But SSPI can also be used by changing the connection string to:
> :sspi:user at server:/repo
> With this syntax you need to do a cve login (once only) where you give
> the password of the indicated user.
> Then CVS operations should work and are now using the new account.
> Is this what you did?
> I switch between the two all the time and I use various servers
> ranging from 2.0.38 to 2.0.41a to and I do not see any
> trace of your problems....
> /Bo
> (Bo Berglund, developer in Sweden) 

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook