SVN Error E175002

十年热恋 提交于 2019-12-03 10:21:36

After long research, I finally found a solution the solution was to put allow from all in the svn configuration on httpd.conf:

<Directory /repos>
...
allow from all
...
</Directory>

The svn checkout is working fine now

The above are for apache 2.2

if you use apache 2.4

<Directory /repos>
    ...
    require all granted
    ...
    </Directory>

In my case I had E175002 because of missing DNS records of Subversion server.

I had 2 issues:

a) The svn folder was not readable by apache user

b) Possibly the Directory was not setup correctly

In my example, SVN repository is installed under /home/svn.

1) chown apache.svn -R /home/svn

2) Modify subversion.conf:

<VirtualHost svn.xxx.com:443>
    ServerName svn.xxx.com
    DocumentRoot /home/svn/

  <Directory "/home/svn/">
        AllowOverride None
        Order allow,deny
        Allow from all
        Options None
    </Directory>

SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

SSLCertificateFile /etc/pki/tls/certs/ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/ca.key

<FilesMatch "\.(cgi|shtml|jsp|html|htm|php?)$">
    SSLOptions +StdEnvVars
</FilesMatch>

SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0

CustomLog /var/log/httpd/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

alias /svn /home/svn

<Location /svn>
 DAV svn
 SVNPath /home/svn
 SVNListParentPath On
 AuthType Basic
 AuthName "Repositorio Subversion"
 AuthUserFile /etc/httpd/dav_svn.passwd
 Require valid-user
 allow from all
</Location>

</VirtualHost>

I have changed the windows password and then I have tried checking out the code and I end up with the above unknown host error.

I have restarted eclipse and restarted virtual machine where my eclipse has been set up.

Now I am able to checkout. Hope this helps.

Seb

I had the same error, but the cause for the error was, that I am behind a proxy server. I could resolve this issue by configuring SVN to use this proxy server. Details how to do this can be found in the following discussion:

How to configure a HTTP proxy for svn

in OSX environment, can check ~/.subversion/server if you are behind proxy, can edit http-proxy-xxxxx attribute

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!