repo init fails

500 views
Skip to first unread message

prabhukal...@gmail.com

unread,
Mar 11, 2009, 3:07:13 AM3/11/09
to Repo and Gerrit Discussion
[prabhu@sp3 ~]$ repo init -u git://android.git.kernel.org/platform/manifest.git
Getting repo ...
from git://android.git.kernel.org/tools/repo.git
Initialized empty Git repository in /home/prabhu/.repo/repo/.git/
fatal: read error (Connection reset by peer)

Is there any fix for this problem?

Shawn Pearce

unread,
Mar 11, 2009, 10:17:08 AM3/11/09
to repo-d...@googlegroups.com
Either its a transient network problem (try again), or you have a firewall in the way that won't let you use Git's native protocol on port 9418 (punch a hole in the firewall, or use a non-firewalled network).

Dilip M

unread,
Mar 14, 2009, 11:05:19 PM3/14/09
to repo-discuss
2009/3/11 prabhukal...@gmail.com <prabhukal...@gmail.com>:

set GIT_PROXY_COMMAND=~/tunnel.sh

where,
cat ~/tunnel.sh
#!/bin/sh
corkscrew <proxy_server> <proxy_port> android.git.kernel.org 9418 ~/myauth

cat ~/myauth
<proxy_user_name>:<proxy_passwd>

--
BR, Dilip

Reply all
Reply to author
Forward
0 new messages