Problem with TeamCity 7.0 RC1 and BeanstalkApp SVN

I recently moved our SVN over to BeanstalkApp and have noticed that Teamcity 7.0 RC1 (build 21209) cannot connect to the repository; here are the errors I'm seeing:


svn: E175002: Received fatal alert: bad_record_mac
svn: E175002: OPTIONS request failed on '/volunteersquared/trunk'


jetbrains.buildServer.vcs.VcsException: org.tmatesoft.svn.core.SVNException: svn: E175002: Received fatal alert: bad_record_mac
svn: E175002: OPTIONS request failed on '/volunteersquared/trunk'
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getCurrentVersion(SvnSupport.java:145)
at jetbrains.buildServer.vcs.impl.VcsRootInstancesManagerImpl$SVcsRootInstance.getCurrentRevision(VcsRootInstancesManagerImpl.java:54)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.getCurrentVersion(VcsChangesLoaderImpl.java:39)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.collectRevisionsForAllRoots(VcsChangesLoaderImpl.java:25)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.getLoadChangesIntervals(VcsChangesLoaderImpl.java:80)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.loadChangesNoLocking(VcsChangesLoaderImpl.java:41)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.loadChanges(VcsChangesLoaderImpl.java:144)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:129)
at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:81)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1.run(VcsModificationChecker.java:24)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.tmatesoft.svn.core.SVNException: svn: E175002: Received fatal alert: bad_record_mac
svn: E175002: OPTIONS request failed on '/volunteersquared/trunk'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:644)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:280)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:268)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:536)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1009)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:180)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getCurrentVersion(SvnSupport.java:155)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getCurrentVersion(SvnSupport.java:143)
... 15 more
org.tmatesoft.svn.core.SVNException: svn: E175002: Received fatal alert: bad_record_mac
svn: E175002: OPTIONS request failed on '/volunteersquared/trunk'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:644)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:280)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:268)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:536)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1009)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:180)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getCurrentVersion(SvnSupport.java:155)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getCurrentVersion(SvnSupport.java:143)
at jetbrains.buildServer.vcs.impl.VcsRootInstancesManagerImpl$SVcsRootInstance.getCurrentRevision(VcsRootInstancesManagerImpl.java:54)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.getCurrentVersion(VcsChangesLoaderImpl.java:39)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.collectRevisionsForAllRoots(VcsChangesLoaderImpl.java:25)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.getLoadChangesIntervals(VcsChangesLoaderImpl.java:80)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.loadChangesNoLocking(VcsChangesLoaderImpl.java:41)
at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.loadChanges(VcsChangesLoaderImpl.java:144)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:129)
at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:81)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1.run(VcsModificationChecker.java:24)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Has anyone experienced similar issues using BeanstalkApp?


UPDATE: I think the issue I'm seeing is outlined here: http://issues.tmatesoft.com/issue/SVNKIT-182?query=bad_record_mac

Can anyone tell me how I can add the -Dsvnkit.http.sslProtocols="SSLv3" option to TeamCity to see if that resolves it?

3 comments

I'm getting a similar error trying to use Beanstalk's SVN and TeamCity 6.5.6 (build 18130). I'm evaluating CI servers for our company right now, and would really like to get this resolved so that CC.Net doesn't just win by default! Any help would be greatly appreciated.

Stacktrace:
jetbrains.buildServer.vcs.VcsException: org.tmatesoft.svn.core.SVNException: svn: Received fatal alert: bad_record_mac
svn: OPTIONS request failed on '/foo'
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getCurrentVersion(SvnSupport.java:145)
at jetbrains.buildServer.vcs.impl.VcsRootInstancesManagerImpl$SVcsRootInstance.getCurrentRevision(VcsRootInstancesManagerImpl.java:5)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.getRevisionsForAllRoots(VcsManagerImpl.java:444)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:62)
at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:75)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1.run(VcsModificationChecker.java:0)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.tmatesoft.svn.core.SVNException: svn: Received fatal alert: bad_record_mac
svn: OPTIONS request failed on '/about-face/AboutFace.Reels/trunk'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:645)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:280)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:268)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:536)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1009)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:180)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getCurrentVersion(SvnSupport.java:155)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getCurrentVersion(SvnSupport.java:143)
... 11 more
org.tmatesoft.svn.core.SVNException: svn: Received fatal alert: bad_record_mac
svn: OPTIONS request failed on '/about-face/AboutFace.Reels/trunk'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:645)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:280)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:268)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:536)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1009)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:180)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getCurrentVersion(SvnSupport.java:155)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport.getCurrentVersion(SvnSupport.java:143)
at jetbrains.buildServer.vcs.impl.VcsRootInstancesManagerImpl$SVcsRootInstance.getCurrentRevision(VcsRootInstancesManagerImpl.java:5)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.getRevisionsForAllRoots(VcsManagerImpl.java:444)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:62)
at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:75)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1.run(VcsModificationChecker.java:0)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

0

Well, after much hassle, I was able to resove this issue with TeamCity 7.0 (I assume the same would work for 6.5.X) using the guide located at: http://confluence.atlassian.com/display/DOC/Configuring+System+Properties

Here are the basic changes I had to make to resolve this:

From command prompt, run

c:\teamcity\bin\tomcat7w.exe //ES//TeamCity

Click the "Java" tab

Add the following to Java Options:

-Dsvnkit.http.sslProtocols=SSLv3

Restart the teamcity service



I was then able to connect to the repo without any issues.
0

This worked for me, too! Only change was tomcat6 instead of tomcat7. Thanks!

0

Please sign in to leave a comment.