I am trying to clone a github repository using following GitPython code :
import git
from git import *
git.Git().clone("...:mitx/content-mit-1690r.git") or Repo.clone_from('.../content-mit-1690r.git', 'd:/edx/content-mit-1690r')
This is a private repository and I have created a SSH tunneling using SSH keys. I am able to clone this Repository using the same code when executing it using python interpreter through windows command prompt.
But when I am using the same code in a .py(python file) and executing the file gives following error :
The proxy server received an invalid
response from an upstream server.
The proxy server could not handle the request GET /courses/aeronautics-and-astronautics/16-16-09-trial-spring-2012/index.htm.
Reason: Error reading from remote server
To resolve this error we made following changes in http.conf file :
Proxyrequests on
ProxyTimeout 2000
ProxyBadHeader Ignore
After these changes we stopped receiving 502 Proxy error, but still we cannot clone the repository and now we are not getting any other error message.
As there is no error message now I cannot figure out the issue behind this. I have an assumption do I need to create new SSh keys which the Python will use to connect to the Github server?
Please suggest how should I look into it.
--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.