Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Github Error: -Couldn’t find host github.com in the _netrc file; using defaults

rajeshkumar created the topic: Couldn’t find host github.com in the _netrc file; using defaults
C:\Build_WS\BuildDeployment\Job1\117>git push –verbose

* Couldn’t find host github.com in the _netrc file; using defaults

* Adding handle: conn: 0xc7d838

* Adding handle: send: 0

* Adding handle: recv: 0

* Curl_addHandleToPipeline: length: 1

* – Conn 0 (0xc7d838) send_pipe: 1, recv_pipe: 0

* About to connect() to github.com port 443 (#0)

* Trying 192.30.252.130…

* Connected to github.com (192.30.252.130) port 443 (#0)

* successfully set certificate verify locations:

* CAfile: C:\Program Files (x86)\Git/bin/curl-ca-bundle.crt

CApath: none

* SSL connection using AES128-SHA

* Server certificate:

* subject: businessCategory=Private Organization;

1.3.6.1.4.1.311.60.2.1.3=US; 1.3.6.1.4.1.311.60.2.1.2=Delaware;

serialNumber=5157550; street=548 4th Street; postalCode=94107; C=US;

ST=California; L=San Francisco; O=GitHub, Inc.; CN=github.com

* start date: 2014-04-08 00:00:00 GMT

* expire date: 2016-04-12 12:00:00 GMT

* subjectAltName: github.com matched

* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert

SHA2 Extended Validation Server CA

* SSL certificate verify ok.

> GET /EigenRisk/RACE/info/refs?service=git-receive-pack HTTP/1.1

User-Agent: git/1.9.5.msysgit.0

Host: github.com

Accept: */*

Accept-Encoding: gzip

Pragma: no-cache

< HTTP/1.1 401 Authorization Required

* Server GitHub Babel 2.0 is not blacklisted

< Server: GitHub Babel 2.0

< Content-Type: text/plain

< WWW-Authenticate: Basic realm=”GitHub”

< Connection: close

<

* Closing connection 0

Build was aborted

Aborted by anonymous

Finished: ABORTED
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

rajeshkumar replied the topic: Couldn’t find host github.com in the _netrc file; using defaults
Solution:
Add following line…
git config http.postBuffer 524288000
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x