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

[Subclipse-users] Subclipse continuous password prompting

From: Todd Fasullo <toddfas_at_gmail.com>
Date: Fri, 5 Jun 2009 19:09:03 -0700

I've been struggling setting up Subclipse after a fresh OS install
(Ubuntu 9.04 x86_64). Command line SVN works fine on the same computer
checking items in/out of the same repository. When I try to connect to
an SVN repository via Subclipse I enter my credentials, check the
"remember" checkbox, and submit them. I'm then continuously prompted
for my password again.

I figured at first authentication was failing, but after looking in
our SVN server's Apache access log it appears as though it fails auth,
get's a 401, prompts for auth, successfully makes a request, and then
the next HTTP request does not include user information. Here is an
example of the Apache access log after trying to refresh the
repository folder structure:

< I GET A PASSWORD PROMPT>

10.0.2.102 - - [05/Jun/2009:18:58:41 -0700] "OPTIONS /repos/core
HTTP/1.1" 401 559

10.0.2.102 - - [05/Jun/2009:18:58:41 -0700] "OPTIONS /repos/core
HTTP/1.1" 401 559

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:18:58:41 -0700]
"OPTIONS /repos/core HTTP/1.1" 200 -

10.0.2.102 - - [05/Jun/2009:18:58:41 -0700] "PROPFIND /repos/core
HTTP/1.1" 401 559

10.0.2.102 - - [05/Jun/2009:18:58:41 -0700] "PROPFIND /repos/core
HTTP/1.1" 401 559

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:18:58:41 -0700]
"PROPFIND /repos/core HTTP/1.1" 207 651

10.0.2.102 - - [05/Jun/2009:18:58:41 -0700] "PROPFIND
/repos/core/!svn/vcc/default HTTP/1.1" 401 559

< I GET A PASSWORD PROMPT>

10.0.2.102 - - [05/Jun/2009:18:58:48 -0700] "PROPFIND
/repos/core/!svn/vcc/default HTTP/1.1" 401 559

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:18:58:48 -0700]
"PROPFIND /repos/core/!svn/vcc/default HTTP/1.1" 207 406

10.0.2.102 - - [05/Jun/2009:18:58:48 -0700] "PROPFIND
/repos/core/!svn/bln/28614 HTTP/1.1" 401 559

< I GET A PASSWORD PROMPT>

10.0.2.102 - - [05/Jun/2009:18:58:54 -0700] "PROPFIND
/repos/core/!svn/bln/28614 HTTP/1.1" 401 559

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:18:58:54 -0700]
"PROPFIND /repos/core/!svn/bln/28614 HTTP/1.1" 207 465

10.0.2.102 - - [05/Jun/2009:18:58:54 -0700] "PROPFIND /repos/core
HTTP/1.1" 401 559

< I GET A PASSWORD PROMPT>

10.0.2.102 - - [05/Jun/2009:18:58:59 -0700] "PROPFIND /repos/core
HTTP/1.1" 401 559

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:18:58:59 -0700]
"PROPFIND /repos/core HTTP/1.1" 207 651

10.0.2.102 - - [05/Jun/2009:18:58:59 -0700] "PROPFIND
/repos/core/!svn/vcc/default HTTP/1.1" 401 559

< I GET A PASSWORD PROMPT>

10.0.2.102 - - [05/Jun/2009:18:59:04 -0700] "PROPFIND
/repos/core/!svn/vcc/default HTTP/1.1" 401 559

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:18:59:04 -0700]
"PROPFIND /repos/core/!svn/vcc/default HTTP/1.1" 207 465

10.0.2.102 - - [05/Jun/2009:18:59:05 -0700] "PROPFIND
/repos/core/!svn/bc/28614 HTTP/1.1" 401 559

< I GET A PASSWORD PROMPT>
....

As you can see it is making progress with each set of new requests. I
just can't figure out why it is not passing user credentials in
subsequent requests.

Here is what the logs look like when I do an svn list <url> on the
same repository from the same machine.

10.0.2.102 - - [05/Jun/2009:19:06:27 -0700] "OPTIONS /repos/core/trunk
HTTP/1.1" 401 559

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:19:06:32 -0700]
"OPTIONS /repos/core/trunk HTTP/1.1" 200 -

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:19:06:32 -0700]
"PROPFIND /repos/core/trunk HTTP/1.1" 207 690

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:19:06:32 -0700]
"PROPFIND /repos/core/!svn/vcc/default HTTP/1.1" 207 406

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:19:06:32 -0700]
"PROPFIND /repos/core/!svn/bln/28614 HTTP/1.1" 207 465

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:19:06:32 -0700]
"PROPFIND /repos/core/trunk HTTP/1.1" 207 690

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:19:06:32 -0700]
"PROPFIND /repos/core/!svn/vcc/default HTTP/1.1" 207 406

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:19:06:32 -0700]
"PROPFIND /repos/core/!svn/bln/28614 HTTP/1.1" 207 465

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:19:06:32 -0700]
"PROPFIND /repos/core/trunk HTTP/1.1" 207 690

10.0.2.102 - <MY DOMAIN>\\<MY USERID> [05/Jun/2009:19:06:32 -0700]
"PROPFIND /repos/core/!svn/vcc/default HTTP/1.1" 207 465

....

Client configuration:
 - Ubuntu 9.04 x86_64
 - svn client 1.5.4
 - clean install of JDK 1.5.0_15 x86_64
 - clean install of eclipse-jee-ganymede-SR2-linux-gtk-x86_64
 - clean install of Subclipse 1.6 (with SVNKIT, SVN client adapter,
etc) from http://subclipse.tigris.org/update_1.6.x
 - Eclipse appears to be using SVNKit 1.3.0.5847 (according to TEAM >
SVN > SVN Inteface)

SVN Server:
 - running on Windows server
 - older SVN version (1.2.3)
 - Apache 2 with mod_authz_svn over SSL with custom server cert

Any ideas?

TIA,
Todd

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2359893

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-06-06 16:51:56 CEST

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