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