java.lang.RuntimeException

com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web38

  • via Unknown by saint,
  • via Unknown by saint,
  • via GitHub by gregall
    ,
  • Stack trace

    • java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed] at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:119) at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:79) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:174) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:109) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:183) at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:67) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:67) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:204) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) at java.lang.Thread.run(Thread.java:722) Caused by: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed] at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:432) at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:358) at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:292) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:180) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:46) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:114) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:110) at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:100) ... 11 more Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed] at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:356) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:282) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:438) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:410) ... 18 more Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128 at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:83) at com.atlassian.utils.process.ExternalProcess.finish(ExternalProcess.java:376) at com.atlassian.utils.process.ExternalProcess.execute(ExternalProcess.java:419) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:351) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.