Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion in Intellij keeps asking for authentication

I hope someone can help me solve this frustrating issue that I am having.

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?

like image 662
cpu2007 Avatar asked Sep 02 '14 09:09

cpu2007


People also ask

How connect SVN to Intellij?

Open the SVN Repositories tool window by choosing VCS | Browse VCS Repository | Browse Subversion Repository from the main menu. In the SVN Repositories tool window choose New | Repository Location from the context menu, or click the. button on the toolbar.

How do I authenticate in Intellij?

Authentication Required By default, this field shows the current user name. You can change the name as required. Type the password for your Subversion account. Select this checkbox to preserve the specified user name and password.

What is SVN authentication?

With Basic Windows Authentication users are requested to re-enter their Windows username and password to the Subversion client. Username and passwords are then transmitted across HTTP(S) protocol in plain text. These credentials are then verified by VisualSVN Server.

How do I get SVN project in Intellij?

From the main menu, choose VCS | Get from Version Control. In the Get from Version Control dialog, click Add Repository Location and specify the repository URL. Click Check Out. In the dialog that opens, specify the destination directory where the local copy of the repository files will be created, and click OK.


2 Answers

In IntelliJ, the problem can be solved using the following steps for the following versions.

IntelliJ 2018.1

  • Go to Settings -> Version Control -> Subversion
  • Check the option Enable interactive mode.

IntelliJ 14

  • Go to Settings -> Version Control -> Subversion
  • Uncheck the option Use command line client.
like image 160
Edu Costa Avatar answered Sep 30 '22 18:09

Edu Costa


You can go to the svn console and perform any svn command like:

svn list https://www.repo.rr.com/svn/main/team/gaurav

Then svn promt password and ask if you want to save password. If you save password, Intellij will see the password too.

like image 37
Aleksander Avatar answered Sep 30 '22 18:09

Aleksander