阿里云服务器配置https(port443)后客户端 svn check out 失效解决办法

1. 客户端环境

1. 操作系统:Windows 7

2. svn客户端:TortoiseSVN

2. 服务端环境

1. 云服务平台:阿里云

2. 操作系统:Windows Server 2008 R2 Enterprise

3. svn客户端:TortoiseSVN

4. svn服务器:VisualSVN Server

3. 起因及现象

将服务器IIS网站绑定了http:*:80 和 https:*:443。因 VisualSVN Server 默认使用服务器 443 端口,IIS网站绑定 443 端口后导致 VisualSVN Server 不可用,需将 VisualSVN Server 端口改为 8443。此时在客户端使用 svn commit 时会提示如下错误信息

Commit failed (details follow):
Unable to connect to a repository at URL 'https://[your IP]:8443/svn/[your project iname]'
The XML response contains invalid XML
Malformed XML: no element found

(其中 your IP 形如 123.456.12.123)

或 check out 时会提示如下错误信息

Unable to connect to a repository at URL 'https://[your IP]:8443/svn/[your project iname]'
The XML response contains invalid XML
Malformed XML: no element found

4. 原因及解决方案

需要在阿里云安全组中放行8443端口(或其它需要的端口),,形式如下。

 

添加安全组规则参考 https://help.aliyun.com/document_detail/25471.html

至此问题即解决。

关于 VisualSVN Server 的相关配置参见 【Windows平台下结合 tortoiseSVN 和 VisualSVN Server 搭建SVN服务器并实现 web 站点同步

转载于:https://www.cnblogs.com/xunzhiyou/p/10463794.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值