This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

is anything wrong with your repo

hi,

there is something wrong with repo. i got the below issue.

administrator@Lenovo:~$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:04:00 --:--:--     0curl: (7) Failed to connect to 2404:6800:4008:c01::5d: Network is unreachable

but it could work several weeks ago.

do u meet it?

BR

Younger

  • Hi, Su,

    Could you offer more infomation about issue you meet now?

  • i have downloaded the repo, but still have some problem. when i typed

    repo init -u git://git.omapzoom.org/platform/omapmanifest.git -b 27.x -m RLS4AI.1.4_IcecreamSandwich.xml

    sometimes it issue

    fatal: cannot make /home/administrator/Android/4AI.1.4/mydroid/.repo/repo directory: File exists

    sometimes it issue

    Traceback (most recent call last):
      File "/home/administrator/bin/repo", line 710, in <module>
        main(sys.argv[1:])
      File "/home/administrator/bin/repo", line 677, in main
        _Init(args)
      File "/home/administrator/bin/repo", line 206, in _Init
        _Clone(url, dst, opt.quiet)
      File "/home/administrator/bin/repo", line 456, in _Clone
        if _DownloadBundle(url, local, quiet):
      File "/home/administrator/bin/repo", line 395, in _DownloadBundle
        r = urllib2.urlopen(url)
      File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
        return _opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 406, in open
        response = meth(req, response)
      File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python2.7/urllib2.py", line 438, in error
        result = self._call_chain(*args)
      File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
        return self.parent.open(new, timeout=req.timeout)
      File "/usr/lib/python2.7/urllib2.py", line 400, in open
        response = self._open(req, data)
      File "/usr/lib/python2.7/urllib2.py", line 418, in _open
        '_open', req)
      File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
        return self.do_open(httplib.HTTPConnection, req)
      File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open
        r = h.getresponse(buffering=True)
      File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
        response.begin()
      File "/usr/lib/python2.7/httplib.py", line 407, in begin
        version, status, reason = self._read_status()
      File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
        line = self.fp.readline()
      File "/usr/lib/python2.7/socket.py", line 447, in readline
        data = self._sock.recv(self._rbufsize)
    socket.error: [Errno 104] Connection reset by peer

    what's wrong?

    BR

    Younger

  • Younger,

    Are you having issues with google or/and omapzoom repos?. Are you behind a proxy?, because if that is the case you have to configure the tools to communicate with the proxy.

  • Hi, Israel

    i  want to confirm whether the servicer of repo is working fine. the repo worked fine in my PC before. but recently it could not work.

    BR

    Younger

  • Hi Younger,

    It is working, but the initiall error you posted was about downloading repo tool from google, you got an error downloading that tool, then in another post you are having problems downloading code from omapzoom site, so that makes me think that something have change in your network or your configuration. Please check that.

  • Hi, Israel,

    Have you ever meet similar problem before? You'd better offer more screenshot so that more and more poeple could master it easily.

  • I do if I don't set the proxy, ie when I am out of office I can download repo tool by using curl, but if I am at office I have to specify a proxy using the flag --proxy <proxyname:proxyport>

    and when using repo tool to download android just export the environment variable https_proxy=<proxyname:proxyport>

    That should be enough, but in a network without proxy I see it is working.