Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ Subversion Authentication Required Dialog

I am attempting to checkout a project from a subversion repository. I have entered in my information such as the url, username and password. I am able to see the list of folders in my repository. I select my project and select which directory to checkout to. Everything seems to be going great, I click OK to checkout in the Checkout Option, select 1.7 format (thats what I am using), push OK again the the hellish dialog that won't go away comes up. "Authentication Required". I fill in my username and password (which I KNOW is correct, I just used it earlier and saw all the folders in my repository to checkout). I click save credentials and click OK again. The dialog quickly goes away and pops up again as if I entered incorrect information. I have re-entered my information countless times now.

I click cancel finally and it says:

"Cannot checkout from svn: svn: E720002: Unable to connect to a repository at URL 'svn+ssh://myurl.org/home/svn/project/projectname' svn: E720002: Can't create tunnel: The system cannot find the file specified."

I have two other people connecting to the repository and checking out the project the exact same way and it works fine. It used to work fine for me. The hard drive I had my checkout project to failed, gave me blue screen of death issues. I have since switched hard drives and this is the issue I am running into.

I have reinstalled both IntelliJ and svn. I have run it as administrator in Windows 7. I have deleted the Subverison cache stored in C:\Users\Username\AppData\Roaming\Subversion to see if that would fix it. Still nothing seems to be working and I am out of ideas. I am using IntelliJ IDEA version 13.1

like image 248
joshmmo Avatar asked Mar 20 '14 17:03

joshmmo


3 Answers

I had exactly the same problem. The fix is really wired. I had to choose "svn v1.7" instead of "svn v1.8". Everything works from there.

like image 60
Jun Sun Avatar answered Nov 02 '22 13:11

Jun Sun


When I had this issue (on windows & Intellij 13) - deleting my %APPDATA%/Subversion/auth folder (in my case C:\Users\YOUR_UID_HERE\AppData\Roaming\auth) fixed the issue. On unix or OSX you would find this (IIRC) in /etc/subversion/auth or ~/.subversion/auth

In my case the problem was in one specific file, so you could delete the svn-simple folder (or the folder corresponding to whatever authorization scheme you are using) within the auth folder if you want to opt for more of a scapel than a chain saw, or just the file within the scheme for the particular problematic realm that isn't remembering the credentials, but YMMV. I typically work with just one realm per development VM, so zapping the whole auth folder worked for me with no side effects.

like image 23
user3772748 Avatar answered Nov 02 '22 11:11

user3772748


unchecking the "use command line client" (settings-->subversion-->general) solves this problem.

like image 24
fireants Avatar answered Nov 02 '22 13:11

fireants