简体   繁体   English

svn更新/签出/提交失败

[英]svn update/checkout/commit fail

environment: 环境:

client 客户
windows 7 ultimate x64 Windows 7旗舰版x64
TortoiseSVN(lastest) TortoiseSVN(最新)

server 服务器
ubuntu 10.4 Ubuntu 10.4
svn (it installed by another one that is not me. they call it just 'svn'. i'm not expert on linux system, so i don't know what server is. like visualsvn, ubersvn...) svn(它是由另一个不是我安装的。他们称它为“ svn”。我不是Linux系统专家,所以我不知道服务器是什么。例如visualsvn,ubersvn ...)
apache 阿帕奇
mysql MySQL的
php 的PHP
using usvn to manage svn. 使用usvn管理svn。

problem: 问题:

on checkout / update I can see the following message: 在结帐/更新时,我会看到以下消息:

REPORT of '/ / /!svn/vcc/default': Could not read chunk size: connection was closed by server (http://***) '/ / /!svn / vcc / default'的报告:无法读取块大小:服务器已关闭连接(http:// ***)

but actual update or checkout is successfully. 但实际更新或签出成功。 just message. 只是消息。
and when I do update on same revision, no error. 当我在同一修订版上进行更新时,没有错误。

And it is a little annoying but i can endure it. 这有点烦人,但我可以忍受。 but real problem is when I try to commit. 但是真正的问题是当我尝试提交时。 I can't commit. 我不能承诺

when I try to commit, the committing takes very long time. 当我尝试提交时,提交需要很长时间。 at last, it failed. 最后,它失败了。 with next message. 下一条消息。 The message is showing my language so I don't know exact message. 该消息显示了我的语言,所以我不知道确切的消息。 I translate it on English next : 接下来,我将其翻译成英文:

Commit Failed: The server returned an unexpected value (400 Bad Request) to the MERGE '/svn/***/trunk' as a response to that request has been sent. 提交失败:服务器已向MERGE'/ svn / *** / trunk'返回了意外值(400错误请求),因为已发送对该请求的响应。

this problem only occurs with this client PC. 仅此客户端PC会出现此问题。
And the other client PC with this SVN server can't make problem. 使用此SVN服务器的另一台客户端PC不会出现问题。
And, the Client PC with other SVN server is never makes problem. 并且,带有其他SVN服务器的客户端PC永远不会出现问题。
I reinstalled the TortoiseSVN over and over and remove it and clean the registry (with find Tortoise) and reinstalled but this problem continues. 我一遍又一遍地重新安装了TortoiseSVN,然后将其删除并清理注册表(并找到Tortoise)并重新安装,但此问题仍然存在。 I don't guess this problem is caused by Server or Client. 我不认为此问题是由服务器或客户端引起的。

Who knows solution of it? 谁知道解决方案?

thank you for your answers. 谢谢您的回答。
finally, i solved this problem other way. 最后,我用其他方法解决了这个问题。
the problem is on my client computer. 问题出在我的客户端计算机上。

I using Kaspersky Internet Security my firewall. 我使用卡巴斯基安全软件我的防火墙。
I stop the real-time protection, and the commit/update/checkout succeeded. 我停止了实时保护,并且提交/更新/签出成功。

but the some question still remains;why other svn server is no problem? 但是仍然存在一些问题;为什么其他svn服务器没问题呢? i don't know the reason. 我不知道原因。

anyway, i'll try to solve this remaining question. 无论如何,我会尽力解决剩下的问题。 because i want to use svn with my firewall. 因为我想在我的防火墙上使用svn。

Do you get this error if you check out a fresh working copy into a new directory? 如果将新的工作副本检出到新目录中,会收到此错误吗? If not, then the problem is likely due to a corrupted working copy. 如果不是,则问题可能是由于工作副本损坏。

If a fresh WC can still reproduce this, then the problem may be on the server end. 如果新的WC仍然可以重现,则问题可能出在服务器端。 Do you have admin access to the server? 您对服务器具有管理员访问权限吗?

它在subversion.conf中的Timeout指令尝试将其设置为较低的值,例如3000000到3600。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM