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

昨天某人使用SVN时,遇到这样的问题,

Unable to connect to a repository at URL ‘xxx‘
Error running context: An error occurred during authentication

解决办法:

0、如果你是win10系统,检查下你现在登录操作系统的账户是不是微软账户,而不是本地账户,

控制面板——用户——账户信息

如果是下面这样则是本地账户,否则点击那个“改用本地账户登录”,之后再重启下,用本地账户登录,再试试你的SVN连接,

具体原因参考:

https://stackoverflow.com/questions/45299260/tortoisesvn-authentication-error

https://xbuba.com/questions/45299260

我以某种方式设法从本地帐户切换到Microsoft帐户,该帐户自动将(错误的)帐户身份验证发送到SVN服务器。

一旦我切换回本地帐户,TortoiseSVN再次工作。

1、在SVN客户端的setting中清理Authentication data,这是因为本地缓存了账号数据,

2、删除C:\Users\{user}\AppData\Roaming\Subversion 路径下的文件,原因同上,

3、检测注册表,搜索Subversion或者你的SVN服务器IP,发现用户名和密码保存的位置如下图:(危险操作,先备份一个注册表)

更新http-proxy-password 和http-proxy-username的数据。!!!!!记住:注册表中可能有多处此设置,保险起见都更新。

Auth认证是过了,但是上下文问题没有解决。

网上说的方法,没有一个适合我这种情况的。后来发现:上图中http-proxy-port是0。问了一下管理员才知道,port用的是80,和修改用户名密码一样,更新多处。

另一种简单的处理方法:在SVN setting,找到Network,去掉Enable Proxy Server选项,或者将数据填写正确。

如有其它疑问,欢迎关注下面公众号后台提问:

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

原文地址:https://www.cnblogs.com/1394htw/p/12272000.html

时间: 2024-08-02 03:52:02

SVN:Unable to connect to a repository at URL 'xxx' Error running context: An error occurred during authentication的相关文章

svn: E160043: Unable to connect to a repository at URL

操作系统:CentOS 6.5 SVN版本:1.8.11 刚安装的SVN,新创建的版本库, 使用svn list svn://192.167.1.81/allProject测试的时候提示以下错误: [[email protected] svn]# svn list svn://192.167.1.81/allProject svn: E160043: Unable to connect to a repository at URL 'svn://192.167.1.81/allProject'

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

出现错误:unable to connect to a repository at url 解决办法1. 右键点击本地副本,TortoiseSVN -> Settings -> Saved Data,2. 点击个个“Clear”按钮,把本地缓存都清除了,点击“确定”:3. 再重新checkout即可!

svn检出的时候报 Unable to connect to a repository at URL错误(摘自CSDN)

背景:1.         SVN服务器:VisualSVN-Server-2.5.5: 2. SVN客户端:TortoiseSVN-1.7.6.22632-x64-svn-1.7.4.msi: 在SVN服务器上,新建一个数据仓库aaa,用户ABC拥有读写权限. 现象: 1.         在checkout数据仓库aaa时,出现如下错误: Unable to connect to a repository at URL" src="http://www.cnblogs.com/wa

SVN Unable to connect to a repository at URL 不知道这样的主机: 问题解决

工具是eclipse Maven ,搭建好项目的框架后上传SVN出现如下错误: 不知道这样的主机.  svn: Unable to connect to a repository at URL 'https://pc-201311301552/svn/taotao-0426/taotao-parent' mkdir --parents -m "初始导入.淘淘商城,搭建框架完成." [https://pc-201311301552/svn/taotao-0426/taotao-paren

C# 解决SharpSvn启动窗口报错 Unable to connect to a repository at URL 'svn://....'

在远程机打开sharpsvn客户端测试,结果报错 Svn启动窗口报错 Unable to connect to a repository at URL 'svn://...' 咋整,我在win10我的开发环境上没报错啊, 一时间各种的想象, 昨天先是svn客户端不能再win7上运行,后来编译平台换成X86模式,sharpsvn.dll 换成x86,问题解决 .注意:必须删除原先生成的bin文件,当时我只删除了exe文件,结果还是报错,debug 模式和 Release 都要换到x86 . 接着点

Tortoise-SVN 出现“unable to connect to a repository at url no element found”解决办法

安装要SVN server服务器后,建立自己的Repositories,创建自己的项目文件夹 如,https://xxxxxxxxxx.com:8443/ 安装Tortoise-svn进行设置目标链接时,出现问题unable to connect to a repository at url no element found 解决办法: 最后加上svn就ok了

VISUALSVN: UNABLE TO CONNECT TO A REPOSITORY AT URL 无法连接主机的解决办法

场景:我的系统是win7,安装的 VisualSVN Server 作为svn 服务器,昨天是好的,我手渐,使用鲁大师优化了系统,今天提交,更新的时候,直接提示:Unable to connect to a repository at URL 192.168.1.100,检查 VisualSVN 已经启动,没有问题,防火墙也没关了就是不行. 解决方法: 1.检查了svn 地址,用户名,密码,确认没问题,问题依然存在. 2.svn 客户端上,找到对应的项目版本库,清除相关设置缓存信息即可. 1.

关于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上的文件下载下来.(网友的

SVN Unable to connect to a repository at URL

今天下午提交代码一直提交不上一直报错,svn权限文件和密码文件也都没问题. 如图: 曲折的的一个下午,终于找到原因了.缓存 解决方案: 1.        右键点击本地副本,TortoiseSVN-> Settings -> Saved Data, 2.        点击个个"Clear"按钮,把本地缓存都清除了,点击"确定": 参考博客:http://blog.sina.com.cn/s/blog_7139569d0101afdz.html