Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-9210

error: RPC failed; result=52, HTTP code = 0

    XMLWordPrintable

Details

    Description

      Trying to do a

      #!bash
      
      GIT_CURL_VERBOSE=1 git push origin master
      

      from an Ubuntu Server 13.10, I get the following error

      #!bash
      
      root@tracker:/usr/local/bin/gammu# GIT_CURL_VERBOSE=1 git push origin master
      * Couldn't find host bitbucket.org in the .netrc file; using defaults
      * Adding handle: conn: 0x152a070
      * Adding handle: send: 0
      * Adding handle: recv: 0
      * Curl_addHandleToPipeline: length: 1
      * - Conn 0 (0x152a070) send_pipe: 1, recv_pipe: 0
      * About to connect() to bitbucket.org port 443 (#0)
      *   Trying 131.103.20.167...
      * Connected to bitbucket.org (131.103.20.167) port 443 (#0)
      * found 157 certificates in /etc/ssl/certs/ca-certificates.crt
      * 	 server certificate verification OK
      * 	 common name: bitbucket.org (matched)
      * 	 server certificate expiration date OK
      * 	 server certificate activation date OK
      * 	 certificate public key: RSA
      * 	 certificate version: BCLOUD-3
      * 	 subject: 
      * 	 start date: Wed, 05 Mar 2014 00:00:00 GMT
      
      * 	 expire date: Wed, 25 May 2016 12:00:00 GMT
      
      * 	 issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert High Assurance EV CA-1
      * 	 compression: NULL
      * 	 cipher: AES-128-CBC
      * 	 MAC: SHA256
      > GET /blasterspike/gammu.git/info/refs?service=git-receive-pack HTTP/1.1
      User-Agent: git/1.8.3.2
      Host: bitbucket.org
      Accept: */*
      Accept-Encoding: gzip
      Pragma: no-cache
      
      < HTTP/1.1 401 Unauthorized
      * Server nginx/1.5.10 is not blacklisted
      < Server: nginx/1.5.10
      < Date: Thu, 27 Mar 2014 07:10:43 GMT
      < Transfer-Encoding: chunked
      < Connection: keep-alive
      < WWW-Authenticate: Basic realm="Bitbucket.org HTTP"
      < 
      * Ignoring the response-body
      * Connection BCLOUD-0 to host bitbucket.org left intact
      * Issue another request to this URL: &#x27;https://blasterspike@bitbucket.org/blasterspike/gammu.git/info/refs?service=git-receive-pack&#x27;
      * Couldn&#x27;t find host bitbucket.org in the .netrc file; using defaults
      * Found bundle for host bitbucket.org: 0x14f2d20
      * About to connect() to bitbucket.org port 443 (#1)
      *   Trying 131.103.20.167...
      * Adding handle: conn: 0x17d8610
      * Adding handle: send: 0
      * Adding handle: recv: 0
      * Curl_addHandleToPipeline: length: 1
      * - Conn 0 (0x152a070) send_pipe: 0, recv_pipe: 0
      * - Conn 1 (0x17d8610) send_pipe: 1, recv_pipe: 0
      * Connected to bitbucket.org (131.103.20.167) port 443 (#1)
      * found 157 certificates in /etc/ssl/certs/ca-certificates.crt
      * SSL re-using session ID
      * 	 server certificate verification OK
      * 	 common name: bitbucket.org (matched)
      * 	 server certificate expiration date OK
      * 	 server certificate activation date OK
      * 	 certificate public key: RSA
      * 	 certificate version: BCLOUD-3
      * 	 subject: 
      * 	 start date: Wed, 05 Mar 2014 00:00:00 GMT
      
      * 	 expire date: Wed, 25 May 2016 12:00:00 GMT
      
      * 	 issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert High Assurance EV CA-1
      * 	 compression: NULL
      * 	 cipher: AES-128-CBC
      * 	 MAC: SHA256
      * Server auth using Basic with user &#x27;blasterspike&#x27;
      > GET /blasterspike/gammu.git/info/refs?service=git-receive-pack HTTP/1.1
      Authorization: Basic *******************
      User-Agent: git/1.8.3.2
      Host: bitbucket.org
      Accept: */*
      Accept-Encoding: gzip
      Pragma: no-cache
      
      < HTTP/1.1 401 Unauthorized
      * Server nginx/1.5.10 is not blacklisted
      < Server: nginx/1.5.10
      < Date: Thu, 27 Mar 2014 07:10:46 GMT
      < Transfer-Encoding: chunked
      < Connection: keep-alive
      * Authentication problem. Ignoring this.
      < WWW-Authenticate: Basic realm="Bitbucket.org HTTP"
      < 
      * Connection BCLOUD-1 to host bitbucket.org left intact
      Password for &#x27;https://blasterspike@bitbucket.org&#x27;: 
      * Couldn&#x27;t find host bitbucket.org in the .netrc file; using defaults
      * Found bundle for host bitbucket.org: 0x14f2d20
      * Connection 0 seems to be dead!
      * Closing connection 0
      * Connection 1 seems to be dead!
      * Closing connection 1
      * Adding handle: conn: 0x17ca980
      * Adding handle: send: 0
      * Adding handle: recv: 0
      * Curl_addHandleToPipeline: length: 1
      * - Conn 2 (0x17ca980) send_pipe: 1, recv_pipe: 0
      * About to connect() to bitbucket.org port 443 (#2)
      *   Trying 131.103.20.168...
      * Connected to bitbucket.org (131.103.20.168) port 443 (#2)
      * found 157 certificates in /etc/ssl/certs/ca-certificates.crt
      * SSL re-using session ID
      * 	 server certificate verification OK
      * 	 common name: bitbucket.org (matched)
      * 	 server certificate expiration date OK
      * 	 server certificate activation date OK
      * 	 certificate public key: RSA
      * 	 certificate version: BCLOUD-3
      * 	 subject: 
      * 	 start date: Wed, 05 Mar 2014 00:00:00 GMT
      
      * 	 expire date: Wed, 25 May 2016 12:00:00 GMT
      
      * 	 issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert High Assurance EV CA-1
      * 	 compression: NULL
      * 	 cipher: AES-128-CBC
      * 	 MAC: SHA256
      * Server auth using Basic with user &#x27;blasterspike&#x27;
      > GET /blasterspike/gammu.git/info/refs?service=git-receive-pack HTTP/1.1
      Authorization: Basic *******************
      User-Agent: git/1.8.3.2
      Host: bitbucket.org
      Accept: */*
      Accept-Encoding: gzip
      Pragma: no-cache
      
      < HTTP/1.1 200 OK
      * Server nginx/1.5.10 is not blacklisted
      < Server: nginx/1.5.10
      < Date: Thu, 27 Mar 2014 07:12:19 GMT
      < Content-Type: application/x-git-receive-pack-advertisement
      < Transfer-Encoding: chunked
      < Connection: keep-alive
      < 
      * Connection BCLOUD-2 to host bitbucket.org left intact
      Counting objects: 13, done.
      Compressing objects: 100% (12/12), done.
      Writing objects: 100% (12/12), 7.54 KiB | 0 bytes/s, done.
      Total 12 (delta 4), reused 0 (delta 0)
      * Couldn&#x27;t find host bitbucket.org in the .netrc file; using defaults
      * Adding handle: conn: 0x1ab6170
      * Adding handle: send: 0
      * Adding handle: recv: 0
      * Curl_addHandleToPipeline: length: 1
      * - Conn 3 (0x1ab6170) send_pipe: 1, recv_pipe: 0
      * About to connect() to bitbucket.org port 443 (#3)
      *   Trying 131.103.20.167...
      * Connected to bitbucket.org (131.103.20.167) port 443 (#3)
      * found 157 certificates in /etc/ssl/certs/ca-certificates.crt
      * SSL re-using session ID
      * 	 server certificate verification OK
      * 	 common name: bitbucket.org (matched)
      * 	 server certificate expiration date OK
      * 	 server certificate activation date OK
      * 	 certificate public key: RSA
      * 	 certificate version: BCLOUD-3
      * 	 subject: 
      * 	 start date: Wed, 05 Mar 2014 00:00:00 GMT
      
      * 	 expire date: Wed, 25 May 2016 12:00:00 GMT
      
      * 	 issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert High Assurance EV CA-1
      * 	 compression: NULL
      * 	 cipher: AES-128-CBC
      * 	 MAC: SHA256
      * Server auth using Basic with user &#x27;blasterspike&#x27;
      > POST /blasterspike/gammu.git/git-receive-pack HTTP/1.1
      Authorization: Basic *******************
      User-Agent: git/1.8.3.2
      Host: bitbucket.org
      Accept-Encoding: gzip
      Content-Type: application/x-git-receive-pack-request
      Accept: application/x-git-receive-pack-result
      Content-Length: 7880
      
      * upload completely sent off: 7880 out of 7880 bytes
      * Empty reply from server
      * Connection BCLOUD-3 to host bitbucket.org left intact
      error: RPC failed; result=52, HTTP code = 0
      fatal: The remote end hung up unexpectedly
      fatal: The remote end hung up unexpectedly
      Everything up-to-date
      root@tracker:/usr/local/bin/gammu#
      

      After

      #!bash
      
      * upload completely sent off: 7880 out of 7880 bytes
      

      it hangs for a while and then it returns the error.
      I tried also with

      #!bash
      
      GIT_TRACE=1 git push origin master
      

      but I don't get any useful output.

      I have tried also with

      #!bash
      
      git config http.postBuffer 524288000
      

      but I get the same error.

      Please let me know if I can debug any more.
      I would like to used this git repository using https instead of SSH.

      Regards

      Massimo

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            9d5dd4fba48b blasterspike
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: