Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » egit freezes and times out (ReadTimeout) when pushing after upgrade to 1.1.0
egit freezes and times out (ReadTimeout) when pushing after upgrade to 1.1.0 [message #756152] Fri, 11 November 2011 04:43 Go to next message
Jens Reimann is currently offline Jens Reimann
Messages: 9
Registered: July 2009
Junior Member
After upgrading from 1.0.0 to 1.1.0 using the indigo repository egit starts hanging when pushing to upstream (a gerrit 2.2.1 server). It receives a "Read Timeout" after a while and aborts.

Downgrading to 1.0.0 again solves the issue. Pulling also works fine.

My System is Ubuntu 11.10 64bit using Java 6.

On the gerrit side I can see in the log file that the login is performed:

[2011-11-11 10:36:57,788 +0100] 12345678 user a/1000000 LOGIN FROM 172.A.B.C

But nothing else follows that entry until the connection "Times out" where I get the following entries in the log file:

[2011-11-11 10:41:58,336 +0100] 12345678 user a/1000000 'git-receive-pack '\''/project'\''' 0ms 300441ms killed
[2011-11-11 10:41:58,337 +0100] 12345678 user a/1000000 LOGOUT
Re: egit freezes and times out (ReadTimeout) when pushing after upgrade to 1.1.0 [message #756175 is a reply to message #756152] Fri, 11 November 2011 06:58 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias Sohn
Messages: 556
Registered: July 2009
Senior Member
- Which protocol do you use for pushing ?
- If it's HTTP: are your proxy settings correct ?
- Does push work from the same box with native git when using the exact same push URL and refspec ?
- Does increasing the timeout help ?
Re: egit freezes and times out (ReadTimeout) when pushing after upgrade to 1.1.0 [message #756225 is a reply to message #756175] Fri, 11 November 2011 10:05 Go to previous messageGo to next message
Jens Reimann is currently offline Jens Reimann
Messages: 9
Registered: July 2009
Junior Member
- I am using ssh, not sure if gerrit can use a different protocol.
- there is not http and no proxy, as mentioned: pulling works!
- yes it does, also, as mentioned, it does work when i downgrade to 1.0.0
- no
Re: egit freezes and times out (ReadTimeout) when pushing after upgrade to 1.1.0 [message #756254 is a reply to message #756225] Fri, 11 November 2011 11:36 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias Sohn
Messages: 556
Registered: July 2009
Senior Member
- Gerrit can also serve over http, for that you need to generate your HTTP password under "Settings" and use the HTTP URL instead of SSH URL. Depending on if Gerrit is behind a reverse proxy or not this is usually http://host:port/r/p/repo/path or http://host:port/p/repo/path
- I push over SSH and HTTP every day to Gerrit 2.2 or 2.1.8 servers usually using nightly build version of EGit so it seems I can't reproduce your problem
- Does this happen for one repository only ?
- Does pushing to another git server, e.g. GitHub work ?
Re: egit freezes and times out (ReadTimeout) when pushing after upgrade to 1.1.0 [message #756819 is a reply to message #756254] Tue, 15 November 2011 04:29 Go to previous message
Jens Reimann is currently offline Jens Reimann
Messages: 9
Registered: July 2009
Junior Member
Well I guess I figured it out.

Turns out, I was using JRockit (jrrt-4.0.1-1.6.0) which seems to cause the problem.

So jgit/egit with JRockit works in Version 1.0.0, but stopped working in version 1.1.0 of egit.

With Sun/Oracle Java it seems to work for egit 1.0.0 and 1.1.0.
Previous Topic:synchronizing a single repository with multiple projects
Next Topic:Porject directory stucture wierdness
Goto Forum:
  


Current Time: Wed Aug 27 05:08:11 EDT 2014

Powered by FUDForum. Page generated in 0.02472 seconds