[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Server was not authenticated correctly

From: Michael Zhou <zhouyuehong_at_21cn.com>
Date: 2007-08-06 08:22:34 CEST

Dear all,

I have a problem: my svn client randomly reports "Server was not
authenticated correctly" error. Most times it works fine, and
occasionally it exits with an error.

Below is my environment information:

Server-side:

* RH Linux AS,
* SVN 1.4.4 with Apache 2.2.4,
* http protocol, authenticated with MD5 digest,
* repository type is fsfs.

Client-side:

* RH Linux | Windows
* SVN 1.4.4,
* neon 0.25.5

I just opened the debug option of neon as metioned in the archived
mailing list.

vi ~/.subversion/servers

[global]
neon-debug-mask = 9

Here is what neon prints on stderr:

$ svn merge -r 11875:HEAD http://svn.myhost.com/repos/.../branches/20070731_.../ .

...
...

ah_post_send (#0), code is 207 (want 401), WWW-Authenticate is (none)
Auth-Info header: rspauth="c9c7d7643a6db0006e66c358b4e313a7", cnonce="8bcb2a16679f26796ea8ac8b8357cd6b", nc=000001de, qop=auth
Pair: [rspauth] = [c9c7d7643a6db0006e66c358b4e313a7]
Pair: [cnonce] = [8bcb2a16679f26796ea8ac8b8357cd6b]
Pair: [nc] = [000001de]
Got nonce_count: 478
Pair: [qop] = [auth]
Calculating response-digest.
Digesting qop-value [auth:].
Calculated response-digest of: [c9c7d7643a6db0006e66c358b4e313a7]
Given response-digest of: [c9c7d7643a6db0006e66c358b4e313a7]
Matched: YES!
ah_create, for WWW-Authenticate
Handling auth session.
Nonce count is 479, nc is [000001df]
H(A2): 61de4dcc5a3ecaeaad7cc852c10ea12e
Calculating Request-Digest.
Have qop directive, digesting: [000001df:8bcb2a16679f26796ea8ac8b8357cd6b:auth]
Digest request header is Digest username="fanziwen", realm="subversion repository", nonce="BW3AzwA3BAA=a3a4e2fc6bcddc1a8d4771a052e6806a9a762de8", uri="/repos/.../!svn/bc/11875/.../branches/20070731_....java",
response="407b46bacdf2a7745bd67915dc606f1f", algorithm="MD5",
cnonce="8bcb2a16679f26796ea8ac8b8357cd6b", nc=000001df, qop="auth"

ah_post_send (#0), code is 207 (want 401), WWW-Authenticate is (none)
Auth-Info header: rspauth="b96e9e2643a40426e466d58b49fc4378", cnonce="8bcb2a16679f26796ea8ac8b8357cd6b", nc=000001df, qop=auth
Pair: [rspauth] = [b96e9e2643a40426e466d58b49fc4378]
Pair: [cnonce] = [8bcb2a16679f26796ea8ac8b8357cd6b]
Pair: [nc] = [000001df]
Got nonce_count: 479
Pair: [qop] = [auth]
Calculating response-digest.
Digesting qop-value [auth:].
Calculated response-digest of: [ae162836b87c6f62297c0df454b3792a]
Given response-digest of: [b96e9e2643a40426e466d58b49fc4378]
Matched: nope
Response authentication invalid.
svn: PROPFIND request failed on '/repos/.../!svn/bc/11875/.../branches/20070731_....java'
svn: PROPFIND of '/repos/.../!svn/bc/11875/.../branches/20070731_....java':
Server was not authenticated correctly. (http://svn.myhost.com)
Closing connection.
Connection closed.
Closing connection.
Connection closed.
Closing connection.
Connection closed.

Thanks in advance.

-- 
Michael Zhou <zhouyuehong@21cn.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 6 08:21:14 2007

This is an archived mail posted to the Subversion Users mailing list.