git ls-remote throws fatal: HTTP request failed

Alfredo M

when jenkins tries this command:

git ls-remote --tags --heads https://github.com/angular/bower-angular-resource.git

it fails and breaks the build, trying the same command in the console got the same error message:

[userr1@DEV-ECM ~]$ git ls-remote --tags --heads https://github.com/angular/bower-angular-resource.git
error:  while accessing https://github.com/angular/bower-angular-resource.git/info/refs

fatal: HTTP request failed

does anybody has got the same problem? any solutions? :(

edit 1:

    [userr1@DEV-ECM ~]$ ping github.com
PING github.com (192.30.253.112) 56(84) bytes of data.
64 bytes from lb-192-30-253-112-iad.github.com (192.30.253.112): icmp_seq=1 ttl=49 time=134 ms
64 bytes from lb-192-30-253-112-iad.github.com (192.30.253.112): icmp_seq=2 ttl=49 time=152 ms
64 bytes from lb-192-30-253-112-iad.github.com (192.30.253.112): icmp_seq=3 ttl=49 time=131 ms

edit 2: trying to access the url from the desktop in firefox got this error:

ssl_error_no_cypher_overlap

Alfredo M

there where two things we did that solved the problem:

  1. updated curl (and libraries that curl depends on),

  2. add the google public dns servers,

I'm not sure the point 2 helped or was relevant but still it was the 2 only changes we did,

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

git: fatal: Could not read from remote repository

From Java

Git, fatal: The remote end hung up unexpectedly

From Java

Pushing to Git returning Error Code 403 fatal: HTTP request failed

From Java

Receiving "fatal: Not a git repository" when attempting to remote add a Git repo

From Java

git remote: Invalid username or password. fatal: Authentication failed - ubuntu

From Dev

Git - fatal: remote origin already exists

From Dev

bower ECMDERR Failed to execute "git ls-remote --tags --heads > [email protected]:mobify/bellows.git", exit code of #128

From Dev

SourceTree - git: fatal: remote error: Repository not found

From Dev

fatal: Authentication failed Git Bash

From Dev

Using tilde or caret with 'git ls-remote'

From Dev

git clone error. Read from socket failed: Connection reset by peer fatal: Could not read from remote repository

From Dev

remote: Invalid username or password, fatal: Authentication failed for

From Dev

bower ECMDERR Failed to execute git ls-remote --tags,

From Dev

git ls-remote hangs when using GIT_SSH

From Dev

git ls-remote returns "fatal: No remote configured to list refs from."

From Dev

Authentication failed on the git remote

From Dev

git: retry if http request failed

From Dev

`git ls-remote` in GitPython

From Dev

Failed to connect to repository : Error performing command: git.exe ls-remote -h https://github.com/szabbas/Sample-programs.git HEAD

From Dev

Fatal: authentication failed for [GIT client]

From Dev

Using tilde or caret with 'git ls-remote'

From Dev

git ls-remote hangs when using GIT_SSH

From Dev

`git remote add` is throwing a fatal error

From Dev

Legacy assembly throws "Request for principal permission failed"

From Dev

error: RPC failed; result=52, HTTP code = 0 fatal: The remote end hung up unexpectedly

From Dev

How to completely silence git ls-remote?

From Dev

$ git push cloud fatal: remote error: Forbidden

From Dev

git throws fatal: unable to access 'https://github.com/user/repo.git': Failed sending HTTP2 data

From Dev

Failed to connect to repository : Error performing command: git ls-remote -h [email protected]

Related Related

  1. 1

    git: fatal: Could not read from remote repository

  2. 2

    Git, fatal: The remote end hung up unexpectedly

  3. 3

    Pushing to Git returning Error Code 403 fatal: HTTP request failed

  4. 4

    Receiving "fatal: Not a git repository" when attempting to remote add a Git repo

  5. 5

    git remote: Invalid username or password. fatal: Authentication failed - ubuntu

  6. 6

    Git - fatal: remote origin already exists

  7. 7

    bower ECMDERR Failed to execute "git ls-remote --tags --heads > [email protected]:mobify/bellows.git", exit code of #128

  8. 8

    SourceTree - git: fatal: remote error: Repository not found

  9. 9

    fatal: Authentication failed Git Bash

  10. 10

    Using tilde or caret with 'git ls-remote'

  11. 11

    git clone error. Read from socket failed: Connection reset by peer fatal: Could not read from remote repository

  12. 12

    remote: Invalid username or password, fatal: Authentication failed for

  13. 13

    bower ECMDERR Failed to execute git ls-remote --tags,

  14. 14

    git ls-remote hangs when using GIT_SSH

  15. 15

    git ls-remote returns "fatal: No remote configured to list refs from."

  16. 16

    Authentication failed on the git remote

  17. 17

    git: retry if http request failed

  18. 18

    `git ls-remote` in GitPython

  19. 19

    Failed to connect to repository : Error performing command: git.exe ls-remote -h https://github.com/szabbas/Sample-programs.git HEAD

  20. 20

    Fatal: authentication failed for [GIT client]

  21. 21

    Using tilde or caret with 'git ls-remote'

  22. 22

    git ls-remote hangs when using GIT_SSH

  23. 23

    `git remote add` is throwing a fatal error

  24. 24

    Legacy assembly throws "Request for principal permission failed"

  25. 25

    error: RPC failed; result=52, HTTP code = 0 fatal: The remote end hung up unexpectedly

  26. 26

    How to completely silence git ls-remote?

  27. 27

    $ git push cloud fatal: remote error: Forbidden

  28. 28

    git throws fatal: unable to access 'https://github.com/user/repo.git': Failed sending HTTP2 data

  29. 29

    Failed to connect to repository : Error performing command: git ls-remote -h [email protected]

HotTag

Archive