org.apache.sshd.common.RuntimeSshException: Failed to get the session.], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]

atlassian.com | 10 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

    Bamboo git authentication fails from remote agent - Atlassian Answers

    atlassian.com | 10 months ago
    org.apache.sshd.common.RuntimeSshException: Failed to get the session.], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]

    Root Cause Analysis

    1. org.apache.sshd.common.RuntimeSshException

      Failed to get the session.], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]

      at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild()
    2. com.atlassian.bamboo
      RetryingTaskExecutor.rerun
      1. com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:344)
      2. com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:216)
      3. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$5.call(DefaultChangeDetectionManager.java:608)
      4. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$5.call(DefaultChangeDetectionManager.java:604)
      5. com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)
      5 frames