IntelliJ Subversion Authentication Required Dialog

2020-08-25 05:15发布

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

6条回答
一夜七次
2楼-- · 2020-08-25 05:44

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.

查看更多
Juvenile、少年°
3楼-- · 2020-08-25 05:45

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

查看更多
成全新的幸福
4楼-- · 2020-08-25 05:47

This isn't a solution, but may help narrow down your issue:

Install the Subversion command line clint. You can get that from SlikSVN1. You can also install the command line client when you install TortoiseSVN. It's an optional package.

This way, we can determine if the problem is with Subversion or IntelliJ.

The svn+ssh:// protocol is the trickiest to setup for a wide variety of reasons. It requires the repository to be hosted on a Unix like OS, and that all users who have access to the repository must be in the same Unix group, and that Unix group has read/write access to the repository, and the umask must be setup correctly too.

The best way to tell is to see if you can access the Subversion repository without going through IntelliJ.


1. There are many places to get the command line client for Subversion, but I find the SlikSVN site the easiest to find for Windows. CollabNet (which is what I use) requires registration, and then it takes a while to hunt down the non SubversionEdge install. Wandisco also has a client, but they push their SmartSVN package and bury the command line client on the bottom the page.

查看更多
可以哭但决不认输i
5楼-- · 2020-08-25 05:47

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.

查看更多
不美不萌又怎样
6楼-- · 2020-08-25 05:54

File>>Settings>>>Version Control>>subversion then select clear auth cache

查看更多
地球回转人心会变
7楼-- · 2020-08-25 05:55

Downgrading to version 13.0.3, checking out my project from subversion, then upgrading to 13.1 fixed my issue. Intellij was not saving my subversion password. Not idea what the cause was.

查看更多
登录 后发表回答