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

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.egit.ui.internal.push.PushOperationUI.execute(
at org.eclipse.egit.ui.internal.push.PushOperationUI$
Caused by: org.eclipse.jgit.errors.TransportException: http://xxxxxxxx: 401 Unauthorized
at org.eclipse.jgit.transport.TransportHttp$Service.openResponse(
at org.eclipse.jgit.transport.TransportHttp$MultiRequestService.execute(
at org.eclipse.jgit.transport.TransportHttp$Service$

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: 1138
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: Sat Jun 06 12:04:26 GMT 2020

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

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

Back to the top