Svn: E120108: unable to connect to SVN repo

I recently replaced my Mac's hard drive, 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 the 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.

+6
source share
6 answers

Deleting auth folders did not work for me, but I resolved a similar problem using the https protocol in the URL rather than http (although the browser displays with the latter). Hope this helps others.

+5
source

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

Deleting saved authentication files and just re-authentication fixed the problem for me. I deleted all files with hashed names under the name C: \ Users [My User Name] \ AppData \ Roaming \ Subversion \ auth [authentication type] \ directories. The next time I started SVN, it prompted me with my credentials and updated it without any problems.

+1
source

Check if you have DNS A / AAAA Records addresses for ipv6. I delete the ipv6 address and it works.

+1
source

I solved the same problem with the recent installation of SVN version 1.8.10 on Linux Server. Enter the following commands:

 svnserve 

This will start the svn service.

 svn checkout svn:url 'XXXXXX' 

Use the check function to check the code from your local repository.

0
source

Another fix. It seems to be connected with the serf. Add this line to your ~/.subversion/servers file (you can try it in the [global] section, but I would not recommend leaving it for all your connections:

 [global] http-chunked-requests = no 
0
source

The solutions listed here didn't work for me, but bobbogo's answer put me in the right area.

Mostly in ~ / .subversion / servers I found the following

 [global] http-proxy-host= www-my-repo-address.com 

I donโ€™t know how it happened. Cornorstone is installed on the machine, perhaps it changed it (but this is an assumption).

After the http-proxy-host parameter was commented out, the problem was resolved and the code could be verified. i.e.

 [global] #http-proxy-host= www-my-repo-address.com 

Note. I ran into this problem with both svn 1.7 and 1.9

0
source

Source: https://habr.com/ru/post/956442/


All Articles