title: Bitbucket - git push fails. Packet corrupt | Broken pipe
body: <p>A strange problem suddenly occurred in most of my repos. I used to push normaly via SSH to Bitbucket, different types of files (.html, .pdf, .png, .js, .css, etc.) without any problems.</p>
  
  <p>Few days ago I started getting the following error when trying to push:</p>
  
  <blockquote>
    <p>Received disconnect from 104.192.143.3: 2: Packet corrupt<br>
    fatal: The remote end hung up unexpectedly</p>
  </blockquote>
  
  <p>It seems to happen when images or pdf files are included in my commits. For minor changes in text files, I can push without any problem.</p>
  
  <p>I tried to push via HTTPS and got the following error:</p>
  
  <blockquote>
    <p>error: RPC failed; result=56, HTTP code = 0<br>
    fatal: The remote end hung up unexpectedly.</p>
  </blockquote>
  
  <p>Tried to increase  the httpPostBuffer:</p>
  
  <blockquote>
    <p>(git config http.postBuffer 524288000)<br></p>
  </blockquote>
  
  <p>but with no success. Tried to create .gitattributes file for proper handling of files and then removed cached index, again with no success.</p>
  
  <p>I am working on Ubuntu 14.04 LTS. Git version is 1.9.1.</p>
  
  <p>Tried to reproduce the error on a Windows machine, by cloning the repo and making similar changes, but  I wasn't able, as it pushed normally.</p>
  
  <p>I am stuck.</p>
  
  <p>Any help aprreciated.</p>
  
  <p>Thanks in advance,<br>
  George Georgopoulos</p>