Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » EGit is showing 401: Unauthorized error when pushing to TFS Git repository(For Small amount of files pushing is success. For more amount of files 401 error is showing.)
EGit is showing 401: Unauthorized error when pushing to TFS Git repository [message #1730642] Wed, 27 April 2016 10:19 Go to next message
rbv venkat is currently offline rbv venkatFriend
Messages: 1
Registered: April 2016
Junior Member
Environment:

IDE : Eclispe Luna , EGit 3.4.2

Remote Git repository configured in TFS server.
Local repository is successfully created using http protocol.

When pushing some selected files (size < 500 KB) to remote repository, operation is completed with out any error.

Remote repository is showing checked in files too.
----------------------------------------------------------------------------------------------------------

When trying to push set of files( > 500 KB) to remote repository, below error is showing.

http://tfs.xxxxxxxx : 401 Unauthorized.

When I see the eclipse error log. It is showing below error.

An exception occurred during push on URI http://xxxxxxxx : 401 Unauthorized


org.eclipse.jgit.api.errors.TransportException: http://xxxxxxx: 401 Unauthorized
at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:160)
at org.eclipse.egit.core.op.PushOperation.run(PushOperation.java:228)
at org.eclipse.egit.ui.internal.push.PushOperationUI.execute(PushOperationUI.java:167)
at org.eclipse.egit.ui.internal.push.PushOperationUI$1.run(PushOperationUI.java:229)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.errors.TransportException: http://xxxxxxxx: 401 Unauthorized
at org.eclipse.jgit.transport.TransportHttp$Service.openResponse(TransportHttp.java:876)
at org.eclipse.jgit.transport.TransportHttp$MultiRequestService.execute(TransportHttp.java:978)
at org.eclipse.jgit.transport.TransportHttp$Service$HttpExecuteStream.read(TransportHttp.java:904)


Can you please help on this issue?
Re: EGit is showing 401: Unauthorized error when pushing to TFS Git repository [message #1731367 is a reply to message #1730642] Wed, 04 May 2016 16:14 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1097
Registered: July 2009
Senior Member
you are using a pretty ancient EGit version, you should consider to upgrade

This doesn't look like an EGit problem, if the server says you aren't authorized what should EGit do about that ?
Talk to your server's administrator to check why you can't authenticate.
Previous Topic:Calculate file path to local GIT repository with EGit
Next Topic:Git Import = General Project & Can't run as java
Goto Forum:
  


Current Time: Fri Oct 18 01:55:42 GMT 2019

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

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

Back to the top