偶尔的 svn:E170013:无法连接到 URL 'https://svn.....' 的存储库 svn:E730054:运行上下文时出错 [英] Occasional svn: E170013: Unable to connect to a repository at URL 'https://svn.....' svn: E730054: Error running context

查看:628
本文介绍了偶尔的 svn:E170013:无法连接到 URL 'https://svn.....' 的存储库 svn:E730054:运行上下文时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要有关 svn 错误 E170013 和 E730054 的帮助:

I need help with svn errors E170013 and E730054:

在命令行中执行命令svn checkout..."时,出现错误

When executing the command "svn checkout..." in command line, I get the error

svn: E170013: Unable to connect to a repository at URL 'https://svn.....'
svn: E730054: Error running context: An existing connection was forcibly closed
by the remote host.

但是,如果我在之后(仅在接下来的 3 分钟内)运行相同的命令,则该命令执行成功且没有错误,并且成功检出源代码.

However, if I run the same command right after (only in the next 3 minutes), the command is executed successfully without errors, and the source code is checked out successfully.

否则在 3 分钟后(大约),如果我想再次结帐,我需要运行 svn checkout 命令,得到错误 E170013 和 E730054,然后再次运行相同的命令,svn checkout 再次工作.

Otherwise after 3 minutes (approximately), if I want to checkout again I need to run the svn checkout command, get the errors E170013 and E730054, then run the same command again and the svn checkout works again.

在我看来,在一段时间后(在我的情况下为 3 分钟),svn 客户端和 svn 服务器之间的套接字已关闭,并且尝试结帐和/或获取这些错误实际上是触发连接的原因再次重新开放.

It seems to me that after a certain period of time (3min in my case) the socket between the svn client and svn server is closed, and trying to checkout and/or getting these errors is what actually triggers the connection to be reopened again.

换句话说,我的问题是为了执行 svn checkout,第一次总是失败,只有下一次尝试才会成功.一段时间后,我需要再次重复相同的步骤,并始终执行两个svn checkout",以便第二个有效.

In other words, my issue is that in order to perform an svn checkout, the first will always fail, and only next trys will succeed. After a period of time I need to repeat the same steps again and always do two "svn checkout" so the second one works.

我的解释可能是错误的,但这是我得到的行为.我希望你能解决我的问题.

My interpretation may be wrong but this is the behavior I get. I hope you got my issue.

我想了解为什么会出现这种 svn 行为,导致这些错误的原因以及如何解决问题.

I would like please to understand why such svn behavior, what causes these errors and how can I solve the issue.

SVN server version: 1.8.13 (r1667537) compiled Mar 20 2015, 11:32:18 on x86_64-unknown-linux-gnu 

SVN client version: 1.9.3 (r1718519) compiled Dec 22 2015, 09:12:06 on x86_64-microsoft-windows6.2.9200

SVN Client running on Windows Server 2008 R2 and SVN server in linux machine. 

请随时提出任何问题.我很乐意为您提供更多信息.

Please feel free to ask any question. I would be happy to provide you more information.

在此先感谢您.

推荐答案

我终于找到了解决方案.

I finally found the solution.

我没有写下链接 https://svn..... 在 svncheckout 命令中,我使用了数字 IP服务器的地址(例如 192.168.73.39)而不是它的主机名,它可以工作.

Instead of writing down the link https://svn..... in the svncheckout command, I used the numeric IP address (e.g. 192.168.73.39) of the server instead of its hostname and it worked.

我希望这对某人有所帮助.

I hope this helps someone.

这篇关于偶尔的 svn:E170013:无法连接到 URL 'https://svn.....' 的存储库 svn:E730054:运行上下文时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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