分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 运营维护

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

发布时间:2023-09-06 02:34责任编辑:沈小雨关键词:配置http

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(port443)后客户端 svn check out 失效解决办法

原文地址:https://www.cnblogs.com/xunzhiyou/p/10463794.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved