IntelliJ 2023.1: Authentication failures when performing git update on multiple repositories

Answered

I have a project with a lot of modules from different repositories which are hosted on a Bitbucket server, meaning that IntelliJ has to run a lot of git fetches against many repositories when I perform a git update for the whole project.

Unfortunately, with IntelliJ 2023.1, sooner or later I get authentication failures during the fetching. This is an excerpt from the git log:

10:55:25.537: [..\abc] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false fetch origin --recurse-submodules=no --progress --prune
fatal: Authentication failed for '<HTTPS link to abc.git>'

Sometimes, a GUI window asking for my Git user name and password pops up when IntelliJ is running these commands.

Often, this even leads to a deactivation of my Bitbucket account:

fatal: remote error: CAPTCHA required
Your Bitbucket account has been locked. To unlock it and log in again you must
solve a CAPTCHA. This is typically caused by too many attempts to login with an
incorrect password. The account lock prevents your SCM client from accessing
Bitbucket and its mirrors until it is solved, even if you enter your password
correctly.
If you are currently logged in to Bitbucket via a browser you may need to
logout and then log back in in order to solve the CAPTCHA.

When I do the same with the exactly the same project using IntelliJ 2022.2.4, these authentication failures never happen. 

Have there been any changes to the Git integration in IntelliJ 2023.1 compared to 2022.2? 

0
1 comment

Please feel free to submit a ticket on our YouTrack and attach logs once issue is reproduced.


Please gather logs as per:
https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files


0

Please sign in to leave a comment.