Skip to content

Fetch hangs python script over HTTP on Windows, works on Linux. #656

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
josephwsands opened this issue Aug 8, 2017 · 0 comments
Closed

Comments

@josephwsands
Copy link

Hello,

I'm trying to fetch from a remote git repository using the BaseHTTPRequestHandler class of the python http.server library for a build server.  I'm able to do this on a Linux system, but am unable to do so on a Windows system.   My script hangs when trying a git fetch command, whether that's using the Repo type, a subprocess call or a os.system call of git fetch.  This only fails when attempting to fetch over HTTP, I'm able to fetch from this particular repo from the command line or through sourcetree.  Fetch is the only git command that hangs my script, I can return the current commit, view the remote repository, local branches, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant