org.netbeans.lib.cvsclient.connection.AuthenticationException:

Atlassian JIRA | Mark Chaimungkalanont | 10 years ago
  1. 0

    [BAM-692] Manual build strategy gobbles up CVS errors - Atlassian JIRA

    atlassian.com | 1 year ago
    org.netbeans.lib.cvsclient.connection.AuthenticationException:
  2. 0

    Some BuildStrategy like {{Manual}} simply catches RepostoryExceptions, logs it and keeps going. It means that if the CVS repo is down, then the user never really know about it. This is obviously not good, we need to at least log it to the UI and cancel the build. Currently logs something like {code:xml} 2007-01-10 18:44:03,141 ERROR [BAM::BuildChangeDetector] [CVSRepository] Could not obtain source code from CVS build "JIRA Plugins Unit Tests - RPC Plugin". org.netbeans.lib.cvsclient.connection.AuthenticationException: at com.atlassian.bamboo.repository.cvsimpl.ExtConnection.openConnection(ExtConnection.java:170) at com.atlassian.bamboo.repository.cvsimpl.ExtConnection.open(ExtConnection.java:48) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.openConnectionToCvs(CVSRepository.java:851) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.getChangesFromCommand(CVSRepository.java:405) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.updateLatestVersionOfModule(CVSRepository.java:386) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.getFilesSinceLastChange(CVSRepository.java:350) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.collectModuleChanges(CVSRepository.java:210) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.getChangesSinceLastBuild(CVSRepository.java:146) at com.atlassian.bamboo.build.strategy.AbstractBuildStrategy.populateChangeList(AbstractBuildStrategy.java:92) at com.atlassian.bamboo.build.strategy.ManualBuild.requiresBuild(ManualBuild.java:42) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:166) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:114) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:77) at java.lang.Thread.run(Thread.java:595) Caused by: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out at com.jcraft.jsch.Util.createSocket(Util.java:256) at com.jcraft.jsch.Session.connect(Session.java:184) at com.jcraft.jsch.Session.connect(Session.java:148) at com.atlassian.bamboo.repository.cvsimpl.ExtConnection.openConnection(ExtConnection.java:154) ... 13 more Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:516) at java.net.Socket.connect(Socket.java:466) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:179) at com.jcraft.jsch.Util.createSocket(Util.java:250) ... 16 more 2007-01-10 18:44:03,142 ERROR [BAM::BuildChangeDetector] [ManualBuild] com.atlassian.bamboo.repository.RepositoryException: Cannot open connection {code}

    Atlassian JIRA | 10 years ago | Mark Chaimungkalanont (Holidays until 7/7)
    org.netbeans.lib.cvsclient.connection.AuthenticationException:
  3. 0

    Some BuildStrategy like {{Manual}} simply catches RepostoryExceptions, logs it and keeps going. It means that if the CVS repo is down, then the user never really know about it. This is obviously not good, we need to at least log it to the UI and cancel the build. Currently logs something like {code:xml} 2007-01-10 18:44:03,141 ERROR [BAM::BuildChangeDetector] [CVSRepository] Could not obtain source code from CVS build "JIRA Plugins Unit Tests - RPC Plugin". org.netbeans.lib.cvsclient.connection.AuthenticationException: at com.atlassian.bamboo.repository.cvsimpl.ExtConnection.openConnection(ExtConnection.java:170) at com.atlassian.bamboo.repository.cvsimpl.ExtConnection.open(ExtConnection.java:48) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.openConnectionToCvs(CVSRepository.java:851) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.getChangesFromCommand(CVSRepository.java:405) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.updateLatestVersionOfModule(CVSRepository.java:386) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.getFilesSinceLastChange(CVSRepository.java:350) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.collectModuleChanges(CVSRepository.java:210) at com.atlassian.bamboo.repository.cvsimpl.CVSRepository.getChangesSinceLastBuild(CVSRepository.java:146) at com.atlassian.bamboo.build.strategy.AbstractBuildStrategy.populateChangeList(AbstractBuildStrategy.java:92) at com.atlassian.bamboo.build.strategy.ManualBuild.requiresBuild(ManualBuild.java:42) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:166) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:114) at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:77) at java.lang.Thread.run(Thread.java:595) Caused by: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out at com.jcraft.jsch.Util.createSocket(Util.java:256) at com.jcraft.jsch.Session.connect(Session.java:184) at com.jcraft.jsch.Session.connect(Session.java:148) at com.atlassian.bamboo.repository.cvsimpl.ExtConnection.openConnection(ExtConnection.java:154) ... 13 more Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:516) at java.net.Socket.connect(Socket.java:466) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:179) at com.jcraft.jsch.Util.createSocket(Util.java:250) ... 16 more 2007-01-10 18:44:03,142 ERROR [BAM::BuildChangeDetector] [ManualBuild] com.atlassian.bamboo.repository.RepositoryException: Cannot open connection {code}

    Atlassian JIRA | 10 years ago | Mark Chaimungkalanont
    org.netbeans.lib.cvsclient.connection.AuthenticationException:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error in deployment on Amazon EC2 using image based on ubuntu-trusty-14.04-amd64-server

    GitHub | 2 years ago | anindyam
    java.lang.RuntimeException: java.util.concurrent.ExecutionException: slingshot.ExceptionInfo: Error prevented completion of phase: Unexpected exception: throw+: {:type :pallet/ssh-connection-failure, :message "ssh-fail: server 54.183.168.178, port 22, user storm, group :zookeeper-albeado-storm-cluster", :cause #<JSchException com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out>} (form-init5676622805172385725.clj:1)
  6. 0

    [JENKINS-15065] Gerrit server suddenly shutdown and as a consequence the Jenkins Gerrit-Trigger fails to restart. - Jenkins JIRA

    jenkins-ci.org | 1 month ago
    com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out

  1. linxiaolong 18 times, last 3 weeks ago
  2. Kialandei 1 times, last 1 month ago
  3. DoktorDoener666 41 times, last 2 weeks ago
  4. kjhdofjosvs 2 times, last 1 month ago
  5. Gatgeagent 1 times, last 2 months ago
22 more registered users
65 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:516)
    7. java.net.Socket.connect(Socket.java:466)
    8. java.net.Socket.<init>(Socket.java:366)
    9. java.net.Socket.<init>(Socket.java:179)
    9 frames
  3. JSch
    Session.connect
    1. com.jcraft.jsch.Util.createSocket(Util.java:250)
    2. com.jcraft.jsch.Session.connect(Session.java:184)
    3. com.jcraft.jsch.Session.connect(Session.java:148)
    3 frames
  4. com.atlassian.bamboo
    DefaultBuildChangeDetector.run
    1. com.atlassian.bamboo.repository.cvsimpl.ExtConnection.openConnection(ExtConnection.java:154)
    2. com.atlassian.bamboo.repository.cvsimpl.ExtConnection.open(ExtConnection.java:48)
    3. com.atlassian.bamboo.repository.cvsimpl.CVSRepository.openConnectionToCvs(CVSRepository.java:851)
    4. com.atlassian.bamboo.repository.cvsimpl.CVSRepository.getChangesFromCommand(CVSRepository.java:405)
    5. com.atlassian.bamboo.repository.cvsimpl.CVSRepository.updateLatestVersionOfModule(CVSRepository.java:386)
    6. com.atlassian.bamboo.repository.cvsimpl.CVSRepository.getFilesSinceLastChange(CVSRepository.java:350)
    7. com.atlassian.bamboo.repository.cvsimpl.CVSRepository.collectModuleChanges(CVSRepository.java:210)
    8. com.atlassian.bamboo.repository.cvsimpl.CVSRepository.getChangesSinceLastBuild(CVSRepository.java:146)
    9. com.atlassian.bamboo.build.strategy.AbstractBuildStrategy.populateChangeList(AbstractBuildStrategy.java:92)
    10. com.atlassian.bamboo.build.strategy.ManualBuild.requiresBuild(ManualBuild.java:42)
    11. com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:166)
    12. com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:114)
    13. com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:77)
    13 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame