Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » egit clone throws exception(authentication not supported exception at clone)
egit clone throws exception [message #1826708] Wed, 29 April 2020 10:10 Go to next message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 24
Registered: July 2018
Junior Member
Hello together

I have suddenly the problem, that egit throws a "Authentication not supportet" - exception at cloning repositories. I attached the full exception stack trace below.

The full story is a litte bit longer :-)

A colleague of me asked me why suddenly egit is not able to fetch anymode (same exception) although a push was still possible.

Since we didn't find out what was the problem on the current eclipse setup we tried to setup a new eclipse. We do this with oomph which is configured to clone the needed repository during the setup tasks (only once for sure :-))
This worked fine during the several last 2 or 3 years.
This time we tried again and got the exception.
I tried to setup eclipse 2020-06, 2020-03 and 2019-12.
Every time the same exception.

I tried also with 3 different computers at our company everytime the same exception at cloning.
The same exception occurs also if I try to clone manually the repo with the eclipse instance that was running fine or with one newly installed (to get oomph out of the possible mistake source).
I also tried to clone the repo with a linux computer on shell which worked fine and on windows with "git for Windows" which worked also without an exception.

The repository is located outside our company therefore it was possible to clone from at home (to get around company network) which worked properly as expected (with egit).

Therefore my conclusion is: It is egit together with the company network.
Our IT departmend runs a content proxy and an anti virus software that hooks in.
To get egit initially working I had to tell java about the proxy certificate (it is inside javas trust store now). But that runs fine for the last couple of years now.
Certificate is still valid (certificate termination date is in 2024) and oomph is able to download updates, therefore Java has proincipal acces to the internet.
Passwords didn't change in the meantime and proxy accepts windows authentification at least for the repository URL. Therefore now extra password entry has to be done.
Proxy is configured correct (as I told already it was working in the past).

IT department told me they didn't change anything. At least they are not aware of any changes.

Question is now:
What does this exception really mean?
Are there any changes to egit that can cause this exception?

I am really thankfull for any hint that helps to solve out or that gets me a better understanding of what really happens.
I don't tell that I assume a bug. But if I understand better than I can go to IT department and we will maybe lucky to find the
source of error.

Many thanks in advance for your help!

Best regards

Sebastian

P.s.: with ----- I removed parts of the URL ...

Exception stack trace:

Cloning Git repo https://------/pp-dfw.git to C:\Users\hei2bk\ppdfw_master_3\git\pp-dfw
java.lang.Exception: org.eclipse.jgit.api.errors.TransportException: https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git: authentication not supported
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:907)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3770)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5136)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5130)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5128)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3761)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3736)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3629)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:585)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:711)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.eclipse.jgit.api.errors.TransportException: https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git: authentication not supported
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:222)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:292)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:176)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.cloneRepository(GitCloneTaskImpl.java:969)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:807)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3770)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5136)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5130)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5128)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3761)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3736)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3629)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:585)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:711)
... 1 more
Caused by: org.eclipse.jgit.errors.TransportException: https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git: authentication not supported
at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:372)
at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:1292)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:295)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:286)
at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:233)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:130)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:91)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1260)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:211)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:292)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:176)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.cloneRepository(GitCloneTaskImpl.java:969)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:807)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3770)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5136)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5130)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5128)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3761)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3736)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3629)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:585)
... 2 more
Caused by: org.eclipse.jgit.errors.TransportException: https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git: authentication not supported
at org.eclipse.jgit.transport.TransportHttp$Service.sendRequest(TransportHttp.java:1442)
at org.eclipse.jgit.transport.TransportHttp$MultiRequestService.execute(TransportHttp.java:1630)
at org.eclipse.jgit.transport.TransportHttp$Service$HttpExecuteStream.read(TransportHttp.java:1560)
at org.eclipse.jgit.util.io.UnionInputStream.read(UnionInputStream.java:116)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at org.eclipse.jgit.util.io.TimeoutInputStream.read(TimeoutInputStream.java:90)
at org.eclipse.jgit.util.IO.readFully(IO.java:201)
at org.eclipse.jgit.transport.PacketLineIn.readLength(PacketLineIn.java:284)
at org.eclipse.jgit.transport.PacketLineIn.readString(PacketLineIn.java:148)
at org.eclipse.jgit.transport.PacketLineIn.readACK(PacketLineIn.java:107)
at org.eclipse.jgit.transport.BasePackFetchConnection.negotiate(BasePackFetchConnection.java:683)
at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:358)
at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:1292)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:295)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:286)
at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:233)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:130)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:91)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1260)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:211)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:292)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:176)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.cloneRepository(GitCloneTaskImpl.java:969)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:807)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3770)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5136)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5130)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5128)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3761)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3736)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3629)
... 3 more


ERROR: org.eclipse.oomph.setup.core code=0 org.eclipse.jgit.api.errors.TransportException: https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git: authentication not supported
java.lang.Exception: org.eclipse.jgit.api.errors.TransportException: https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git: authentication not supported
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:907)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3770)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5136)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5130)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5128)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3761)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3736)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3629)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:585)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:711)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.eclipse.jgit.api.errors.TransportException: https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git: authentication not supported
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:222)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:292)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:176)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.cloneRepository(GitCloneTaskImpl.java:969)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:807)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3770)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5136)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5130)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5128)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3761)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3736)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3629)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:585)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:711)
... 1 more
Caused by: org.eclipse.jgit.errors.TransportException: https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git: authentication not supported
at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:372)
at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:1292)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:295)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:286)
at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:233)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:130)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:91)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1260)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:211)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:292)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:176)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.cloneRepository(GitCloneTaskImpl.java:969)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:807)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3770)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5136)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5130)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5128)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3761)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3736)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3629)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:585)
... 2 more
Caused by: org.eclipse.jgit.errors.TransportException: https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git: authentication not supported
at org.eclipse.jgit.transport.TransportHttp$Service.sendRequest(TransportHttp.java:1442)
at org.eclipse.jgit.transport.TransportHttp$MultiRequestService.execute(TransportHttp.java:1630)
at org.eclipse.jgit.transport.TransportHttp$Service$HttpExecuteStream.read(TransportHttp.java:1560)
at org.eclipse.jgit.util.io.UnionInputStream.read(UnionInputStream.java:116)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at org.eclipse.jgit.util.io.TimeoutInputStream.read(TimeoutInputStream.java:90)
at org.eclipse.jgit.util.IO.readFully(IO.java:201)
at org.eclipse.jgit.transport.PacketLineIn.readLength(PacketLineIn.java:284)
at org.eclipse.jgit.transport.PacketLineIn.readString(PacketLineIn.java:148)
at org.eclipse.jgit.transport.PacketLineIn.readACK(PacketLineIn.java:107)
at org.eclipse.jgit.transport.BasePackFetchConnection.negotiate(BasePackFetchConnection.java:683)
at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:358)
at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:1292)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:295)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:286)
at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:233)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:130)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:91)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1260)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:211)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:292)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:176)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.cloneRepository(GitCloneTaskImpl.java:969)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:807)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3770)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5136)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5130)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5128)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3761)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3736)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3629)
... 3 more

