从工作与家庭中使用 TortoiseSVN 访问 svn 存储库 + VPN
我收到 this 中描述的相同错误其他SO帖子。 不同之处在于,当我在工作时,不需要通过 VPN 连接到网络,一切都可以正常工作。 但是当我尝试从家里访问相同的 SVN 存储库时,我收到以下错误:
TortoiseSVN 错误:“'https://...' 的选项无法连接到服务器 (...)”
直到最近我升级到最新的 TortoiseSVN 和 VisualSVN 版本时,这才成为问题。 我还应该提到,在升级时,我将 Chrome 设置为默认浏览器,但不确定这是否与此有关。
我已经将 TortoiseSVN 恢复到之前的版本,并将默认浏览器切换回 IE,但我仍然无法从家里连接到存储库。
I get the same error described in this other SO post. The difference is that things are working when I'm at work where I don't have to VPN to the network. But when I try to access the same exact SVN repo from home I get the following error:
TortoiseSVN Error: “OPTIONS of ‘https://…’ could not connect to server (…)”
This was never a problem until recently when I upgraded to the latest TortoiseSVN and VisualSVN builds. I should also mention that at the time of the upgraded I made Chrome my default browser but not sure if this has anything to do with it.
I've sense reverted TortoiseSVN to the previous build and switched my default browser back to IE but I'm still unable to connect to the repo from home.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
由于您是通过 Apache httpd 通过 Subversion 进行连接,因此您可以打开浏览器并输入您要结账的 https:// URL。 这将消除您端的 Subversion 客户端,并让您知道问题是否出在客户端。
如果您无法通过浏览器访问该 URL,则问题出在连接或服务器端。 如果您可以在工作中访问相同的 URL,则问题出在连接上。
如果问题出在您的连接上,您必须与 IT 部门讨论该问题。 您可以通过浏览器通过 VPN 访问任何其他内部网站吗? 仅仅是这个特定的服务器吗? HTTPS 使用端口 443 而不是默认端口 80。您的 IT 部门很可能会遇到安全过载已决定阻止除端口 80 之外的几乎所有端口。
Since you're connecting through Subversion via Apache httpd, you could open a browser and type in the https:// URL you're trying to checkout. This will eliminate the Subversion client on your end, and let you know if the issue is with the client or not.
If you can't access the URL via the browser, the problem is with either the connection or the server side. If you can access the same URL from work, then the problem is with the connection.
If the problem is with your connection, you'll have to talk to your IT department about the issue. Can you reach any other internal website via your browser over the VPN? Is it just this particular server? HTTPS uses port 443 instead of the default port 80. It is very likely that your IT department in a fit of security overload has decided to block almost all ports except for port 80.
您可以通过浏览器访问 svn 存储库吗? 以及测试连接应该告诉您是否有任何证书问题需要处理。
Are you able to access the svn repository through your browser? As well as testing the connection that should tell you if there are any certificate issues to be dealt with.
您可以做任何您在工作中可以做的事情,例如访问内部服务器上的文件共享或访问开发服务器吗?
请在导航到 VisualSVN URL 时提供您的 IE/FF 中的准确错误。
好的,所以您无法通过浏览器访问 SVN 存储库,这将问题范围缩小到网络配置(代理服务器、防火墙)或服务器仅允许来自特定 IP 地址的访问。
Can you do anything that you could do at work like access file shares on internal servers or access development servers?
Please supply exact error from your IE/FF when navigating to the VisualSVN URL.
Ok, so you cannot access the SVN repository thru your browser which narrows the problem down to either networking configuration (proxy server, firewall) or the server will only allow access from specific IP addresses.
您可能只需要设置代理。 升级 Tortoise 版本将取消代理设置,更改浏览器也会在浏览器端执行相同的操作。 当我忘记设置代理时,我通过 VPN 收到相同的错误。
You might just need to set the proxy. Upgrading Tortoise versions would unset the proxy, and changing browsers would do the same browser-side. I get the same error through vpn when I forget to set the proxy.