VCS problem connecting with bitbucket: exit code: 128 stderr: fatal: unable to access (...) Problem with the SSL CA cert (path? access rights?)
Hey Community,
I'm running a TeamCity 2023.05.03 Instance on a Debian Server. I used the .tar.gz for the installation and have a external mysql-server connected. I set my TeamCity to run on port 443 with a SSL Certificate - Redirect is enabled for all requests.
Usually, everything works as expected. But from time to time I get the attached error. It runs regularly for a month or maybe more - I have not identified a pattern yet.
Right after restoring the TeamCity-Machine from a Snapshot, it works again. But usually not for long.
I'm grateful, if someone can help me. I have this problem occuring since around February. So it was also present in previous versions. I at least did two full setups from scratch, which still resulted in the error after some time.
Best regards,
Malte
Failed for the root '"bitbucket.org/blackenedit/projectplan.git" {instance id=54, parent internal id=9, parent id=blackenedVermessung_BitbucketOrgblackeneditprojectplanGit, description: "https://bitbucket.org/blackenedit/projectplan.git#refs/heads/master"}: git -c core.askpass=/opt/TeamCity/temp/pass15220330177036372132 -c credential.helper= ls-remote origin command failed. exit code: 128 stderr: fatal: unable to access 'https://bitbucket.org/blackenedit/projectplan.git/': Problem with the SSL CA cert (path? access rights?)
jetbrains.buildServer.vcs.VcsRootVcsException: git -c core.askpass=/opt/TeamCity/temp/pass15220330177036372132 -c credential.helper= ls-remote origin command failed.
exit code: 128
stderr: fatal: unable to access 'https://bitbucket.org/blackenedit/projectplan.git/': Problem with the SSL CA cert (path? access rights?)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.createRootException(VcsChangesStatesCollector.java:63)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:2)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:78)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:76)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107)
at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:4)
at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:63)
at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:73)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:32)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:20)
at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:9)
at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:35)
at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:150)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:13)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:76)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:1)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: jetbrains.buildServer.vcs.VcsException: git -c core.askpass=/opt/TeamCity/temp/pass15220330177036372132 -c credential.helper= ls-remote origin command failed.
exit code: 128
stderr: fatal: unable to access 'https://bitbucket.org/blackenedit/projectplan.git/': Problem with the SSL CA cert (path? access rights?)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.CommandUtil.commandFailed(CommandUtil.java:84)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.CommandUtil.checkCommandFailed(CommandUtil.java:50)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.CommandUtil.runCommand(CommandUtil.java:147)
at jetbrains.buildServer.buildTriggers.vcs.git.command.GitCommandLine.doRunCommand(GitCommandLine.java:103)
at jetbrains.buildServer.buildTriggers.vcs.git.command.GitCommandLine.run(GitCommandLine.java:98)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl.doRunCmd(BaseAuthCommandImpl.java:132)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl$GitCommandRetryable.call(BaseAuthCommandImpl.java:102)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl$GitCommandRetryable.call(BaseAuthCommandImpl.java:84)
at jetbrains.buildServer.buildTriggers.vcs.git.Retry.retry(Retry.java:58)
at jetbrains.buildServer.buildTriggers.vcs.git.Retry.retry(Retry.java:51)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl.runCmd(BaseAuthCommandImpl.java:122)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl.runCmd(BaseAuthCommandImpl.java:115)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl.runCmd(BaseAuthCommandImpl.java:81)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.LsRemoteCommandImpl.call(LsRemoteCommandImpl.java:73)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.lambda$lsRemote$15(NativeGitCommands.java:348)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.lambda$null$0(NativeGitCommands.java:151)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadNameFuncThrow(NamedThreadFactory.java:107)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.lambda$executeCommand$1(NativeGitCommands.java:146)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.executeWithSslHandling(NativeGitCommands.java:104)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.executeCommand(NativeGitCommands.java:145)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.lsRemote(NativeGitCommands.java:339)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.doGetRemoteRefs(GitVcsSupport.java:545)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.doGetRemoteRefs(GitVcsSupport.java:529)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.getRemoteRefs(GitVcsSupport.java:520)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.lambda$getCurrentState$0(GitVcsSupport.java:183)
at jetbrains.buildServer.buildTriggers.vcs.git.RepositoryManagerImpl.runWithDisabledRemove(RepositoryManagerImpl.java:256)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.getCurrentState(GitVcsSupport.java:179)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.getCurrentState(GitVcsSupport.java:174)
at jetbrains.buildServer.buildTriggers.vcs.git.GitCollectChangesPolicy.getCurrentState(GitCollectChangesPolicy.java:199)
at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:3)
at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$2(VcsRootInstanceImpl.java:211)
at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:53)
at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:10)
at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:13)
at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117)
at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:230)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:5)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:4)
at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:3)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$1.doGetCurrentState(VcsChangesStatesCollector.java:2)
at jetbrains.buildServer.vcs.impl.CurrentStateCache.getCurrentStateFuture(CurrentStateCache.java:49)
at jetbrains.buildServer.vcs.impl.CurrentStateCache.getCurrentState(CurrentStateCache.java:35)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:24)
... 18 more
jetbrains.buildServer.vcs.VcsException: git -c core.askpass=/opt/TeamCity/temp/pass15220330177036372132 -c credential.helper= ls-remote origin command failed.
exit code: 128
stderr: fatal: unable to access 'https://bitbucket.org/blackenedit/projectplan.git/': Problem with the SSL CA cert (path? access rights?)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.CommandUtil.commandFailed(CommandUtil.java:84)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.CommandUtil.checkCommandFailed(CommandUtil.java:50)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.CommandUtil.runCommand(CommandUtil.java:147)
at jetbrains.buildServer.buildTriggers.vcs.git.command.GitCommandLine.doRunCommand(GitCommandLine.java:103)
at jetbrains.buildServer.buildTriggers.vcs.git.command.GitCommandLine.run(GitCommandLine.java:98)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl.doRunCmd(BaseAuthCommandImpl.java:132)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl$GitCommandRetryable.call(BaseAuthCommandImpl.java:102)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl$GitCommandRetryable.call(BaseAuthCommandImpl.java:84)
at jetbrains.buildServer.buildTriggers.vcs.git.Retry.retry(Retry.java:58)
at jetbrains.buildServer.buildTriggers.vcs.git.Retry.retry(Retry.java:51)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl.runCmd(BaseAuthCommandImpl.java:122)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl.runCmd(BaseAuthCommandImpl.java:115)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.BaseAuthCommandImpl.runCmd(BaseAuthCommandImpl.java:81)
at jetbrains.buildServer.buildTriggers.vcs.git.command.impl.LsRemoteCommandImpl.call(LsRemoteCommandImpl.java:73)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.lambda$lsRemote$15(NativeGitCommands.java:348)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.lambda$null$0(NativeGitCommands.java:151)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadNameFuncThrow(NamedThreadFactory.java:107)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.lambda$executeCommand$1(NativeGitCommands.java:146)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.executeWithSslHandling(NativeGitCommands.java:104)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.executeCommand(NativeGitCommands.java:145)
at jetbrains.buildServer.buildTriggers.vcs.git.command.NativeGitCommands.lsRemote(NativeGitCommands.java:339)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.doGetRemoteRefs(GitVcsSupport.java:545)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.doGetRemoteRefs(GitVcsSupport.java:529)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.getRemoteRefs(GitVcsSupport.java:520)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.lambda$getCurrentState$0(GitVcsSupport.java:183)
at jetbrains.buildServer.buildTriggers.vcs.git.RepositoryManagerImpl.runWithDisabledRemove(RepositoryManagerImpl.java:256)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.getCurrentState(GitVcsSupport.java:179)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.getCurrentState(GitVcsSupport.java:174)
at jetbrains.buildServer.buildTriggers.vcs.git.GitCollectChangesPolicy.getCurrentState(GitCollectChangesPolicy.java:199)
at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:3)
at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$2(VcsRootInstanceImpl.java:211)
at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:53)
at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:10)
at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:13)
at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117)
at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:230)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:5)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:4)
at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:3)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$1.doGetCurrentState(VcsChangesStatesCollector.java:2)
at jetbrains.buildServer.vcs.impl.CurrentStateCache.getCurrentStateFuture(CurrentStateCache.java:49)
at jetbrains.buildServer.vcs.impl.CurrentStateCache.getCurrentState(CurrentStateCache.java:35)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:24)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:78)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:76)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107)
at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:4)
at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:63)
at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:73)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:32)
at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:20)
at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:9)
at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:35)
at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:150)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:13)
at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:76)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:1)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Please sign in to leave a comment.