TortoiseSVN constantly asks for a password

6,502 views
Skip to first unread message

Joern....@t-systems.com

unread,
Jan 7, 2014, 3:11:25 AM1/7/14
to us...@tortoisesvn.tigris.org
Hello everybody,

sometimes TortoiseSVN keeps on asking for a password, although it is supposed to store the password. This seems to happen when TortoiseSVN has already stored a password and the user changed the password afterwards. The only solution is to manually clear the authentication data (TortoiseSVN > Settings > Saved Data, Authentication data -> Clear).

I'm using a current 1.7er version of TortoiseSVN, 1.7.7, Build 22907. But this issue has also occurred with previous versions.
I cannot reproduce this. However, it has occurred once in a while on my machine and those of my colleagues.

Is this a known issue? Should I file a bug report?

Cheers,

Jörn.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3071285

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Thomas Lutz

unread,
Jan 7, 2014, 6:14:37 AM1/7/14
to us...@tortoisesvn.tigris.org
Hello Jörn,

I guess this is somehow related to my question/bug report "TortoiseSVN 1.8.4 save authentication problem" (http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3070669) - unfortunately unanswered yet.
The really strange thing is, if I keep trying (hitting cancel and committing again), it stops asking for the password and works the 4th time - reproducible.
However, I don't know how to dig deeper to really debug what causes this annoying and strange behavior.

Cheers,
Thomas

Stefan Küng

unread,
Jan 8, 2014, 1:43:30 PM1/8/14
to us...@tortoisesvn.tigris.org
On 07.01.2014 12:14, Thomas Lutz wrote:
> Hello Jörn,
>
> I guess this is somehow related to my question/bug report "TortoiseSVN
> 1.8.4 save authentication problem"
> (http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3070669) -
> unfortunately unanswered yet.
> The really strange thing is, if I keep trying (hitting cancel and
> committing again), it stops asking for the password and works the 4th
> time - reproducible.
> However, I don't know how to dig deeper to really debug what causes this
> annoying and strange behavior.

If you get asked for authentication multiple times but usually only for
bigger transactions, then you have to tweak the configuration. Best to
do this on the server though:

http://svnbook.red-bean.com/en/1.8/svn.serverconfig.httpd.html#svn.serverconfig.httpd.perf

Increase the MaxKeepAliveRequests value until you don't get asked for
authentication anymore for your biggest transfers.


You can also try disabling the bulk updates on the client, but you have
to edit the 'servers' config file directly:
Settings dialog->Network->Subversion server file->Edit
then add the line
http-bulk-updates = no
in the [global] section.

Stefan


--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest interface to (Sub)version control
/_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3071361

Thomas Lutz

unread,
Jan 8, 2014, 2:33:25 PM1/8/14
to us...@tortoisesvn.tigris.org
Actually also setting MaxKeepAliveRequests to 0 (unlimited) doesn't solve this.

To illustrate again, I did this:

Commit -> Tortoise asks for password (although it is saved) -> I hit "Ok" -> Authentication failed -> Cancel
-> Commit -> Tortoise asks for password (although it is saved) -> I hit "Ok" -> Authentication failed -> Cancel
-> Commit -> Tortoise asks for password (although it is saved) -> I hit "Ok" -> Authentication failed -> Cancel
-> Commit -> It works!

or

Update -> Tortoise asks for password (although it is saved) -> I just hit "Cancel" and it works anyway

Thanks,
Thomas
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3071362

Bob Archer

unread,
Jan 8, 2014, 3:43:59 PM1/8/14
to us...@tortoisesvn.tigris.org
Is it possible you are hitting more than one realm with your request?

Did you attempt to clear the current stored password TSVN -> Settings -> Saved Data -> Authentication Data -> Clear All

And try it again... see if that works?

BOb


> -----Original Message-----
> From: Thomas Lutz [mailto:t.l...@clickforknowledge.com]
> Sent: Wednesday, January 08, 2014 2:33 PM
> To: us...@tortoisesvn.tigris.org
> Subject: Re: TortoiseSVN constantly asks for a password
>
> Actually also setting MaxKeepAliveRequests to 0 (unlimited) doesn't solve
> this.
>
> To illustrate again, I did this:
>
> Commit -> Tortoise asks for password (although it is saved) -> I hit "Ok" ->
> Authentication failed -> Cancel
> -> Commit -> Tortoise asks for password (although it is saved) -> I hit

> -> "Ok" -> Authentication failed -> Cancel Commit -> Tortoise asks for
> -> password (although it is saved) -> I hit "Ok" -> Authentication failed ->
> Cancel Commit -> It works!

> unsub...@tortoisesvn.tigris.org].
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess
> ageId=3071362


