hudson.plugins.git.GitException

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.

  • Hi, I try to create a pipeline project, but get always this error: {{ Started Creating git repository in /var/lib/jenkins/caches/git-a2d04db821719ce9bac0f9be2f320f58 Setting origin to https://mygithost/repo.git Fetching origin... FATAL: Failed to recompute children of MyTestProject hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: https://mygithost/repo.git: cannot open git-upload-pack at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:680) at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:174) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:146) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:294) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:157) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: org.eclipse.jgit.api.errors.TransportException: https://mygithost/repo.git: cannot open git-upload-pack at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:678) ... 7 more Caused by: org.eclipse.jgit.errors.TransportException: https://mygithost/repo.git: cannot open git-upload-pack at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:524) at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1138) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130) ... 8 more Caused by: java.net.ConnectException: Connection refused mygithost at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:175) at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:475) ... 13 more Finished: FAILURE }} the (jenkins-)user can clone the repo via "git clone https://mygithost/repo.git" on the command line. the ssl certifacte was added to the default truststore If I try to use plain http, it still creates the above error. Whats wrong in there?
    via by Florian Doersch,
  • Hi, I try to create a pipeline project, but get always this error: {{ Started Creating git repository in /var/lib/jenkins/caches/git-a2d04db821719ce9bac0f9be2f320f58 Setting origin to https://mygithost/repo.git Fetching origin... FATAL: Failed to recompute children of MyTestProject hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: https://mygithost/repo.git: cannot open git-upload-pack at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:680) at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:174) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:146) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:294) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:157) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: org.eclipse.jgit.api.errors.TransportException: https://mygithost/repo.git: cannot open git-upload-pack at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:678) ... 7 more Caused by: org.eclipse.jgit.errors.TransportException: https://mygithost/repo.git: cannot open git-upload-pack at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:524) at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1138) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130) ... 8 more Caused by: java.net.ConnectException: Connection refused mygithost at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:175) at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:475) ... 13 more Finished: FAILURE }} the (jenkins-)user can clone the repo via "git clone https://mygithost/repo.git" on the command line. the ssl certifacte was added to the default truststore If I try to use plain http, it still creates the above error. Whats wrong in there?
    via by Florian Doersch,
  • grails 3.0.1 proxy settings
    via Stack Overflow by ivo
    ,
    • hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: https://mygithost/repo.git: cannot open git-upload-pack at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:680) at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:174) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:146) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:294) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:157) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: org.eclipse.jgit.api.errors.TransportException: https://mygithost/repo.git: cannot open git-upload-pack at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:678) ... 7 more Caused by: org.eclipse.jgit.errors.TransportException: https://mygithost/repo.git: cannot open git-upload-pack at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:524) at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1138) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130) ... 8 more Caused by: java.net.ConnectException: Connection refused mygithost at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:175) at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:475) ... 13 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,