Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Connection reset error with Git Credential Manager when certain GIT errors are thrown #99

Open
jtittler opened this issue Oct 26, 2018 · 0 comments

Comments

@jtittler
Copy link

jtittler commented Oct 26, 2018

I have found that tho Git Credential Manager gives Connection reset errors if certain git errors happen, with no information whatsoever. It took me forever to figure out what the problem is. If there is a problem with a git operation, it throw the git error, not just swallow it and kill the connection.

I was trying to push a commit to an upstream branch. What I was getting was a "Updates were rejected because a pushed branch tip is behind its remote counterpart." That's a legitimate error. All I kept getting was dropped connections. That's not good. Somehow the error handling in the credential manager needs to be improved.

Below is my original report of the problem. It's what I was seeing the credential manager doing.
............
We have Azure DevOps GIT repos. I have been using git successfully with them for a LONG time. All of a sudden, today, I cannot push changes. The Git Credential Manager is giving me Connection Reset errors after I successfully go to the website and put in the access code. I have tried updating JAVA, GIT, and the Git Credential Manager on my MacBook Pro to no avail. Google searches turn up very little. Any idea how I can get git working again? This is the error it is throwing:

Fatal: java.lang.Error encountered. Details: java.net.SocketException: Connection reset fatal: credential helper '!/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Ddebug=false -Djava.net.useSystemProxies=true -jar /usr/local/Cellar/git-credential-manager/2.0.4/libexec/git-credential-manager-2.0.4.jar' told us to quit

@jtittler jtittler changed the title Connection reset error with Git Credential Manager OSX Connection reset error with Git Credential Manager when certain GIT errors are thrown Nov 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant