WebStorm keeps prompting for github password Follow
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
Please sign in to leave a comment.
what GitHub authentication do you use? Did you set up the IDE to save the passwords in Settings | Appearance & Behavior | System Settings | Passwords?
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
Hi there,
If you disable "Mark branches that have incoming/outgoing commits..." option in "Version Control | Git" -- will it help? It should.
Hi,
Yes that seems to have stopped all the dialogs
Rob
Had the same problem, and disabling "Mark branches that have incoming/outgoing commits..." fixed it for me too.
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.
Just to clarify - downgraded to 2019.1 - and the problem went away, so this is clearly an issue with 2019.1.1
@Ron, are you using credentials helper? Please see https://youtrack.jetbrains.com/issue/IDEA-211251#focus=streamItem-27-3418235.0-0
@Elena - Thanks. Much appreciated.
Disabling `git.reset.credential.helper` from the registry settings worked for me as well, thanks for mentioning it Elena.
Don't have "git.reset.credential.helper" options there.
in 2019.2, the option has been moved from Registry to general Settings | Version Control | Git.
Also,the IDE offers to authenticate using a credential helper in the Git Login dialog if a helper is set in git config. The default is still to override the helper though.
@Elena spasibo, works :)
Hi, I have same issue in 2019.3.1. But for bitbucket. Unchecking use credential helper doesnt worked for me. Its even prompting credentials when I have project closed and working on different one.
Its only hidden about 15 minutes, when I enter valid credentials or cancel prompt form.
The same problem. WS asks for github token every open/close project. I use github settings repository and before 2019.3 it works well.
How can I fix it?
please create a new ticket in youtrack, https://youtrack.jetbrains.com/issues/IDEA, attaching your logs folder zipped.
See https://intellij-support.jetbrains.com/hc/en-us/articles/207241085 to locate logs.