System Error Details
Build Scala Sandbox - mainline
: Repository error while detecting branches for repository 4653065. command [/usr/bin/git ls-remote ssh://[email protected]:45733/scala/mainline.git] failed with code 128. Working directory was [/opt/atlassian/bamboo/temp]., stderr:
Authenticating remote session failed
stdout:
Warning: Permanently added '[127.0.0.1]:45733' (RSA) to the list of known hosts.
BAMBOO-SSH-PROXY: [SSH proxy tried to connect to [[email protected]/192.168.1.3:7999]: and failed due to the following error: [Authenticating remote session failed]: Session is being closed]
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Occurred: 29 Jun 2025, 11:18:42 PM
(com.atlassian.bamboo.plugins.git.GitCommandException : command [/usr/bin/git ls-remote ssh://[email protected]:45733/scala/mainline.git] failed with code 128. Working directory was [/opt/atlassian/bamboo/temp]., stderr:
Authenticating remote session failed
stdout:
Warning: Permanently added '[127.0.0.1]:45733' (RSA) to the list of known hosts.
BAMBOO-SSH-PROXY: [SSH proxy tried to connect to [[email protected]/192.168.1.3:7999]: and failed due to the following error: [Authenticating remote session failed]: Session is being closed]
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.)
Occurred: 29 Jun 2025, 11:18:42 PM
com.atlassian.bamboo.plugins.git.GitCommandException: command [/usr/bin/git ls-remote ssh://[email protected]:45733/scala/mainline.git] failed with code 128. Working directory was [/opt/atlassian/bamboo/temp]., stderr: Authenticating remote session failed stdout: Warning: Permanently added '[127.0.0.1]:45733' (RSA) to the list of known hosts. BAMBOO-SSH-PROXY: [SSH proxy tried to connect to [[email protected]/192.168.1.3:7999]: and failed due to the following error: [Authenticating remote session failed]: Session is being closed] 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.GitCommandProcessor.runCommand(GitCommandProcessor.java:728) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:499) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.lambda$getRemoteRefs$1(NativeGitOperationHelper.java:605) at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:39) at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:35) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3528) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2277) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044) at com.google.common.cache.LocalCache.get(LocalCache.java:3952) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4958) at com.atlassian.bamboo.utils.collections.AlwaysInvalidatingCacheDecorator.get(AlwaysInvalidatingCacheDecorator.java:65) at com.atlassian.bamboo.utils.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:126) at com.atlassian.bamboo.util.CallableResultCache.call(CallableResultCache.java:142) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:613) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getOpenBranches(NativeGitOperationHelper.java:588) at com.atlassian.bamboo.plugins.git.v2.GitBranchDetector.getOpenBranches(GitBranchDetector.java:46) at com.atlassian.bamboo.plugins.stash.v2.BitbucketServerBranchDetector.getOpenBranches(BitbucketServerBranchDetector.java:29) at com.atlassian.bamboo.repository.RepositoryCachingFacadeImpl$1.getOpenBranchesCaller(RepositoryCachingFacadeImpl.java:65) at com.atlassian.bamboo.repository.RepositoryCachingFacadeImpl$1.call(RepositoryCachingFacadeImpl.java:54) at com.atlassian.bamboo.repository.RepositoryCachingFacadeImpl$1.call(RepositoryCachingFacadeImpl.java:49) at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:39) at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:35) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3528) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2277) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044) at com.google.common.cache.LocalCache.get(LocalCache.java:3952) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4958) at com.atlassian.bamboo.utils.collections.AlwaysInvalidatingCacheDecorator.get(AlwaysInvalidatingCacheDecorator.java:65) at com.atlassian.bamboo.utils.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:126) at com.atlassian.bamboo.util.CallableResultCache.call(CallableResultCache.java:142) at com.atlassian.bamboo.repository.RepositoryCachingFacadeImpl.getOpenBranches(RepositoryCachingFacadeImpl.java:72) at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl.lambda$getOpenBranches$0(BranchDetectionServiceImpl.java:288) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118) at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl.getOpenBranches(BranchDetectionServiceImpl.java:287) at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl.detectBranchesForChains(BranchDetectionServiceImpl.java:406) at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl.detectBranchesForChains(BranchDetectionServiceImpl.java:372) at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl$BranchDetector$1.lambda$run$0(BranchDetectionServiceImpl.java:145) at org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:384) at org.springframework.orm.hibernate5.HibernateTemplate.execute(HibernateTemplate.java:336) at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl$BranchDetector$1.run(BranchDetectionServiceImpl.java:130) at com.atlassian.bamboo.plugin.BambooPluginUtils$Runnable.call(BambooPluginUtils.java:106) at com.atlassian.bamboo.plugin.BambooPluginUtils$Runnable.call(BambooPluginUtils.java:99) at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:53) at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl$BranchDetector.run(BranchDetectionServiceImpl.java:175) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.sshd.common.SshException: Session is being closed at org.apache.sshd.client.session.ClientSessionImpl.preClose(ClientSessionImpl.java:126) at org.apache.sshd.common.util.closeable.AbstractCloseable.close(AbstractCloseable.java:81) at org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.sessionClosed(AbstractSessionIoHandler.java:48) at org.apache.sshd.common.io.nio2.Nio2Session.doCloseImmediately(Nio2Session.java:233) at org.apache.sshd.common.util.closeable.AbstractCloseable.close(AbstractCloseable.java:82) at org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:315) at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:281) at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:278) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38) at java.security.AccessController.doPrivileged(Native Method) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37) at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157) at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:555) at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276) at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297) at org.apache.sshd.common.io.nio2.Nio2Session.doReadCycle(Nio2Session.java:329) at org.apache.sshd.common.io.nio2.Nio2Session.doReadCycle(Nio2Session.java:274) at org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:268) at org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:264) at org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:260) at org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:256) at org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:252) at org.apache.sshd.common.io.nio2.Nio2Connector$1.onCompleted(Nio2Connector.java:127) at org.apache.sshd.common.io.nio2.Nio2Connector$1.onCompleted(Nio2Connector.java:109) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38) at java.security.AccessController.doPrivileged(Native Method) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37) at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) at sun.nio.ch.Invoker$2.run(Invoker.java:218) at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ... 1 more