git "HTTP request failed" in Jenkins

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      No proxy
      https connection with self-signed cert

      When using git via CLI, "git ls-remote -h https://git.abc.com/git/repos/abc.git HEAD" on the jenkins server it works with no issue but when adding the repository in the project configuration, we see the following:

      Failed to connect to repository : Command "ls-remote -h https://git.abc.com/git/repos/abc.git HEAD" returned status code 128:
      stdout:
      stderr: error: while accessing https://git.abc.com/git/repos/abc.git/info/refs
      fatal: HTTP request failed

            Assignee:
            Nicolas De Loof
            Reporter:
            Everard Brown
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: