SVN Error E175002 while checking out code from repository

99,642

Solution 1

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>

Solution 2

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

Solution 3

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.

Solution 4

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>

Solution 5

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

Share:
99,642

Related videos on Youtube

Muhannad A.Alhariri
Author by

Muhannad A.Alhariri

Full Stack developer , I believe Software must have a value to add , to someones life, others life, or to community.I believe in knowledge sharing. https://github.com/muhannad-alhariri

Updated on July 09, 2022

Comments

  • Muhannad A.Alhariri
    Muhannad A.Alhariri almost 2 years

    While trying to checkout code from a repository online I got the following error:

    E175002: REPORT of '/repos/xxx/!svn/vcc/default'

    I am trying to checkout the code from a remote computer.

  • Eddie
    Eddie over 10 years
    In 1.7.2 the support for Directory directives is lost as mod_dav_svn will no longer map URLs to the filesystem. Instead be sure to use the Location directive. subversion.apache.org/docs/release-notes/…
  • Muhannad A.Alhariri
    Muhannad A.Alhariri about 9 years
    If you use apache 2.4 use require all granted instead