Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » git ssh push hangs with eclipse and tfs(git ssh push hangs with eclipse and team foundation server)
git ssh push hangs with eclipse and tfs [message #1746379] Thu, 27 October 2016 19:51 Go to next message
Abraham Farris is currently offline Abraham FarrisFriend
Messages: 6
Registered: October 2016
Junior Member
Has anyone had success using eclipse and ssh/git with tfs? I have a local copy of tfs 2015 update 3 installed on my windows 7 laptop. The native git client works fine.

I can clone easily enough. However whenever I do a remote push, I timeout.

I have tried with many configurations with the same results - Mac, Linux, Windows. I also setup a cloud account on visualstudio.com - same results. I have compiled the jgit command line tool that egit is based upon - https://eclipse.org/jgit/ - same timeout issue.

It seems that tfs never responds after the push command. Any help or tracing advice is appreciated.

I have posted this issue on the microsoft forums, I am posting here to see if anyone has some insight.

Thanks
Re: git ssh push hangs with eclipse and tfs [message #1746404 is a reply to message #1746379] Fri, 28 October 2016 09:01 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 924
Registered: July 2009
Senior Member
You may try to trace the conversation over HTTP using mitmproxy [1] to see what's going over the wire. If you are pushing over HTTPS read [2].

[1] https://mitmproxy.org/
[2] http://docs.mitmproxy.org/en/latest/certinstall.html
Re: git ssh push hangs with eclipse and tfs [message #1746425 is a reply to message #1746404] Fri, 28 October 2016 13:34 Go to previous messageGo to next message
Abraham Farris is currently offline Abraham FarrisFriend
Messages: 6
Registered: October 2016
Junior Member
There isn't an issue with http. In fact that's what I am using for a workaround.

I couldn't really find a ssh proxy.

Here is a video of the whole process:
https://www.youtube.com/watch?v=irv6AAyowxw
Re: git ssh push hangs with eclipse and tfs [message #1746427 is a reply to message #1746425] Fri, 28 October 2016 14:04 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 924
Registered: July 2009
Senior Member
Maybe you are spoiled by https://bugs.eclipse.org/bugs/show_bug.cgi?id=501000.
Neon.1 has a broken market place client breaking EGit authentication and maybe also proxy settings.
Try to update the marketplace client :
Help -> Install New Software
Work with: http://download.eclipse.org/mpc/releases/1.5.1a
Select the "EPP Marketplace Client"
Proceed with defaults

or try with Neon.1a [1] which contains a fix for the marketplace client fixing bug 501000

[1] https://www.eclipse.org/downloads/eclipse-packages/
Re: git ssh push hangs with eclipse and tfs [message #1746431 is a reply to message #1746427] Fri, 28 October 2016 14:45 Go to previous messageGo to next message
Abraham Farris is currently offline Abraham FarrisFriend
Messages: 6
Registered: October 2016
Junior Member
I tried the update, same timeout. Not sure if Egit is the issue. The issue may be in jgit?
I compiled jgit and get the same timeout issue.
I put in some sysouts in the code to try to pinpoint the issue.

index.php/fa/27447/0/

index.php/fa/27450/0/

index.php/fa/27448/0/
  • Attachment: command.png
    (Size: 10.82KB, Downloaded 289 times)
  • Attachment: code.png
    (Size: 43.21KB, Downloaded 307 times)
  • Attachment: jgit push.log
    (Size: 4.79KB, Downloaded 24 times)
  • Attachment: command result.png
    (Size: 5.87KB, Downloaded 303 times)

[Updated on: Fri, 28 October 2016 14:48]

Report message to a moderator

Re: git ssh push hangs with eclipse and tfs [message #1749104 is a reply to message #1746431] Thu, 01 December 2016 21:23 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 924
Registered: July 2009
Senior Member
I have no TFS server at hand so I can't try if I can reproduce your problem.

Can you create some thread dumps when the push hangs, this should give us a hint
where the push is stuck.

If you want to try debugging the problem you may use [1] to setup an Eclipse installation for debugging JGit/EGit
so you can try yourself to find the root cause of the problem.

[1] https://wiki.eclipse.org/EGit/Contributor_Guide#Automated_Developer_Setup
Re: git ssh push hangs with eclipse and tfs [message #1749355 is a reply to message #1749104] Mon, 05 December 2016 19:24 Go to previous messageGo to next message
Abraham Farris is currently offline Abraham FarrisFriend
Messages: 6
Registered: October 2016
Junior Member
thread and heap dump attached.
  • Attachment: dump.bin
    (Size: 6.24MB, Downloaded 16 times)
  • Attachment: threaddumps.log
    (Size: 10.70KB, Downloaded 19 times)
Re: git ssh push hangs with eclipse and tfs [message #1749682 is a reply to message #1746379] Fri, 09 December 2016 14:36 Go to previous messageGo to next message
Dmitry Neverov is currently offline Dmitry NeverovFriend
Messages: 3
Registered: December 2016
Junior Member
I've contacted MS support, this is their reply:

"I have checked with the product team on this issue. This issue seems to be a known issue at this moment. They are going to fix this in another 2 weeks."
Re: git ssh push hangs with eclipse and tfs [message #1750449 is a reply to message #1746379] Wed, 21 December 2016 08:20 Go to previous messageGo to next message
Dmitry Neverov is currently offline Dmitry NeverovFriend
Messages: 3
Registered: December 2016
Junior Member
Another email from MS:

"I received an update from the development team that they have fixed the issue. But it is going to be deployed in the first week of January due to a larger fix."
Re: git ssh push hangs with eclipse and tfs [message #1750489 is a reply to message #1750449] Wed, 21 December 2016 16:25 Go to previous messageGo to next message
Abraham Farris is currently offline Abraham FarrisFriend
Messages: 6
Registered: October 2016
Junior Member
Thank you for the update
Re: git ssh push hangs with eclipse and tfs [message #1752492 is a reply to message #1746379] Tue, 24 January 2017 13:29 Go to previous messageGo to next message
Dmitry Neverov is currently offline Dmitry NeverovFriend
Messages: 3
Registered: December 2016
Junior Member
The fix was deployed to VSO, so now push should work fine.
Re: git ssh push hangs with eclipse and tfs [message #1752735 is a reply to message #1752492] Thu, 26 January 2017 16:31 Go to previous message
Abraham Farris is currently offline Abraham FarrisFriend
Messages: 6
Registered: October 2016
Junior Member
it works now.
Previous Topic:SSH proxy connection with JGit library
Next Topic:Commits pushed to bitbucket have wrong userid
Goto Forum:
  


Current Time: Mon May 29 17:19:41 GMT 2017

Powered by FUDForum. Page generated in 0.04231 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software