SVN 错误 - 501 未实现提交失败
我的存储库中有一个文件夹无法提交,甚至父文件夹也无法提交。 这发生在几周前,然后起作用了,然后又眨眼了。 我已经清除了身份验证缓存,但没有任何帮助。 我仍然可以使用其他中继线,但不能使用此中继线,并且错误消息无法帮助我去哪里。 我已经完成了清理工作。 我已经从存储库中的 VisualSVN 创建了一个新目录,也出现了同样的问题。 您有什么建议吗? 我可以删除 .svn 文件夹并提供帮助吗? 我不想从新的存储库开始,因为我们集成了 TeamCity 并正在观察。 提前提供帮助和感谢! Doug
**错误:提交失败(详细信息如下):
错误:服务器发送了意外的返回值(501 未实现)以响应
错误:PROPFIND 请求“/svn/MAHCP/trunk/src/RssaSolution/Mahcp.Rssa”**
我也发帖到了 SVNForum,但还有其他人遇到过这种疯狂的情况吗!
I have a folder in a repository that cannot commit and even parent folders cannot commit. This happened several weeks ago, then worked, then on the blink again. I have cleared my authentication cache and no help. I can still work with other trunks but not this one and the error message does not help me where to go. I have done Clean Up. I have created a new directory from VisualSVN from the repository and same problem. Would you have any suggestions? Can I nuke the .svn folder and help? I don't want to start with a new repo because we have TeamCity integrated and watching. Help and thanks in advance!
Doug
**Error: Commit failed (details follow):
Error: Server sent unexpected return value (501 Not Implemented) in response to
Error: PROPFIND request for '/svn/MAHCP/trunk/src/RssaSolution/Mahcp.Rssa'**
I posted to SVNForum as well but has anyone else had this crazy situation!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
这通常是代理或病毒扫描程序/防火墙拒绝 DAV 请求(PROPFIND 不是“正常”http 请求,而是与 DAV 一起使用)。
因此:检查您的代理和/或病毒扫描程序/防火墙并将它们配置为允许 DAV 请求。
另外,有时使用 https 而不是 http 会有所帮助,这样这些应用程序就无法再检查网络流量并干扰它。
That's usually a proxy or virus scanner/firewall rejecting DAV requests (PROPFIND is not a 'normal' http request but used with DAV).
So: check your proxy and/or virus scanner/firewall and configure them to allow DAV requests.
Also, sometimes it help to use https instead of http so that those apps can't check the network traffic anymore and interfere with it.
存储库主干中有一个过时的 URL。 我希望该错误更具描述性。 谢谢你们……如果我有更多的声誉,我会给你们两点!
There was an old outdated URL to the repository trunk. I wish the error was a bit more descriptive. Thanks guys....if I had more reputation I'd grant you both points!
答案是 svn 服务器 URL 之前已更改,然后尝试重新签入时会出错。 然后的技巧是删除 .svn 文件夹,拉出新的,然后复制我的新更改。 我希望错误消息能更好一些。
The answer was that the svn server URL had been changed previously and then when trying to check it back in it would error. The trick then was to nuke the .svn folders, pull down fresh and then copy over with my new changes. I wish the error message had been better.
如果您使用 subclipse,请尝试将 SVN 界面客户端从 JavaHL 更改为 SVNKid
If u use a subclipse try to change the SVN interface client from JavaHL to SVNKid
还要检查最近是否安装了 mod_security。 至少在 CentOS 上,其默认配置没有允许 SVN 所需的行。
在
/etc/httpd/modsecurity.d/modsecurity_crs_30_http_policy.conf
中,我将其放入允许的请求方法部分:Check also to see if mod_security was recently installed. At least on CentOS, its default configuration does not have the lines necessary to allow SVN.
In
/etc/httpd/modsecurity.d/modsecurity_crs_30_http_policy.conf
, I put this in the allowed request methods section:我在另一个客户端上遇到了类似的问题,直到我在服务器上的 /var/log/apache2/error.log 中发现
Anonymous lock Creation is not allowed.
消息。 确保客户端不会匿名连接到服务器。I had a similar problem with another client until I've discovered
Anonymous lock creation is not allowed.
message in /var/log/apache2/error.log on the server. Make sure the client doesn't connect to the server anonymously.删除文件夹
/home/user/.subversion,
然后重新启动 IDE 或 svn。
delete the folder
/home/user/.subversion,
then restart the IDE or svn.