关于svn获取获取文件时 Unable to connect to a repository at URL"https://..."执行上下文错误:参数错误

Posted 草原獒情

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了关于svn获取获取文件时 Unable to connect to a repository at URL"https://..."执行上下文错误:参数错误相关的知识,希望对你有一定的参考价值。

错误提示:

下面的六种解决方案都未能解决:

1、不提示输入用户名和密码,不管重装多少次都一样。

2、TortoiseSVN的setting-》Saved Data-》Authentication data 的clear和clear all是灰色的,无法清除

3、用网上说的删除C:\\Users\\lenovo\\AppData\\Roaming\\Subversion下的所有文件也不行,还是上面图片的错误。

4、用网页登录svn是可以的,也可以输入用户名,密码把我原来存到SVN上的文件下载下来。(网友的经验)

5、SVN我现在试用过好几个版本:1.7.2;1.8.6;1.8.7;1.8.10等都不行,来回重装好多次。

6、https协议的问题,将url地址中服务器地址改成192.168.x.x这种格式也不行。

最终:
发现运行cmd,ping域名的时候提示找不到主机名,但是ping IP地址是没问题的,于是猜想解决了这个问题,也许就解决了svn不能解析url地址的问题。

通过网上搜索资料发现,这可能是dns缓存的问题,通过:

1、在cmd窗口,输入ipconfig /flushdns命令,释放DNS缓存

2、在cmd窗口,输入netsh winsock reset命令,重置Winsock目录

然后ping域名,搞定!

重新使用svn获取文件,弹出了用户名密码的登陆框,哈哈哈,又发现了新大陆!!!^^

 

以上是关于关于svn获取获取文件时 Unable to connect to a repository at URL"https://..."执行上下文错误:参数错误的主要内容,如果未能解决你的问题,请参考以下文章

svn:unable to connect to a repository at url

unable to load default svn client 和 Eclipse SVN 插件与TortoiseSVN对应关系

新安装的SVN,检出的时候报unable to connect to a repository at URL,求解啊

svn: Unable to connect to a repository at URL 'svn:to a repo

svn更新报错:svn unable to connect to a repository at url

SVN:Unable to connect to a repository at URL 'xxx' Error running context: An error occurred