Took 65 seconds.
There are failed tasks.
Press Back to choose different settings or Cancel to abort.
Re: egit clone throws exception [message #1826748 is a reply to message #1826708] Wed, 29 April 2020 21:30 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
Strange. At that point JGit has already communicated with the git server successfully, and then suddenly JGit gets a 401. It's not clear from the trace whether the 401 comes from the proxy or from the git server. Do you have a wire trace? Wireshark would be fine.
Re: egit clone throws exception [message #1826761 is a reply to message #1826748] Thu, 30 April 2020 06:23 Go to previous messageGo to next message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 24
Registered: July 2018
Junior Member
Hello Thomas

Thanks for reply.
I'll give it a try although I'll have to check wether I am allowed to use wireshark or if that is to be done by it department.
I'll respond as soon as I can.

Re: egit clone throws exception [message #1826792 is a reply to message #1826761] Thu, 30 April 2020 14:58 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
OK. Note that I'd need a wiretrace including payloads. Hope you are allowed to use Wireshark for such a debugging purpose.
Re: egit clone throws exception [message #1826924 is a reply to message #1826761] Mon, 04 May 2020 16:02 Go to previous messageGo to next message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 24
Registered: July 2018
Junior Member
Hello Thomas

I am sorry for the delayed answer but:
As I tried to reproduce the error again, with wireshark running: I didn't occur anymore.
Strange, I thought, lets see what your colleagues observes with the fetch operation.
My colleague is in holidays. So I will report back when he is back again.

Many thanks so far

Re: egit clone throws exception [message #1826948 is a reply to message #1826924] Tue, 05 May 2020 07:29 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
No problem. If it re-occurs and you do have a trace, you could send it via private e-mail to me (my e-mail address is on my commits in the EGit and JGit repositories), or put it on some file share site and tell me how to get it. The trace is likely to contain data that should probably not be made public. :-) Let's hope a trace will shed some light onto this if it happens again.
Re: egit clone throws exception [message #1827348 is a reply to message #1826708] Wed, 13 May 2020 14:16 Go to previous messageGo to next message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 24
Registered: July 2018
Junior Member
Hello Thomas

Errorr occured again.
I'll have a wireshark file now and will send it to your email address.
So don't be surprised :-)

Re: egit clone throws exception [message #1827349 is a reply to message #1827348] Wed, 13 May 2020 14:26 Go to previous messageGo to next message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 24
Registered: July 2018
Junior Member
Hello Thomas

Just another strange thing:
I have an eclipse for rcp and rap developers (installed with oomph) working fine. Fetch without problems.
On same computer another oomph installation went wrong with clone error (same message: Athentification not supported).
On same computer other already installed eclipse has problems with fetch
and second computer fetch runs fine ...

I don't know what to think... its obviously not depending on computer. And somehow strangely depending on current eclipse instance?
They are, btw. quite much the same.
Same setup process with oomph, same preferences set, same repo. Only difference is the checked out branch.

Re: egit clone throws exception [message #1827363 is a reply to message #1827349] Wed, 13 May 2020 17:57 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
OK, thanks. You've got mail :-)

Seems to be a timeout, which JGit erroneously reports as "authentication failure". Authentication works fine according to the wire trace, even the NTLM proxy-authentication.

I've created bug 563138 for JGit's mis-reporting of the cause.

Increasing the connection timeout (Preferences->Team->Git) might help. Looks like the server has a bit long to collect the data it needs to send to the client.
Re: egit clone throws exception [message #1827616 is a reply to message #1827363] Tue, 19 May 2020 11:44 Go to previous messageGo to next message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 24
Registered: July 2018
Junior Member
Hello Thomas

Many thanks for your investigations.

Setting timeout to 5 Minutes solved the problem.
At the moment we are a little bit "tight" in hardware ressources.
The server logs indicate (although not prove) that every time a build of one of our projects was running the fetch time exceeded the timeout.

We will upgrade the hardware to more RAM and CPU Cores and will see what happens afterwards.

If you can tell me how to test the bugfix, I will do.
It is just that I am not sure about how to upgrade egit/jgit to a test version?
Just replace the plugin in eclipse? Where can I download test version?

Re: egit clone throws exception [message #1827625 is a reply to message #1827616] Tue, 19 May 2020 13:46 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
Sebastian Heinrich wrote on Tue, 19 May 2020 11:44

If you can tell me how to test the bugfix, I will do.
It is just that I am not sure about how to upgrade egit/jgit to a test version?
Just replace the plugin in eclipse? Where can I download test version?

Currently our CI build infrastructure is having problems, so I'm not sure we have a place where you could install a version with the fix from :-(

But the fix I did in https://git.eclipse.org/r/#/c/162987/ does contain a unit test that verifies that a time-out is indeed reported as a time-out and not as "authentication not supported". So on-site testing for this isn't really necessary.

If you still want to try, you could try the following:

  1. Install EGit 5.8.0 from the update site https://repo.eclipse.org/content/unzip/releases.unzip/org/eclipse/egit/org.eclipse.egit.repository/5.8.0.202005061305-m2/org.eclipse.egit.repository-5.8.0.202005061305-m2.zip-unzip/
  2. Install JGit from the CI build's temporary update site (which may vanish at any time) at https://ci.eclipse.org/jgit/job/stable/job/jgit.gerrit-pipeline/3132/artifact/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/target/repository/

I think this should give you an Eclipse with an EGit/JGit combo including this fix. Then reduce the timeout again and check what the error message you get is.
Re: egit clone throws exception [message #1827837 is a reply to message #1827625] Mon, 25 May 2020 09:56 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
Should be fixed in EGit nightly now. Fix will be in the upcoming EGit 5.8.0 (ETA: 2020-06-17), too.
Re: egit clone throws exception [message #1827927 is a reply to message #1826708] Wed, 27 May 2020 06:56 Go to previous messageGo to next message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 24
Registered: July 2018
Junior Member
Good morning

Sry for delay.
We tried to find out why our server doesn't respond within timeout.
We assumed that the hardware resources were a little bit tight, especially memory.
If then e.g. a fetch or clone request is to be processed and in parallel a build was running the server was to slow with response causing timeout problems on client side.

We tried to give more memory and cpu cores to avoid this. This needed some time so today was first chance to test it again. Unfortunately clone ran into same error again.
Apart from still not exactly knowing why response time is above 30s (which I count as rather long) it gives me the chance to test.
Therefore I tried with nightly build and error message seems to be correct now:
Performing Git Clone https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git (master)
Cloning Git repo https://tesat-gitlab.factorplus.de/tesat-projects/pp-dfw.git to C:\Users\hei2bk\ppdfw_margin_table\git\pp-dfw
java.lang.Exception: org.eclipse.jgit.api.errors.TransportException: Read timed out after 60.000 ms
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:966)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3770)


Except of one little thing:
I set the timeout to 30s. Error message tell 60s.
So is this correct?

Re: egit clone throws exception [message #1827930 is a reply to message #1827927] Wed, 27 May 2020 07:05 Go to previous messageGo to next message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 24
Registered: July 2018
Junior Member
Ok one thing to add
I get the same timeout message of 60.000ms regardless of what I put into preferences.
And cloning is not possible (I tried with 500s timeout in eclipse preferences).
It looks like egit is ignoring timeout settings from eclipse preferences?
Re: egit clone throws exception [message #1827941 is a reply to message #1827930] Wed, 27 May 2020 10:18 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
This is the Oomph setup task trying to clone. This indeed does not honor any timeout settings from EGit; it sets a hard-coded timeout of 60s: https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/plugins/org.eclipse.oomph.setup.git/src/org/eclipse/oomph/setup/git/impl/GitCloneTaskImpl.java#n1038 This is not an EGit/JGit problem anymore, but a problem in Oomph.

I've created bug 563627 for Oomph for this.

Re: egit clone throws exception [message #1827943 is a reply to message #1827941] Wed, 27 May 2020 11:00 Go to previous messageGo to next message
Sebastian Heinrich is currently offline Sebastian HeinrichFriend
Messages: 24
Registered: July 2018
Junior Member
Hello Thomas

I tried with clone during oomph setup and with clone started from Git repositories view (so no oomph involved).
Everytime the same. It's ignoring the timeout in settings and stick to 60s.
Personally I don't know if clone initiated from git repositories view is also using the GitCloneTaskImpl from oomph...
If not there may exists another similar bug.


Re: egit clone throws exception [message #1827954 is a reply to message #1827943] Wed, 27 May 2020 14:20 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 374
Registered: August 2016
Senior Member
Sorry, cannot reproduce. If I print out the time-out used I see that the value set in the Egit preferences is used. _Unless_ you import a project set, and that would need to clone the repository first; that would be bug 563634. But I don't think you are in that use case.
Re: egit clone throws exception [message #1828455 is a reply to message #1827954] Wed, 10 June 2020 07:19 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1178
Registered: July 2009
Senior Member
are you running git gc on the server side of this clone ?
Previous Topic:Slow performance of add command
Next Topic:Abstract File IO using Path instead of File
Goto Forum:
  


Current Time: Wed Jun 23 07:06:23 GMT 2021

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

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

Back to the top