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

YA error: RPC failed; result=22, HTTP code = 0

    XMLWordPrintable

Details

    Description

      Hi there,

      I am getting this error when I try to push onto a repo that I have pulled/pushed from successfully previously.

      I found this: https://confluence.atlassian.com/pages/viewpage.action?pageId=301663379 and it said the error should be reported, so here is the report (even though I have a strong suspicion that it is operator error of some kind).

      $git config --global -l
      user.name=insanityseanboy
      user.email=insanityseanboy@gmail.com
      http.proxy=http://wwwproxy.unimelb.edu.au:8000/\\
      https.proxy=https://wwwproxy.unimelb.edu.au:8000/

      $git remote -v show
      origin https://insanityseanboy@bitbucket.org/yianniphillipou/sisn.git (fetch)
      origin https://insanityseanboy@bitbucket.org/yianniphillipou/sisn.git (push)

      $GIT_CURL_VERBOSE=1 git push
      Password:

      • Couldn't find host bitbucket.org in the .netrc file; using defaults
      • About to connect() to proxy wwwproxy.unimelb.edu.au port 8000 (#0)
      • Trying 128.250.5.61... * Connected to wwwproxy.unimelb.edu.au (128.250.5.61) port 8000 (#0)
      • Establish HTTP proxy tunnel to bitbucket.org:443

      CONNECT bitbucket.org:443 HTTP/1.1

      Host: bitbucket.org:443
      User-Agent: git/1.7.1
      Proxy-Connection: Keep-Alive
      Pragma: no-cache

      < HTTP/1.0 200 Connection established
      <

      • Proxy replied OK to CONNECT request
      • Initializing NSS with certpath: sql:/etc/pki/nssdb
      • CAfile: /etc/pki/tls/certs/ca-bundle.crt
        CApath: none
      • SSL connection using TLS_RSA_WITH_AES_256_CBC_SHA
      • Server certificate:
      •   subject: CN=bitbucket.org,O="Atlassian, Inc.",L=San Francisco,ST=CA,C=US,postalCode=94110,STREET=375 Alabama St Ste 325,serialNumber=3928449,incorporationState=Delaware,incorporationCountry=US,businessCategory=Private Organization
        
      •   start date: Jan 03 00:00:00 2012 GMT
        
      •   expire date: Mar 12 12:00:00 2014 GMT
        
      •   common name: bitbucket.org
        
      •   issuer: CN=DigiCert High Assurance EV CA-1,OU=www.digicert.com,O=DigiCert Inc,C=US
        
      • Connected to wwwproxy.unimelb.edu.au (128.250.5.61) port 8000 (#0)

      GET /yianniphillipou/sisn.git/info/refs?service=git-receive-pack HTTP/1.1

      User-Agent: git/1.7.1
      Host: bitbucket.org
      Accept: /
      Pragma: no-cache

      < HTTP/1.1 401 Unauthorized
      < Server: nginx/1.0.6
      < Date: Mon, 08 Oct 2012 02:52:57 GMT
      < Transfer-Encoding: chunked
      < WWW-Authenticate: Digest realm="Bitbucket.org HTTP", nonce="bb7a2fc97418831fe922978f42c5dfa3", qop="auth", opaque="e2fb18d95c015e319ea81bc6ddfa60a6"
      <

      GET /yianniphillipou/sisn.git/info/refs?service=git-receive-pack HTTP/1.1

      Authorization: Digest username="insanityseanboy", realm="Bitbucket.org HTTP", nonce="bb7a2fc97418831fe922978f42c5dfa3", uri="/yianniphillipou/sisn.git/info/refs?service=git-receive-pack", cnonce="NjY1OTQx", nc=00000001, qop="auth", response="da42cc78e9fd8b5b9e3cfaba188c158c", opaque="e2fb18d95c015e319ea81bc6ddfa60a6"
      User-Agent: git/1.7.1
      Host: bitbucket.org
      Accept: /
      Pragma: no-cache

      < HTTP/1.1 200 OK
      < Server: nginx/1.0.6
      < Date: Mon, 08 Oct 2012 02:52:57 GMT
      < Content-Type: application/x-git-receive-pack-advertisement
      < Transfer-Encoding: chunked
      <

      • Expire cleared
      • Connection BCLOUD-0 to host wwwproxy.unimelb.edu.au left intact
        Counting objects: 23, done.
        Compressing objects: 100% (18/18), done.
      • Couldn't find host bitbucket.org in the .netrc file; using defaults
      • About to connect() to proxy wwwproxy.unimelb.edu.au port 8000 (#0)
      • Trying 128.250.5.61... * connected
      • Connected to wwwproxy.unimelb.edu.au (128.250.5.61) port 8000 (#0)
      • Establish HTTP proxy tunnel to bitbucket.org:443
      • Server auth using Digest with user 'insanityseanboy'

      CONNECT bitbucket.org:443 HTTP/1.1

      Host: bitbucket.org:443
      User-Agent: git/1.7.1
      Proxy-Connection: Keep-Alive
      Content-Type: application/x-git-receive-pack-request
      Accept: application/x-git-receive-pack-result
      Expect: 100-continue
      Transfer-Encoding: chunked

      < HTTP/1.0 501 Not Implemented
      < Server: squid/2.6.STABLE21
      < Date: Mon, 08 Oct 2012 02:52:59 GMT
      < Content-Type: text/html
      < Content-Length: 1081
      < Expires: Mon, 08 Oct 2012 02:52:59 GMT
      < X-Squid-Error: ERR_UNSUP_REQ 0
      < X-Cache: MISS from wwwproxy.unimelb.edu.au
      < X-Cache-Lookup: NONE from wwwproxy.unimelb.edu.au:8000
      < Via: 1.0 tom.its.unimelb.edu.au:8000 (squid/2.6.STABLE21)
      < Proxy-Connection: close
      <

      • The requested URL returned error: 501
      • Closing connection BCLOUD-0
        error: RPC failed; result=22, HTTP code = 0
        Writing objects: 100% (21/21), 9.83 MiB | 1.02 MiB/s, done.
        Total 21 (delta 3), reused 0 (delta 0)
        ^C

      "401 Unauthorized" - I checked that I had the DigiCert root cert in /etc/ssl/certs and I do.
      "HTTP/1.0 501 Not Implemented" - Hmm should this be HTTPS?

      I can't pull via SSH through my uni's proxy (with this repo or any other).

      Attachments

        Activity

          People

            mbertrand aMarcus (Inactive)
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: