Hey yous,

I'm behind a corporate proxy that filters (almost) everything except HTTP(S) 
ports 80/443. I need to push/clone via HTTPS to my gitorious repository. I 
have configured git to use the proxy, trying various settings for env 
variables and git's http.proxy (it's a local cntlm daemon that redirects to 
the corporate proxy; config attached). The proxy works fine for all other 
applications (browser, apt-get, etc. even Java Applets). However, when I try 
to push any file via HTTPS it fails; I run git push and it takes ages before 
it stops with return code 28 (example attached). Clone through HTTPS works 
at times (about 6 out of 10 times). Unencrypted HTTP works fine 10 out of 
10.

Any suggestions? Maybe some certificate issues caused by the proxy? Is there 
a list where the return codes are explained?

Cheers,
David


david@xcar:~$ git config --global --get http.proxy
https://127.0.0.1:3128
david@xcar:~$ echo $http_proxy
http://127.0.0.1:3128
david@xcar:~$ echo $HTTP_PROXY
http://127.0.0.1:3128
david@xcar:~$ echo $HTTPS_PROXY
http://127.0.0.1:3128
david@xcar:~$ echo $https_proxy
http://127.0.0.1:3128


david@xcar:testbed23$ git commit 
[master (root-commit) 769d285] first commit
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 file.txt
david@xcar:testbed23$ git push origin master
error: Cannot access URL https://git.gitorious.org/testbed23/testbed23.git/, 
return code 28
fatal: git-http-push failed

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to