title: SSLRead() return error -9806/15958)
body: <p>When I try cloning <a href="https://git01.codeplex.com/casablanca" rel="nofollow noreferrer">this</a> repo (link only works when git cloning) I keep getting <code>error: RPC failed; result=56, HTTP code = 200</code>. How would I fix this? I have looked at <a href="https://stackoverflow.com/questions/26197171/git-clone-repository-error-rpc-failed-result-56-http-code-200">this</a> post that tells me to use <code>GIT_CURL_VERBOSE=1</code> to debug it however I cannot see any issues right away.</p>
  
  <p>Here is my log.</p>
  
  <pre><code>Folder=OneDrive;-time=14:41:47: GIT_CURL_VERBOSE=1 git clone https://git01.codeplex.com/casablanca
  Cloning into 'casablanca'...
  * Couldn't find host git01.codeplex.com in the .netrc file; using defaults
  * Hostname was NOT found in DNS cache
  *   Trying 23.96.195.41...
  * Connected to git01.codeplex.com (23.96.195.41) port 443 (#0)
  * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
  * Server certificate: *.codeplex.com
  * Server certificate: MSIT Machine Auth CA 2
  * Server certificate: Microsoft Internet Authority
  * Server certificate: Baltimore CyberTrust Root
  &gt; GET /casablanca/info/refs?service=git-upload-pack HTTP/1.1
  User-Agent: git/2.3.1
  Host: git01.codeplex.com
  Accept: */*
  Accept-Encoding: gzip
  Pragma: no-cache
  
  &lt; HTTP/1.1 200 OK
  &lt; Cache-Control: no-cache, max-age=0, must-revalidate
  &lt; Pragma: no-cache
  &lt; Content-Type: application/x-git-upload-pack-advertisement
  &lt; Expires: Fri, 01 Jan 1980 00:00:00 GMT
  * Server Microsoft-IIS/8.0 is not blacklisted
  &lt; Server: Microsoft-IIS/8.0
  &lt; X-Powered-By: ASP.NET
  &lt; Date: Sun, 08 Mar 2015 14:41:52 GMT
  &lt; Connection: close
  &lt; Content-Length: 1296
  &lt; 
  * Closing connection 0
  * Couldn't find host git01.codeplex.com in the .netrc file; using defaults
  * Hostname was found in DNS cache
  *   Trying 23.96.195.41...
  * Connected to git01.codeplex.com (23.96.195.41) port 443 (#1)
  * SSL re-using session ID
  * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
  * Server certificate: *.codeplex.com
  * Server certificate: MSIT Machine Auth CA 2
  * Server certificate: Microsoft Internet Authority
  * Server certificate: Baltimore CyberTrust Root
  &gt; POST /casablanca/git-upload-pack HTTP/1.1
  User-Agent: git/2.3.1
  Host: git01.codeplex.com
  Accept-Encoding: gzip
  Content-Type: application/x-git-upload-pack-request
  Accept: application/x-git-upload-pack-result
  Content-Length: 890
  
  * upload completely sent off: 890 out of 890 bytes
  &lt; HTTP/1.1 200 OK
  &lt; Cache-Control: no-cache, max-age=0, must-revalidate
  &lt; Pragma: no-cache
  &lt; Content-Type: application/x-git-upload-pack-result
  &lt; Expires: Fri, 01 Jan 1980 00:00:00 GMT
  * Server Microsoft-IIS/8.0 is not blacklisted
  &lt; Server: Microsoft-IIS/8.0
  &lt; X-Powered-By: ASP.NET
  &lt; Date: Sun, 08 Mar 2015 14:41:58 GMT
  &lt; Connection: close
  &lt; 
  remote: Counting objects: 15958, done.
  remote: Compressing objects: 100% (7214/7214), done.
  * SSLRead() return error -9806/15958), 3.93 MiB | 462.00 KiB/s      
  * Closing connection 1
  remote: Total 15958 (delta 11496), reused 12082 (delta 8470)
  error: RPC failed; result=56, HTTP code = 200
  Receiving objects: 100% (15958/15958), 4.12 MiB | 479.00 KiB/s, done.
  Resolving deltas: 100% (11496/11496), done.
  Folder=OneDrive;-time=14:42:09: ls
  Folder=OneDrive;-time=14:42:11: 
  </code></pre>
  
  <p>I have tried <a href="https://stackoverflow.com/questions/22492987/sslread-error-using-git-in-mavericks-os-x-10-9-2">this</a> to fix it but it does not work.</p>
  
  <p>I have also tried updating git via home brew. My git version is <code>git version 2.3.1</code></p>
  
  <p>If you need to know this is on Yosemite. I also have no anti-virus.</p>
  
  <p><strong>Note</strong></p>
  
  <p><code>Folder=OneDrive;-time=14:41:47:</code> is the bash prompt (I changed it).</p>