TortoiseSVN 1.71 和 VisualSVN 2.51 更新后无法连接 [英] TortoiseSVN 1.71 and VisualSVN 2.51 will not connect after update
问题描述
我几天前同时将 VisualSVN 更新到 v2.51 和 TortoiseSVN 到 1.7.1.在更新之前,使用 subversion 可以正常工作好几个月.自从更新以来,我一直无法连接到存储库.
I updated VisualSVN to v2.51 and TortoiseSVN to 1.7.1 at the same time a few days ago. Before the update, using subversion worked fine for many months. Ever since the update, I have not been able to connect to the repository.
操作系统是 Win7 Home Premium 64 位,安装了 Visual Studio Web Developer Express 2010,所有 Windows 更新都已自动应用,我使用了带有 SSL 的 apache 服务器连接,这与之前的工作相同.从 VisualSVN 浏览存储库也可以正常工作.
The OS is Win7 Home Premium 64bit, Visual Studio Web Developer Express 2010 is installed, all Windows Updates have been applied automatically, and I used the apache server connection with SSL, which is the same as was working before. Also browsing the repository from VisualSVN works fine.
为了以简单的方式演示该问题,我使用命令提示符会话尝试列出存储库中的文件并得到如下所示的错误:
To demonstrate the problem in a simple way, I used a Command Prompt session to try to list the files in the repository and get the error shown below:
C:>svn ls "https://robert-pc/svn/Scedule/" --username xxx --password yyy<br>
svn: E175002: Unable to connect to a repository at URL 'https://robert-pc/svn/Schedule'
svn: E175002: OPTIONS of 'https://robert-pc/svn': Could not resolve hostname
`https://robert-pc/svn/': No such host is known.
(https://robert-pc)
如果我尝试从 Windows 资源管理器中使用 TortoiseSVN,则会出现同样的错误.根据 2009 年 11 月的一个类似问题的回答,我尝试了以下方法但没有成功:
The same error occurs if I try using TortoiseSVN from Windows Explorer. Based on the answer from a similar question in Nov, 2009, I tried the following without success:
- 在计算机名中指定端口号,例如,
svn ls https://robert-pc:8443/svn/Schedule/
- 允许 SVN.exe(与 VisualSVN 一起安装的)通过 Windows 防火墙.
我已经卸载并重新安装了 VisualSVN 和 TortoiseSVN 都无法使用.我没有看到其他人在使用 VisualSVN v2.51 和 TortoiseSVN v1.7.1 时遇到问题.我想知道问题是否是Windows网络的配置方式.网络是在 Windows 7 家庭高级版下配置为工作网络的简单本地网络.任何帮助是极大的赞赏.
I have uninstalled and reinstalled both VisualSVN and TortoiseSVN to no available. I don't see where anyone else has had a problem using VisualSVN v2.51 and TortoiseSVN v1.7.1. I wonder if the problem is how the Windows Network is configured. The Network is a simple local network configured as a Work Network under Windows 7 Home Premium. Any help is greatly appreciated.
我可以从命令提示符会话成功 ping robert-pc.我可以从 IE 成功浏览存储库,如下所示:https://robert-pc:8443/svn/
(我收到来自 IE 的证书警告,我继续进行,然后输入用户名和密码.)
I can successfully ping robert-pc from a Command Prompt session. I can browse the repository successfully from IE as follows: https://robert-pc:8443/svn/
(I get a certificate warning from IE, which I continue through, and then I enter a username and password.)
推荐答案
你的问题不是 VisualSVNServer 或 TSVN,而是纯英文写的
Your problem isn't VisualSVNServer or TSVN, and it was written in pure plain English
无法解析主机名`https://robert-pc/svn/':没有这样的主机已知.
Could not resolve hostname `https://robert-pc/svn/': No such host is known.
无法解析主机名意味着在投诉连接之前,您必须至少ping robert-pc
进入您的Windows而没有错误
Could not resolve hostname means you must get in your Windows at least ping robert-pc
without errors before complaint to connect
我不知道 robert-pc 以前从哪个来源解析过,现在又是谁破坏了它,但是您必须恢复旧设置(主机、本地 DNS 服务器)
I don't know, from which source robert-pc resolved before and who broke it now, but you have to restore old settings (hosts, local DNS-server)
这篇关于TortoiseSVN 1.71 和 VisualSVN 2.51 更新后无法连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!