com.atlassian.bamboo.repository.RepositoryException: java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: : ssh://git@stash/wid/dashboard.git: SSH_MSG_DISCONNECT: 2 Too many authentication failures for git

atlassian.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    com.jcraft.jsch.JSchException: SSH_MSG_DISCONNECT: 2 Too many authentication failures for git for Bamboo with Stash repo - Atlassian Documentation

    atlassian.com | 7 months ago
    com.atlassian.bamboo.repository.RepositoryException: java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: : ssh://git@stash/wid/dashboard.git: SSH_MSG_DISCONNECT: 2 Too many authentication failures for git
  2. 0

    Issue 808 - gerrit - Gerrit replication - Session.connect: java.net.SocketException: Connection reset - Gerrit Code Review - Google Project Hosting

    google.com | 2 years ago
    org.eclipse.jgit.errors.TransportException: user@server:/projects/test.git: connection is closed by foreign host
  3. 0

    Issue 808 - gerrit - Gerrit replication - Session.connect: java.net.SocketException: Connection reset - Gerrit Code Review - Google Project Hosting

    google.com | 10 months ago
    org.eclipse.jgit.errors.TransportException: user@server:/projects/test.git: connection is closed by foreign host
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TeamCity Git VCS SSH connection with Custom Private Key throws JschException: Auth fail

    tagwith.com | 1 year ago
    jetbrains.buildServer.vcs.VcsException: List remote refs failed: com.jcraft.jsch.JSchException: Auth fail
  6. 0

    Upsource lost git and never recovered

    YouTrack | 2 years ago
    java.lang.RuntimeException: Failed to fetch new commits from the version control for ProjectId{test}. jetbrains.vcs.server.api.VcsServiceException: Failed to complete an action for test:test. Failed to collect current revision for test:test. List remote refs failed: com.jcraft.jsch.JSchException: java.net.UnknownHostException: GITHOSTNAMEHERE. Analyzer will restart the project

  1. jf-ast 2 times, last 2 months ago
  2. jstrayer 3 times, last 3 months ago
  3. abrazeneb 1 times, last 7 months ago
96 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. com.jcraft.jsch.JSchException

    SSH_MSG_DISCONNECT: 2 Too many authentication failures for git

    at com.jcraft.jsch.Session.read()
  2. JSch
    Session.connect
    1. com.jcraft.jsch.Session.read(Session.java:987)
    2. com.jcraft.jsch.UserAuthPassword.start(UserAuthPassword.java:91)
    3. com.jcraft.jsch.Session.connect(Session.java:463)
    3 frames
  3. JGit - Core
    TransportGitSsh.openFetch
    1. org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:128)
    2. org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
    3. org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
    4. org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
    4 frames
  4. com.atlassian.bamboo
    ChainExecutionManagerImpl.delayedStart
    1. com.atlassian.bamboo.plugins.git.JGitOperationHelper.withFetchConnection(JGitOperationHelper.java:892)
    2. com.atlassian.bamboo.plugins.git.JGitOperationHelper.obtainLatestRevision(JGitOperationHelper.java:407)
    3. com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:225)
    4. com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:213)
    5. com.atlassian.bamboo.plugins.stash.StashRepository.collectChangesSinceLastBuild(StashRepository.java:483)
    6. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$2.call(DefaultChangeDetectionManager.java:506)
    7. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$2.call(DefaultChangeDetectionManager.java:502)
    8. com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)
    9. com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)
    10. com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)
    11. com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176)
    12. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:501)
    13. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:358)
    14. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:286)
    15. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:185)
    16. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:142)
    17. com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction.performDelayedChangeDetection(ManualBuildDetectionAction.java:173)
    18. com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:209)
    19. com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:262)
    20. com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:198)
    20 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  6. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    4. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    6. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    6 frames
  7. com.sun.proxy
    $Proxy97.delayedStart
    1. com.sun.proxy.$Proxy97.delayedStart(Unknown Source)
    1 frame
  8. com.atlassian.bamboo
    PlanExecutionManagerImpl$1$1$1.call
    1. com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1$1.run(PlanExecutionManagerImpl.java:405)
    2. com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:85)
    3. com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:102)
    4. com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:400)
    5. com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:394)
    5 frames
  9. com.atlassian.util
    ManagedLocks$ManagedLockImpl.withLock
    1. com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)
    1 frame
  10. com.atlassian.bamboo
    ImpersonationHelper$1.run
    1. com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:85)
    2. com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:761)
    3. com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$200(PlanExecutionManagerImpl.java:126)
    4. com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1.run(PlanExecutionManagerImpl.java:388)
    5. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
    6. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
    7. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
    8. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
    8 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame