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 | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Bamboo git authentication fails from remote agent - Atlassian Answers

    atlassian.com | 9 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.collections.AlwaysInvalidatingCacheDecorator.getUnchecked()
    2. com.atlassian.bamboo
      GitRepository.collectChangesSinceLastBuild
      1. com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:139)
      2. com.atlassian.bamboo.util.CallableResultCache.call(CallableResultCache.java:136)
      3. com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:503)
      4. com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:438)
      5. com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.obtainLatestRevision(NativeGitOperationHelper.java:543)
      6. com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:228)
      6 frames