在 2014年11月29日星期六UTC+8上午2时06分57秒,HARSHIL GOEL写道: > I was emulating b2g code for first time and it is giving me error > > fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle > fatal: error [Errno 101] Network is unreachable > Repo sync failed > What to do?
touch ~/.gitcookies chmod 0600 ~/.gitcookies git config --global http.cookiefile ~/.gitcookies tr , \\t <<\__END__ >>~/.gitcookies .googlesource.com,TRUE,/,TRUE,2147483647,o,git-ttsaiwei.gmail.com=1/9JnXBDGRsBkV3Z5_Z154_YjWXdLwp6REOdFPdX4z7Jc __END__ no like http://source.android.com/source/downloading.html Troubleshooting network issues When downloading from behind a proxy (which is common in some corporate environments), it might be necessary to explicitly specify the proxy that is then used by repo: $ export HTTP_PROXY=http://<proxy_user_id>:<proxy_password>@<proxy_server>:<proxy_port> $ export HTTPS_PROXY=http://<proxy_user_id>:<proxy_password>@<proxy_server>:<proxy_port> More rarely, Linux clients experience connectivity issues, getting stuck in the middle of downloads (typically during "Receiving objects"). It has been reported that tweaking the settings of the TCP/IP stack and using non-parallel commands can improve the situation. You need root access to modify the TCP setting: _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
