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]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by saint, 1 year ago
/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]
via Atlassian JIRA by saint, 1 year ago
/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]
via Stack Overflow by Gerald Ortner
, 2 years ago
com.atlassian.bamboo.repository.RepositoryException: An error occurred when updating workspace.
via Atlassian JIRA by Pavel Veller, 1 year ago
com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory 'C:\build-dir\TEST-BUIL-JOB1' C:\build-dir\TEST-BUIL-JOB1\.git
via Atlassian JIRA by Pavel Veller, 1 year ago
com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory 'C:\build-dir\TEST-BUIL-JOB1' C:\build-dir\TEST-BUIL-JOB1\.git
via Atlassian JIRA by Steven, 1 year ago
com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory 'Z:\build\TRADE-MAF4-JOB1' Z:\build\TRADE-MAF4-JOB1\.git
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)
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)
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)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.