Hudson已经停止检查来自assembla的源代码

时间:2014-11-29 20:11:04

标签: java svn ssl hudson assembla

Hudson似乎已经停止检查来自assembla的源代码了。什么都没有改变任何配置..昨天建立我们很好,然后突然没有明显的原因他们没有。只有代码更改才是一些简单的javascript,与服务器无关。

这是错误:

Started by user example
Cleaning workspace /vol/tomcat6/webapps/hudson/jobs/build-and-deploy-example/workspace
Checking out https://subversion.assembla.com/svn/example/trunk revision: Nov 29, 2014 2:57:29 PM depth:infinity ignoreExternals: false
ERROR: Failed to check out https://subversion.assembla.com/svn/example/trunk
org.tmatesoft.svn.core.SVNException: svn: Received fatal alert: handshake_failure
svn: OPTIONS request failed on '/svn/example/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:629)
    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:275)
    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:263)
    at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516)
    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:1001)
    at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:178)
    at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:482)
    at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:873)
    at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:534)
    at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:901)
    at hudson.scm.subversion.CheckoutUpdater$UpdateTaskImpl.perform(CheckoutUpdater.java:99)
    at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:151)
    at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:801)
    at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:784)
    at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:765)
    at hudson.FilePath.act(FilePath.java:758)
    at hudson.FilePath.act(FilePath.java:740)
    at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:757)
    at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:700)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1218)
    at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:507)
    at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424)
    at hudson.model.Run.run(Run.java:1367)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:145)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1682)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:932)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.sendData(HTTPConnection.java:228)
    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:166)
    at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:351)
    ... 26 more

任何人都可以帮我解决这个问题吗?组合似乎有些变化?

我正在运行旧版Hudson,这可能是个问题吗?

根据我所做的研究,SSL似乎遇到了麻烦,这台服务器上没有SSL证书,但最近部署的实时服务器上有(并且已经存在很长时间了) ,这个服务器已经部署到整个时间)。

2 个答案:

答案 0 :(得分:1)

最有可能的是Assembla禁用了SSL 3.0,而Hudson并不支持TLS 1.0。

答案 1 :(得分:0)

此外,问题是Hudson SVN插件需要更新。最后简单修复。