NateH06
NateH06

Reputation: 3594

GitHub can't connect to IntelliJ after updating to 2017.3.3

I've just tried to update my IntelliJ to version 2017.3.3 and I can no longer fetch or pull into my GitHub repos. It will first prompt me with this screen:

enter image description here

Then, I will correctly enter my credentials, after which it will prompt me with this one:

enter image description here

And then it will go back and forth between those two, with me correctly entering my credentials, until finally it alerts me with:

enter image description here

I've checked through a browser, I'm able to log in and out of Git with the credentials I'm using in Intellij. I've also checked in IntelliJ File | Settings | Version Control | GitHub and running a test, having it prompt me for the two factor authentication. That returns a success from IntelliJ. Any idea on what's going on? Thanks!

Upvotes: 3

Views: 990

Answers (2)

Simon Christiansen
Simon Christiansen

Reputation: 661

https://github.com/Microsoft/Git-Credential-Manager-for-Windows

"NOTICE: Experiencing GitHub push/fetch problems? As of 22 Feb 2018, GitHub has disabled support for weak encryption which means many users will suddenly find themselves unable to authenticate using a Git for Windows which (impacts versions older than v2.16.0). DO NOT PANIC, there's a fix. Update Git for Windows to the latest (or at least v2.16.0)."

You need to update the Git Credentials Manager and possibly Git itself.

Upvotes: 4

Dmitrii Smirnov
Dmitrii Smirnov

Reputation: 7548

Looks like the second prompt is issued by the credential-helper configured in the git client itself. Does git fetch work from the command line?

I would recommend unsetting all gi credential helpers and let IntelliJ manage your passwords. See e.g. this thread to unset them

Upvotes: 0

Related Questions