Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] egit.eclipse.org now running smart HTTP

Matthias Sohn <matthias.sohn@xxxxxxxxxxxxxx> wrote:
> 2010/1/19 Shawn O. Pearce <spearce@xxxxxxxxxxx>
> >
> > Can you retry with the enviroment variable GIT_CURL_VERBOSE=1 ?
> 
> behind firewall using proxy :
> 
> d029788@WDFN00200862A /c/tmp
> $ git clone http://egit.eclipse.org/r/p/jgit
> Initialized empty Git repository in c:/tmp/jgit/.git/
> * Couldn't find host egit.eclipse.org in the _netrc file; using defaults
> * About to connect() to proxy proxy port 8080 (#0)
> *   Trying 147.204.6.18... * Connected to proxy (147.204.6.18) port 8080
> (#0)
> > GET http://egit.eclipse.org/r/p/jgit/info/refs HTTP/1.1
> User-Agent: git/1.6.5.1.1366.g8ed9
> Host: egit.eclipse.org
> Accept: */*
> Proxy-Connection: Keep-Alive
> Pragma: no-cache
> 
> * The requested URL returned error: 403
> * Closing connection #0
> error: The requested URL returned error: 403 while accessing
> http://egit.eclipse.org/r/p/jgit/info/refs

Your Git version is too old.  You need to be using 1.6.6 or later,
which has the smart HTTP client implementation.  You are trying to
use a pre-1.6.6 build that is based on 1.6.5.1, and it lacks the
smart HTTP support.

Currently Gerrit is configured to only support smart HTTP.  It
won't fall back to dumb HTTP if the client is dumb, instead it
kicks back this 403 error.

I actually have to do some code changes to enable dumb HTTP support,
Gerrit Code Review configures JGit to completely disable the dumb
support in all projects.

-- 
Shawn.


Back to the top