Jump to content

LibGit2Sharp.HttpTransport.NegotiationStepEnd() Exception


Xorcist
 Share

Recommended Posts

I've run GitSync against Azure Devops many times, today I tried to push out a brand new repository and received a 500, details in the log show:

2022-08-30 15:36:01,159 MAXETATECH\JHorvath ERROR sync - Error running sync: The remote server returned an error: (500) Internal Server Error.. StackTrace:
   at LibGit2Sharp.HttpTransport.NegotiationStepEnd()
   at LibGit2Sharp.Remote.Upload(PackBuilder pb, IEnumerable`1 updates)
   at Codice.Foreign.GitPusher.Upload(List`1 updateRefs)
   at Codice.Client.BaseCommands.Sync.GitSynchronizer.Push(List`1 localChangesetsToPush)
   at Codice.Client.BaseCommands.Sync.SyncRunner.RunGitSync(SyncStorage storage, String gitMainBranchName, Boolean bJustPrint)
   at Codice.Client.BaseCommands.Sync.SyncRunner.RunSync(SyncSettings settings, RepositoryInfo repInfo)
   at Codice.Client.BaseCommands.Sync.SyncRunner.Sync()

Any ideas why this may be? My Azure Devops Personal Access Token has full access rights and is not expired.

Link to comment
Share on other sites

Please attach the full Platic debug log. According to the error, it seems that the Azure server is aborting the operation. 

Does the server have big files? Are you using GitSync? What is the difference between this repo and any other repo. I'm guessing if this could be the reason.

Link to comment
Share on other sites

Hi,

It seems that the git server is aborting the operation. Does the project have binary files? Is git-lfs enabled?

Can you try to sync the repo to any other git service (eg:GitHub...) to check if the issue persists or not?

Regards,

Carlos.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...