错误"服务器发送的不当HTTP响应&QUOT。在提交与Subversion 1.8+客户端 [英] Error "The server sent an improper HTTP response." on commit with Subversion 1.8+ client

查看:896
本文介绍了错误"服务器发送的不当HTTP响应&QUOT。在提交与Subversion 1.8+客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我一直在使用TortoiseSVN(1.8.7.25475)或AnkhSVN的提交到一个SVN回购困扰着错误(2.5.12471.17):

Recently I have been plagued by an error on committing to a single SVN repo using TortoiseSVN (1.8.7.25475) or AnkhSVN (2.5.12471.17):

错误运行环境:服务器发送一个不正确的HTTP响应

Error running context: The server sent an improper HTTP response

下面是TortoiseSVN的错误截图:

Here is a screenshot of the error in TortoiseSVN:

的像素当然不同,但误差在AnkhSVN的相同。

The pixels differ of course, but the error is the same in AnkhSVN.

这似乎只影响未遂修改,不添加或删除;我可以犯同样的服务器就好上MODS的其他几个SVN回购。

This only seems to affect attempts to commit modifications, not additions or deletions; and I can commit mods to several other SVN repos on the same server just fine.

由于我的队友们继续投入MODS的相关回购和问题只打我提交到该回购协议,我试图回购的全新副本后提交简单的mods:几个一MOD-AT-A-时间的提交工作,但后来......同样的错误。

Since my teammates continue to commit mods to the repo in question and the issue has only struck my commits to that repo, I tried committing simple mods after a fresh checkout of the repo: a few one-mod-at-a-time commits worked, but then...same error.

我也搜索了,审查,并尝试了一些可能的解决方案(例如,在的在TortoiseSVN的论坛线程到斯特凡昆说) - 一个注册表修改(删除 HKEY_CURRENT_USER \\ SOFTWARE \\ Tigris.org - 导出它后当然备份),检查我的全球性质,并确保我没有使用代理。同样的错误。

I also searched for, reviewed, and tried some possible solutions (e.g. in a thread on the TortoiseSVN forums to which Stefan Küng replied) - a registry tweak (deleting HKEY_CURRENT_USER\Software\Tigris.org - after exporting it for backup of course), checking my global properties, and ensuring that I am not using a proxy. Same error.

最后,我都试过修复和降级的TortoiseSVN。同样的错误。

Finally, I tried both repairing and downgrading TortoiseSVN. Same error.

有没有其他人遇到这个错误在类似情况下,并找到了解决呢?

请注意,一些相关的搜索结果提调整的httpd.conf 或SVN的等方面的服务器的,但服务器的调整似乎不合适我。同样,我的队友们继续使用TortoiseSVN,同一操作系统(Win 7的专业版64位),诸如此类的同一版本提交MODS的同一回购。也许我已经错过了在服务器上的东西,可能只是碰巧影响到我,虽然。

Note that some related search results mention tweaking httpd.conf or other aspects of the SVN server, but server tweaks seem inappropriate to me. Again, my teammates continue to commit mods to the same repo using the same version of TortoiseSVN, the same OS (Win 7 Pro 64-bit) etcetera. Maybe I have missed something on the server that could just happen to affect me, though.

推荐答案

在客户机上!打开<一个href=\"http://svnbook.red-bean.com/en/1.8/svn.advanced.confarea.html#svn.advanced.confarea.opts.servers\"><$c$c>%APPDATA%\\Subversion\\servers在文本编辑器,并添加行 HTTP-批量更新= YES ,保存文件,看看是否有帮助。

ON THE CLIENT MACHINE! Open %APPDATA%\Subversion\servers in a text editor and add the line http-bulk-updates = yes, save the file and see if it helps.

如果有帮助,你最好配置Apache HTTP服务器的的httpd.conf SVNAllowBulkUpdates preFER 指令使所有的Subversion 1.8的客户端可以在没有任何错误连接。

If it helps, you'd better configure Apache HTTP Server's httpd.conf with SVNAllowBulkUpdates prefer directive so that all Subversion 1.8 clients could connect without any errors.

如果有不仅仅是你谁在您的组织和调整服务器的配置出现此错误仍然是不可接受的,<一个href=\"http://svnbook.red-bean.com/en/1.8/svn.advanced.confarea.html#svn.advanced.confarea.windows-registry\">you可以更改设置 HTTP-批量更新= YES 通过Windows注册表,以便在所有受影响的机器调整这可以通过的AD组策略

If there are more than just you who get this error in your organization and adjusting server's configuration is still unacceptable, you can change the setting http-bulk-updates = yes via Windows Registry so adjusting this on all affected machines can be done via AD Group Policy.

阅读的Apache Subversion的1.8发行说明更多信息。

P.S:错误的网络硬件/防火墙/防毒仍是根本原因在这里。以上仅仅是恢复到1.7颠覆的行为和较旧的客户端网​​络库中的解决方法。顺便说一句,我想已安装的杀毒NOD32或BitDefender的。

P.S.: faulty network hardware / firewall / antivirus is still the root cause here. The above is just a workaround to revert to the behavior of Subversion 1.7 and older client with neon network library. BTW, I guess that the installed antivirus is NOD32 or BitDefender.

这篇关于错误&QUOT;服务器发送的不当HTTP响应&QUOT。在提交与Subversion 1.8+客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