Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn: E120108: Unable to connect to SVN repo

Tags:

repository

svn

I recently replaced the hard drive of my Mac so I reinstalled SVN. But I can't connect to the repository, and the errors are:

svn: E120108: Unable to connect to a repository at URL 'xxxxxx'
svn: E120108: Error running context: The server unexpectedly closed the connection.

I can access the URL in browser. SVN is also installed correctly. When I type svn --version it shows that I have SVN 1.8.3.

Has anyone seen the same problem before. Any help is appreciated.

like image 265
user2904517 Avatar asked Oct 21 '13 19:10

user2904517


3 Answers

The removal of the auth folders did not work for me but I resolved a similar issue by using the https protocol in the URL as opposed to http (though the browser displays with the latter). Hope this helps others.

like image 194
ManojPatra Avatar answered Nov 12 '22 18:11

ManojPatra


Check if you have a DNS A/AAAA Records addresses to ipv6. I remove the ipv6 address and it works.

like image 2
Martin Clasen Avatar answered Nov 12 '22 17:11

Martin Clasen


I had the same issue with a recent install of SVN version 1.8.5 on a Windows Server 2012 R2 system.

Clearing out the saved authentication files and just re-authenticating fixed the issue for me. I deleted all the files with hashed names underneath the C:\Users[My User Name]\AppData\Roaming\Subversion\auth[authentication type]\ directories. The next time I ran SVN, it prompted me for my credentials and updated without a problem.

like image 1
Ben Cass Avatar answered Nov 12 '22 18:11

Ben Cass