0

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

3
  • The system is offline or can't access github.com for some other reason. This isn't a git issue; it's a networking issue.
    – jayhendren
    May 18, 2018 at 16:07
  • @jayhendren server can ping github.com
    – Alfredo M
    May 18, 2018 at 16:20
  • ping (ICMP) is not the same as HTTPS connections; they're different protocols entirely.
    – jayhendren
    May 18, 2018 at 20:39

1 Answer 1

0

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,

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .