我不能签出位于svn服务器上的存储库。Subversion服务器版本也是1.8和tortoise。在其他计算机上没有问题。它工作正常。当我使用浏览器时,假设这台计算机上只有192.168.1.5:
http://svn-server/my_repo没有问题。所以这不是DNS的问题。
乌龟错误:
Subversion reported an error:
Unable to connect to a repository at URL 'http://svn-server/my_repo'
Server sent unexpected return value (503 Service Unavailable) in response to
OPTIONS request for http://svn-server/my_repoTortoise C:\Program Files\TortoiseSVN\bin\svn.exe log http://svn-server/my_repo产生了以下异常:
svn: E175002: OPTIONS request on '/my_repository' failed: 503 Service UnavailableApache错误日志:
[error] [client 192.168.1.5] access to /my_repo failed, reason: require directives present and no Authoritative handler.Apache subversion配置:
<Location /my_repo>
DAV svn
SVNPath /srv/svn/repos/ict
Order deny,allow
Deny from all
AuthType Basic
AuthBasicProvider ldap
AuthName "Subversion My_Repo"
AuthzLDAPAuthoritative off
AuthLDAPURL ldap://my_ldap/dc=domain,dc=com?cn?sub
Allow from 192.168.1.0/255.255.255.0
Require ldap-attribute title=repo
</Location>当然,ldap用户具有此属性,而计算机在ip范围内。
当我在网络中的不同计算机上尝试时,它也能正常工作,即使是在更老的版本1.7的tortoise上也是如此。为什么它不能只在这个特定的机器上工作? apache error到底告诉我什么?
发布于 2014-11-17 18:45:56
您有网络问题,很可能是代理或其他原因。
打开TortoiseSVN的设置并导航到“网络”,仔细检查您是否具有与浏览器上相同的代理配置。
这是我在搜索错误代码"svn: E175002“后发现的。
https://stackoverflow.com/questions/22709996
复制相似问题