从工作与家庭中使用 TortoiseSVN 访问 svn 存储库 + VPN

发布于 2024-07-18 08:48:08 字数 487 浏览 9 评论 0原文

我收到 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

属性 2024-07-25 08:48:08

由于您是通过 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.

深空失忆 2024-07-25 08:48:08

您可以通过浏览器访问 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.

平安喜乐 2024-07-25 08:48:08
  • 您是否已验证您工作的 VPN 是否在公司网络内连接您?
  • 您可以做任何您在工作中可以做的事情,例如访问内部服务器上的文件共享或访问开发服务器吗?

  • 请在导航到 VisualSVN URL 时提供您的 IE/FF 中的准确错误。

好的,所以您无法通过浏览器访问 SVN 存储库,这将问题范围缩小到网络配置(代理服务器、防火墙)或服务器仅允许来自特定 IP 地址的访问。

  • 您能否通过 RDP 连接到工作场所的服务器并验证通过浏览器对 HTTPS 站点的访问是否成功? 如果失败,您能否验证 VisualSVN 是否正在运行?
  • Have you verified that the VPN for you're work connects you inside the corporate network?
  • 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.

  • Can you RDP to a server in the workplace and verify access to the HTTPS site via the browser is successfull? If this fails, can you verify that VisualSVN is running?
GRAY°灰色天空 2024-07-25 08:48:08

您可能只需要设置代理。 升级 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文