net.schmizz.sshj.connection.ConnectionException: Timeout expiredat net.schmizz.sshj.connection.ConnectionException$1.chain(ConnectionException.java:32)

atlassian.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [PROTOCOL_ERROR] Received CHANNEL_SUCCESS on unknown channel - Atlassian Documentation

    atlassian.com | 6 months ago
    net.schmizz.sshj.connection.ConnectionException: Timeout expiredat net.schmizz.sshj.connection.ConnectionException$1.chain(ConnectionException.java:32)

    Root Cause Analysis

    1. java.util.concurrent.TimeoutException

      Timeout expired

      at net.schmizz.concurrent.Promise.retrieve()
    2. sshj
      SessionChannel.exec
      1. net.schmizz.concurrent.Promise.retrieve(Promise.java:139)
      2. net.schmizz.concurrent.Event.await(Event.java:103)
      3. net.schmizz.sshj.connection.channel.direct.SessionChannel.exec(SessionChannel.java:102)
      3 frames
    3. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.plugins.scp.SshTask.execute(SshTask.java:124)
      2. com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281)
      3. com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278)
      4. com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198)
      5. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278)
      6. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:105)
      7. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
      8. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)
      9. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)
      10. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)
      11. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      12. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      13. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      14. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      14 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame