repo sync error

496 views
Skip to first unread message

saikiran

unread,
Feb 29, 2012, 6:59:38 AM2/29/12
to repo-d...@googlegroups.com
hi,

 got below error when trying to do repo sync..

any idea on below issue.

Thanks in advance...


Fetching projects:   2% (5/241)  Exception in thread Thread-7:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/kiran/Android_Source/.repo/repo/subcmds/sync.py", line 186, in _FetchHelper
    current_branch_only=opt.current_branch_only)
  File "/home/kiran/Android_Source/.repo/repo/project.py", line 925, in Sync_NetworkHalf
    if alt_dir is None and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/home/kiran/Android_Source/.repo/repo/project.py", line 1462, in _ApplyCloneBundle
    exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/home/kiran/Android_Source/.repo/repo/project.py", line 1524, in _FetchBundle
    raise DownloadError('HTTP %s%s' % (e.code, msg))
DownloadError: HTTP 403 (Forbidden: Request forbidden -- authorization will not help)

Fetching projects:   3% (8/241)  Exception in thread Thread-8:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/kiran/Android_Source/.repo/repo/subcmds/sync.py", line 186, in _FetchHelper
    current_branch_only=opt.current_branch_only)
  File "/home/kiran/Android_Source/.repo/repo/project.py", line 925, in Sync_NetworkHalf
    if alt_dir is None and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/home/kiran/Android_Source/.repo/repo/project.py", line 1462, in _ApplyCloneBundle
    exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/home/kiran/Android_Source/.repo/repo/project.py", line 1524, in _FetchBundle
    raise DownloadError('HTTP %s%s' % (e.code, msg))
DownloadError: HTTP 403 (Forbidden: Request forbidden -- authorization will not help)

Exception in thread Thread-9:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/kiran/Android_Source/.repo/repo/subcmds/sync.py", line 186, in _FetchHelper
    current_branch_only=opt.current_branch_only)
  File "/home/kiran/Android_Source/.repo/repo/project.py", line 925, in Sync_NetworkHalf
    if alt_dir is None and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/home/kiran/Android_Source/.repo/repo/project.py", line 1462, in _ApplyCloneBundle
    exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/home/kiran/Android_Source/.repo/repo/project.py", line 1524, in _FetchBundle
    raise DownloadError('HTTP %s%s' % (e.code, msg))
DownloadError: HTTP 403 (Forbidden: Request forbidden -- authorization will not help)


error: Exited sync due to fetch errors

Martin Fick

unread,
Feb 29, 2012, 12:57:05 PM2/29/12
to repo-d...@googlegroups.com, saikiran
On Wednesday, February 29, 2012 04:59:38 am saikiran wrote:
> hi,
>
> got below error when trying to do repo sync..
>
> any idea on below issue.

I see:

> raise DownloadError('HTTP %s%s' % (e.code, msg))
> DownloadError: HTTP 403 (Forbidden: Request forbidden --
> authorization will not help)

...


> raise DownloadError('HTTP %s%s' % (e.code, msg))
> DownloadError: HTTP 403 (Forbidden: Request forbidden --
> authorization will not help)

...


> raise DownloadError('HTTP %s%s' % (e.code, msg))
> DownloadError: HTTP 403 (Forbidden: Request forbidden --
> authorization will not help)

I suspect that is your hint. Do you have permissions to do
what you are trying to do from your server?

-Martin


--
Employee of Qualcomm Innovation Center, Inc. which is a
member of Code Aurora Forum

Jean-Baptiste Queru

unread,
Feb 29, 2012, 1:03:25 PM2/29/12
to saikiran, repo-d...@googlegroups.com
(insert here standard cross-post grumble).

We've been seeing that for people being certain http proxies, that
have a hard time dealing with the size of the AOSP repositories,
especially during parallel operations. In some cases, running "repo
sync -j1" helps.

JBQ

> --
> To unsubscribe, email repo-discuss...@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

saikiran

unread,
Mar 1, 2012, 12:14:29 AM3/1/12
to Repo and Gerrit Discussion
Hi JBQ,

thnaks for reply and i tried with "repo sync -j1" and got below error

Fetching projects: 2% (5/241) error: HTTP 403 (Forbidden: Request
forbidden -- authorization will not help)



> > More info athttp://groups.google.com/group/repo-discuss?hl=en

Shawn Pearce

unread,
Mar 1, 2012, 10:23:42 AM3/1/12
to saikiran, Repo and Gerrit Discussion
On Wed, Feb 29, 2012 at 21:14, saikiran <saikira...@gmail.com> wrote:
> thnaks for reply and i tried with "repo sync -j1" and got below error
>
> Fetching projects:   2% (5/241)  error: HTTP 403 (Forbidden: Request
> forbidden -- authorization will not help)

Try with `repo --trace sync -j1` to get more detail about what repo
was doing that failed here.

Do you have an HTTP proxy in the way? Does the proxy require
authentication first?

saikiran

unread,
Mar 2, 2012, 12:07:58 AM3/2/12
to Repo and Gerrit Discussion
thanks Everyone.

resolved the problem after getting permissions form my proxy server...



On Mar 1, 8:23 pm, Shawn Pearce <s...@google.com> wrote:
Reply all
Reply to author
Forward
0 new messages