java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) feature/abc' from 'https://example.com/tfs13/TFS13Enterprise/FOO/_git/foo' to source directory 'E:\Bamboo\xml-data\build-dir\FOO2-JOB1'. https://...: authentication not supported

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I get authentication not supported when trying to checkout git repository using built-in jgit client. This is probably because of missing NTLM authentication however I think support for that was merged into JGit long time ago. {code} Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. 25-May-2015 11:33:59 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) feature/abc' from 'https://example.com/tfs13/TFS13Enterprise/FOO/_git/foo' to source directory 'E:\Bamboo\xml-data\build-dir\FOO2-JOB1'. https://...: authentication not supported 25-May-2015 11:33:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) 25-May-2015 11:33:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) 25-May-2015 11:33:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) 25-May-2015 11:33:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:172) 25-May-2015 11:33:59 at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281) 25-May-2015 11:33:59 at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278) 25-May-2015 11:33:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198) 25-May-2015 11:33:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278) 25-May-2015 11:33:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:80) 25-May-2015 11:33:59 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74) 25-May-2015 11:33:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) 25-May-2015 11:33:59 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) 25-May-2015 11:33:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) 25-May-2015 11:33:59 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) 25-May-2015 11:33:59 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) 25-May-2015 11:33:59 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) 25-May-2015 11:33:59 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) 25-May-2015 11:33:59 at java.lang.Thread.run(Unknown Source) 25-May-2015 11:33:59 Caused by: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) feature/resurrect-master-pom' from 'https://...' to source directory 'E:\Bamboo\xml-data\build-dir\FOO2-JOB1'. https://...: authentication not supported 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:355) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:432) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:252) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:56) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:177) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:173) 25-May-2015 11:33:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) 25-May-2015 11:33:59 ... 18 more 25-May-2015 11:33:59 Caused by: org.eclipse.jgit.errors.TransportException: https://...: authentication not supported 25-May-2015 11:33:59 at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:494) 25-May-2015 11:33:59 at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.withFetchConnection(JGitOperationHelper.java:910) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.getRefSpecForName(JGitOperationHelper.java:543) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.access$000(JGitOperationHelper.java:71) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper$3.doWithTransport(JGitOperationHelper.java:313) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper$3.doWithTransport(JGitOperationHelper.java:309) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.withTransport(JGitOperationHelper.java:894) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:308) 25-May-2015 11:33:59 ... 24 more {code} With native git it works fine.
    via by Marcin Wisnicki,
  • I get authentication not supported when trying to checkout git repository using built-in jgit client. This is probably because of missing NTLM authentication however I think support for that was merged into JGit long time ago. {code} Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. 25-May-2015 11:33:59 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) feature/abc' from 'https://example.com/tfs13/TFS13Enterprise/FOO/_git/foo' to source directory 'E:\Bamboo\xml-data\build-dir\FOO2-JOB1'. https://...: authentication not supported 25-May-2015 11:33:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) 25-May-2015 11:33:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) 25-May-2015 11:33:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) 25-May-2015 11:33:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:172) 25-May-2015 11:33:59 at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281) 25-May-2015 11:33:59 at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278) 25-May-2015 11:33:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198) 25-May-2015 11:33:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278) 25-May-2015 11:33:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:80) 25-May-2015 11:33:59 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74) 25-May-2015 11:33:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) 25-May-2015 11:33:59 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) 25-May-2015 11:33:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) 25-May-2015 11:33:59 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) 25-May-2015 11:33:59 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) 25-May-2015 11:33:59 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) 25-May-2015 11:33:59 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) 25-May-2015 11:33:59 at java.lang.Thread.run(Unknown Source) 25-May-2015 11:33:59 Caused by: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) feature/resurrect-master-pom' from 'https://...' to source directory 'E:\Bamboo\xml-data\build-dir\FOO2-JOB1'. https://...: authentication not supported 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:355) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:432) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:252) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:56) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:177) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:173) 25-May-2015 11:33:59 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) 25-May-2015 11:33:59 ... 18 more 25-May-2015 11:33:59 Caused by: org.eclipse.jgit.errors.TransportException: https://...: authentication not supported 25-May-2015 11:33:59 at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:494) 25-May-2015 11:33:59 at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.withFetchConnection(JGitOperationHelper.java:910) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.getRefSpecForName(JGitOperationHelper.java:543) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.access$000(JGitOperationHelper.java:71) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper$3.doWithTransport(JGitOperationHelper.java:313) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper$3.doWithTransport(JGitOperationHelper.java:309) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.withTransport(JGitOperationHelper.java:894) 25-May-2015 11:33:59 at com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:308) 25-May-2015 11:33:59 ... 24 more {code} With native git it works fine.
    via by Marcin Wisnicki,
  • 'authentication not supported' issue with TFS git
    via by Unknown author,
  • Specifying ssh key for jgit
    via Stack Overflow by NaOH
    ,
  • Fabric8 on AWS - Error while Creating App
    via by ankit bansal,
    • java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) feature/abc' from 'https://example.com/tfs13/TFS13Enterprise/FOO/_git/foo' to source directory 'E:\Bamboo\xml-data\build-dir\FOO2-JOB1'. https://...: authentication not supported at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:172) at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281) at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278) at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:80) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Unknown Source) Caused by: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) feature/resurrect-master-pom' from 'https://...' to source directory 'E:\Bamboo\xml-data\build-dir\FOO2-JOB1'. https://...: authentication not supported at com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:355) at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:432) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:252) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:56) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:177) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:173) at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) ... 18 more Caused by: org.eclipse.jgit.errors.TransportException: https://...: authentication not supported at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:494) at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309) at com.atlassian.bamboo.plugins.git.JGitOperationHelper.withFetchConnection(JGitOperationHelper.java:910) at com.atlassian.bamboo.plugins.git.JGitOperationHelper.getRefSpecForName(JGitOperationHelper.java:543) at com.atlassian.bamboo.plugins.git.JGitOperationHelper.access$000(JGitOperationHelper.java:71) at com.atlassian.bamboo.plugins.git.JGitOperationHelper$3.doWithTransport(JGitOperationHelper.java:313) at com.atlassian.bamboo.plugins.git.JGitOperationHelper$3.doWithTransport(JGitOperationHelper.java:309) at com.atlassian.bamboo.plugins.git.JGitOperationHelper.withTransport(JGitOperationHelper.java:894) at com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:308) ... 24 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    2 more bugmates