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

Atlassian JIRA | Marcin Wisnicki | 2 years ago
  1. 0

    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.

    Atlassian JIRA | 2 years ago | Marcin Wisnicki
    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
  2. 0

    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.

    Atlassian JIRA | 2 years ago | Marcin Wisnicki
    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
  3. 0

    teamcity git hosted in IIS access issue

    Stack Overflow | 4 years ago | user460025
    org.eclipse.jgit.errors.TransportException: https:/domain\user@mydomain.com/xyz/info/refs?service=git-upload-pack
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot connect to remote Git repo via HTTP and PROXY Server

    YouTrack | 3 years ago
    jetbrains.buildServer.vcs.VcsException: List remote refs failed: java.net.ConnectException: Connection time out: git.tallertechnologies.com

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.jgit.errors.TransportException

      https://...: authentication not supported

      at org.eclipse.jgit.transport.TransportHttp.connect()
    2. JGit - Core
      TransportHttp.openFetch
      1. org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:494)
      2. org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309)
      2 frames
    3. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.plugins.git.JGitOperationHelper.withFetchConnection(JGitOperationHelper.java:910)
      2. com.atlassian.bamboo.plugins.git.JGitOperationHelper.getRefSpecForName(JGitOperationHelper.java:543)
      3. com.atlassian.bamboo.plugins.git.JGitOperationHelper.access$000(JGitOperationHelper.java:71)
      4. com.atlassian.bamboo.plugins.git.JGitOperationHelper$3.doWithTransport(JGitOperationHelper.java:313)
      5. com.atlassian.bamboo.plugins.git.JGitOperationHelper$3.doWithTransport(JGitOperationHelper.java:309)
      6. com.atlassian.bamboo.plugins.git.JGitOperationHelper.withTransport(JGitOperationHelper.java:894)
      7. com.atlassian.bamboo.plugins.git.JGitOperationHelper.fetch(JGitOperationHelper.java:308)
      8. com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:432)
      9. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:252)
      10. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:56)
      11. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:177)
      12. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:173)
      13. com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)
      14. com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)
      15. com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)
      16. com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176)
      17. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:172)
      18. com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281)
      19. com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278)
      20. com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198)
      21. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278)
      22. com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:80)
      23. com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74)
      24. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)
      25. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)
      26. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)
      27. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      28. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      29. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      30. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      30 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame