SVN报错authorization failed: Could not authenticate to server: rejected Basic challenge
2015-12-23 13:53
1066 查看
The error you get means that SVN server (Apache HTTP Server actually) rejects to authenticate you because of invalid credentials. Here are the steps to troubleshoot the error:
Do you get the password prompt? Do you get the password prompt 3 times in a row and then see this error?
If you do: the first troubleshooting step would be to double-check that the entered username and password are correct. Usernames can be case-sensitive!
The second troubleshooting steps is not so obvious; you can encounter it after changing your AD account's password. Basic authentication fails when password contains non-ASCII symbols (e.g. £, ü, ä etc.). Shortly speaking Basic auth does not support non-ASCII
characters in password.
You don't get password prompt, it just fails with the error
It makes sense to attempt to authenticate forcing your credentials, e.g. with the command-line:
Do you get the password prompt? Do you get the password prompt 3 times in a row and then see this error?
If you do: the first troubleshooting step would be to double-check that the entered username and password are correct. Usernames can be case-sensitive!
The second troubleshooting steps is not so obvious; you can encounter it after changing your AD account's password. Basic authentication fails when password contains non-ASCII symbols (e.g. £, ü, ä etc.). Shortly speaking Basic auth does not support non-ASCII
characters in password.
You don't get password prompt, it just fails with the error
authorization failed: Could not authenticate to server: rejected Basic challenge.
It makes sense to attempt to authenticate forcing your credentials, e.g. with the command-line:
svn info --username USERNAME --password PASSWORD --no-auth-cache https://server/svn/repository/[/code]
--username ARG : specify a username ARG
--password ARG : specify a password ARG
--no-auth-cache : do not cache authentication tokens
If you can authenticate with this command-line then you should clear your cached credentials. See SVNBook
| Client Credentials for details. However some GUI clients allow you to clear cache in a couple of clicks.
参考链接http://stackoverflow.com/questions/10440685/what-is-the-cause-and-solution-to-svn-could-not-authenticate-to-server-rejecte
全局选项:
--username ARG : 指定用户名称 ARG
--password ARG : 指定密码 ARG
--no-auth-cache : 不要缓存用户认证令牌
--non-interactive : 不要交互提示
--trust-server-cert : 不提示的接受未知的 SSL 服务器证书(只用于选项 “--non-interactive”)
--config-dir ARG : 从目录 ARG 读取用户配置文件
--config-option ARG : 以下属格式设置用户配置选项:
FILE:SECTION:OPTION=[VALUE]
例如:
servers:global:http-library=serf
相关文章推荐
- Leetcode: Paint House II
- http://blog.csdn.net/tangaowen/article/details/8551762
- Chain Codes and Your Brain 链码和大脑
- Introduction to Chain Codes 链码导论
- Freeman Chain Code链码
- 为什么要用sub main
- Windows 下 tail 查看日志命令工具分享
- 博客作业:raid各级别特性
- svmtrain和svmpredict简介
- Genymotion问题解决之 INSTALL_FAILED_NO_MATCHING_ABIS (一)
- 执行yum:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
- await和async在一般处理程序中的使用
- NetworkInfo对象的isConnected()与isAvailable()区别
- Bug之解决Xcode 7编译错误:* does not contain bitcode.
- Brainteaser:Bulb Switcher
- 引用 Foxmail常用的25个技巧
- Paint及Canvas的简单应用
- RAID分类
- centos 邮件服务 腾讯企业邮箱(免费) 使用iRedmail 需要有公网的centos主机 发邮件协议:smtp 端口25 收邮件协议:pop3 端口110 iredmail安装配置 使用邮箱系统 第三十一节课
- C-语言-detail(上)