WebStorm keeps prompting for github password

After installing 2019.1 I am having an issue with a GitHub login dialog continuously prompting for name/password.

The thing is that even if I don't enter any password and just cancel the login commits/pulls etc will still succeed.

However the dialog will popup 3 times in a row and keep repeating every few minutes even when I am not doing any GitHub action. Its like this is connected with some background process

Entering my correct name and password makes no difference,  a few minutes later the dialog will reappear.

The log shows repeated entries like this:
2019-04-01 09:05:18,122 [364221001] INFO - #git4idea.commands.GitHandler - git ls-remote took 10223 ms. Command parameters:
"C:\Program Files\JetBrains\WebStorm 2019.1\bin\runnerw64.exe" "C:\Program Files\Git\cmd\git.exe" -c core.quotepath=false -c log.showSignature=false ls-remote --heads origin ROBJS-attributeselectors ROBJS-icons ROBJS-range ROBJS-11-2018 ROBJS ROBJS-mobile framework ROBJS-texteditor ROBJS-globalize master ROBJS-deliverables ROBJS-scrolling GridNonEditableForm-ROB develop
2019-04-01 09:05:24,381 [364227260] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 25 ms
2019-04-01 09:05:28,912 [364231791] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 29 ms



This also has happened before in previous years during EAP's but then mysteriously seems to clear when the final release version appears.

Any idea how to get rid of the problem?

Rob


10 comments

what GitHub authentication do you use? Did you set up the IDE to save the passwords in Settings | Appearance & Behavior | System Settings | Passwords?

0

I have been using WS and GitHub for years without being prompted every few minutes for a password, I made no changes for several years to WS settings just  upgraded when new releases come out.

Yes I have the IDE saving passwords in KeepPass database C:\Users\rober\.WebStorm2019.1\config\c.kdbx 

GitHub authentication uses a name/pwd to get a token then uses the token to login

Also as mentioned push/pull/commit etc form within WebStorm all work without entering a password. It seems some background process in WebStorm that periodically is refreshing something that seems to trigger the login dialog 

Rob

 

0

Hi there,

If you disable "Mark branches that have incoming/outgoing commits..." option in "Version Control | Git" -- will it help? It should.

1

Hi,

Yes that seems to have stopped all the dialogs

Rob

0

Had the same problem, and disabling "Mark branches that have incoming/outgoing commits..." fixed it for me too.

0

Just updated to 2019.1.1 this morning and this problem happens for me - when using CodeCommit - disabling the Mark branches.... option does not fix the problem - and I have no issues accessing my repositories from the command line using git pull directly.

0

Just to clarify - downgraded to 2019.1 - and the problem went away, so this is clearly an issue with 2019.1.1

0

@Elena - Thanks. Much appreciated.

0

Disabling `git.reset.credential.helper` from the registry settings worked for me as well, thanks for mentioning it Elena.

0

Please sign in to leave a comment.