I am trying to setup TeamCity on my Windows XP machine. It is failing to get the code from subversion because of an authentication error. I have put my windows domain\user username and password into the TeamCity configuration - but it looks like it's trying basic authentication. What do I need to change?
我正在尝试在Windows XP计算机上设置TeamCity。由于身份验证错误,它无法从subversion获取代码。我已将我的Windows域\用户用户名和密码放入TeamCity配置中 - 但看起来它正在尝试基本身份验证。我需要改变什么?
Here is the TeamCity SVN log (the actual server/port has been replaced with server:port):
这是TeamCity SVN日志(实际的服务器/端口已被服务器:端口替换):
[2009-05-28 17:37:43,375] DEBUG - javasvn.output - NETWORK: SENT
[2009-05-28 17:37:43,475] DEBUG - javasvn.output - NETWORK:SENT
OPTIONS /svn/External HTTP/1.1
选项/ svn /外部HTTP / 1.1
Host: remote.server:port
User-Agent: SVN/1.5.5 SVNKit/1.2.2 (http://svnkit.com/) r5405
User-Agent:SVN / 1.5.5 SVNKit / 1.2.2(http://svnkit.com/)r5405
Keep-Alive:
Connection: TE, Keep-Alive
连接:TE,Keep-Alive
TE: trailers
Authorization: Basic bWVybG90L21hcmt3OiVyZnZjZGUz
授权:基本bWVybG90L21hcmt3OiVyZnZjZGUz
Content-Length: 0
Accept-Encoding: gzip
Content-Type: text/xml; charset="utf-8"
Content-Type:text / xml;字符集= “UTF-8”
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
[2009-05-28 17:37:43,453] DEBUG - javasvn.output - NETWORK: READ
[2009-05-28 17:37:43,453] DEBUG - javasvn.output - NETWORK:READ
HTTP/1.1 401 Authorization Required
需要HTTP / 1.1 401授权
Date: Thu, 28 May 2009 05:38:56 GMT
日期:2009年5月28日星期四05:38:56 GMT
Server: Apache
WWW-Authenticate: Basic realm="Subversion Repositories"
WWW-Authenticate:Basic realm =“Subversion Repositories”
Content-Length: 401
Keep-Alive: timeout=5, max=99
保持活跃:超时= 5,最大= 99
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
Content-Type:text / html;字符集= ISO-8859-1
[2009-05-28 17:37:43,453] DEBUG - javasvn.output - NETWORK: svn: Authentication required for 'https://server:port Subversion Repositories'
[2009-05-28 17:37:43,453] DEBUG - javasvn.output - NETWORK:svn:'https:// server:port Subversion Repositories'所需的身份验证
2 个解决方案
#1
I downloaded latest version (4.5.1 (build 8975)) and it worked out of the box.
我下载了最新版本(4.5.1(build 8975)),它开箱即用。
#1
I downloaded latest version (4.5.1 (build 8975)) and it worked out of the box.
我下载了最新版本(4.5.1(build 8975)),它开箱即用。
#2
You could try this.
你可以试试这个。