Search code examples
svnauthenticationintellij-idea

Subversion in Intellij keeps asking for authentication


I am trying to checkout a project from subversion but for some reason it doesn't let me.

At first when I put the URL, it gives me options such as whether I want to authenticate via password,ssh agent or ssh key etc. I choose the authentication with password option. At this stage the login is successful as I can browse my repository.

However, when I go to checkout a project from my repository, it asks for authentication again; I input the password but it keeps asking for the password again

The following window keeps popping. enter image description here

I have tried the following solution without success:

  • Cleared the authentication cache from the intellij subversion settings.

  • Uninstalled and installed intellij again

  • Found online that the following line might help if added to idea.exe.vmoptions

    -Dsvnkit.http.methods=Basic,Digest,NTLM

but this didn't work either.

Any advice?


Solution

  • When I checkout the project, I have to set a few options such as directory location, subversion version. I checked the 1.7 version instead of the 1.8 one and it worked. So I guess it was something to do with using the wrong version of subversion. This was on windows 7, intellij 13.1.4

    Hope it helps