Reputation: 3594
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:
Then, I will correctly enter my credentials, after which it will prompt me with this one:
And then it will go back and forth between those two, with me correctly entering my credentials, until finally it alerts me with:
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
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
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