>
> To unsubscribe from this discussion, e-mail: [users-

> unsub...@tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3071369

Thomas Lutz

unread,
Jan 8, 2014, 3:47:54 PM1/8/14
to us...@tortoisesvn.tigris.org
It is a single server if that's what you mean. The user has access to everything in the repository.
Yes I tried that and I tried deleting the files manually, but it kept popping up (not all the time though, what makes it so strange).

Thomas
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3071370

Joern....@t-systems.com

unread,
Jan 9, 2014, 3:44:41 AM1/9/14
to us...@tortoisesvn.tigris.org

Hi Thomas,

 

I think that’s a different problem. In my case

-          TortoiseSVN always asks for the password. It executes the desired action after entering the password (don’t need to enter it 4 times). However, it ignores saving the password, so the next action again asks for the password.

-          I can’t pinpoint when exactly the problem occurs (just have the idea its connected with changing a password) – but once it occurs it persists until the authentication cache is cleared. So it does not occur randomly once it is there.

 

Cheers,

 

Jörn.

Thomas Lutz

unread,
Jan 9, 2014, 4:54:22 AM1/9/14
to us...@tortoisesvn.tigris.org
Hi Jörn,

I can also enter the password and it works like you described (works this time, ignores saving the password). 
What I described, is continuing _without_ entering the password again and after a few tries hitting ok with empty credentials/cancel/retry it works _without_ ever entering it again.

Greetings,
Thomas

Stefan Küng

unread,
Jan 9, 2014, 1:23:02 PM1/9/14
to us...@tortoisesvn.tigris.org
On 09.01.2014 10:54, Thomas Lutz wrote:
> Hi Jörn,
>
> I can also enter the password and it works like you described (works
> this time, ignores saving the password).
> What I described, is continuing _without_ entering the password again
> and after a few tries hitting ok with empty credentials/cancel/retry it
> works _without_ ever entering it again.

Check your config files for
[auth]
store-passwords = no
store-auth-creds = no

Best just delete all your config files and let svn re-create them with
the default settings.

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest interface to (Sub)version control
/_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3071404

Thomas Lutz

unread,
Jan 13, 2014, 12:03:34 PM1/13/14
to us...@tortoisesvn.tigris.org
I will try the deleting-method and let you know if it works.

Thanks,
Thomas
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3071558

Thomas Lutz

unread,
Jan 16, 2014, 8:58:22 AM1/16/14
to us...@tortoisesvn.tigris.org
Unfortunately even after deleting config and the auth-folder, the odd behaviour still persists.
Any suggestions how to debug this?

Thanks,
Thomas

Am 09.01.2014 um 19:23 schrieb Stefan Küng <torto...@gmail.com>:

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3071676

adam...@umn.edu

unread,
Dec 2, 2018, 12:11:14 PM12/2/18
to TortoiseSVN
Hello--

This is an old topic, but I am having the same problem. TortoiseSVN doesn't ask me to remember or save my user/pass when connecting to a svn+ssh repository. So I am prompted with a "Tortoise Plink" window for a password every time it connects to the repository. Which is a lot.

I am using version 1.11, and have uninstalled and reinstalled x64 multiple times. I have checked that config file options are set as indicated, such as "store-passwords=yes" and that "AllowAuthSave" is true in settings->advanced. The "Authentication Data" clear button is greyed out in settings->stored data. And the %appdata%\Roaming\SubVersion\auth folders are all empty. I have tried deleting them between installs as well.

I have seen a few screenshots where users get a user/pass/save password dialog when they connect to a repository. However I haven't seen this.

My password used to save on an old tortoisesvn version...perhaps ~2014 on win7. However, I recently wiped and reinstalled win10 on my machine and can't get the password to save.

Thanks,
Ben

Calvin Day

unread,
Aug 30, 2023, 1:06:14 PM8/30/23
to TortoiseSVN
In Git, create a Personnel Access Token (PAT) with all access rights and when the Authentication screen pops up, use the PAT as password.

Daniel Sahlberg

unread,
Aug 31, 2023, 2:19:11 PM8/31/23
to TortoiseSVN
onsdag 30 augusti 2023 kl. 19:06:14 UTC+2 skrev Calvin Day:
In Git, create a Personnel Access Token (PAT) with all access rights and when the Authentication screen pops up, use the PAT as password.

I think that the PAT is a GitHub feature, not a feature of the Git VCS itself. Obviously, TortoiseSVN doesn't work with Git (then you'd want TortoiseGit).

To answer the original message, I don't think there is a way to store an SSH password (ie, when using the svn+ssh access method), at least not within Subversion. The settings store-password etc all concern http(s):// and svn:// access methods. If you would like to use svn+ssh without a password, then you should look at setting up public key authentication for your ssh server, unfortunately I think that is out of scope for this group.

Kind regards,
Daniel

Cristiano Sumariva

unread,
Sep 1, 2023, 8:10:52 AM9/1/23
to TortoiseSVN
Yes, I use the Tortoise plink with public key authentication. The
developers like it, since they do not need to remember the password,
and could use on any machine they want. And for the server, it is
great, since all connections use SSH. We have been using this approach
for a small teams.

Em qui., 31 de ago. de 2023 às 15:19, Daniel Sahlberg via TortoiseSVN
<torto...@googlegroups.com> escreveu:
> --
> You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/dcde7479-c4ee-4bfb-bb89-b65b186867ecn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages