title: Pip cannot clone from https anymore - error 128
body: <p>I have had a project working with the standard https cloning syntax for a while, and just this afternoon it was working fine. Now, I get <code>error code 128</code> every time I try to clone:</p>
  
  <pre><code>Obtaining myproject from git+git://myurl/myuser/myproject.git@master#egg=myproject (from -r requirements.txt (line 28))
    ...
    fatal: unable to connect to myurl:
    myurl[0: x.y.z.q]: errno=Invalid argument
  
  ERROR: Command errored out with exit status 128: git clone -q git://myurl/myuser/myproject.git Check the logs for full command output.
  </code></pre>
  
  <p>I have confirmed I am able to manually clone using </p>
  
  <p><code>git clone -q https://myurl/myuser/myproject.git</code></p>
  
  <p>As well as through SSH. </p>
  
  <p>I am hosting my repositories on gitea, and I haven't found any errors related to this. This is very strange.</p>
  
  <p>Does anyone know what could be going wrong? I even deleted my virtualenv folder and re-instantiated it with no luck, as well as restart my gitea server.</p>