title: Not able to clone using dulwich python
body: <p>I am trying clone a repository from a remote gitlab server using the python dulwich module. However I am getting  the following error :</p>
  
  <pre><code>socket.error: [Errno 10061] No connection could be made because the target machine actively refused it.
  </code></pre>
  
  <p>There is no firewall blocking the connection because I am easily able to clone using ssh.</p>
  
  <p>This is the code that I had used.</p>
  
  <pre><code>from dulwich import porcelain
  porcelain.clone(url, path)
  </code></pre>