Problem
Git pull and push operations hang for a very long time (several hours) before completing. Following stacktrace is shown in the idea.log file:
- "org.jetbrains.plugins.github.pullrequest.ui.toolwindow.model.GHPRToolWindowViewModel":StandaloneCoroutine{Cancelling}, state: RUNNING [ComponentManager(ProjectImpl@1936398363), com.intellij.codeWithMe.ClientIdContextElementPrecursor@ea508ac, Dispatchers.EDT]
at com.sun.jna.Native.invokePointer(Native Method)
at com.sun.jna.Function.invokePointer(Function.java:500)
at com.sun.jna.Function.invokeString(Function.java:663)
at com.sun.jna.Function.invoke(Function.java:437)
at com.sun.jna.Function.invoke(Function.java:364)
at com.sun.jna.Library$Handler.invoke(Library.java:270)
at com.intellij.credentialStore.$Proxy195.secret_password_lookup_sync(Unknown Source)
at com.intellij.credentialStore.SecretCredentialStore$Companion.pingService(linuxSecretLibrary.kt:56)
at com.intellij.credentialStore.SecretCredentialStore$Companion.create(linuxSecretLibrary.kt:43)
at com.intellij.credentialStore.LinuxCredentialStoreFactory.create(NativeCredentialStoreWrapper.kt:135)
at com.intellij.ide.passwordSafe.impl.PasswordSafeImplKt.createPersistentCredentialStore(PasswordSafeImpl.kt:247)
at com.intellij.ide.passwordSafe.impl.PasswordSafeImplKt.computeProvider(PasswordSafeImpl.kt:218)
at com.intellij.ide.passwordSafe.impl.PasswordSafeImplKt.access$computeProvider(PasswordSafeImpl.kt:1)
at com.intellij.ide.passwordSafe.impl.BasePasswordSafe._currentProvider$lambda$0(PasswordSafeImpl.kt:47)
at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
at com.intellij.ide.passwordSafe.impl.BasePasswordSafe.getCurrentProvider(PasswordSafeImpl.kt:53)
at com.intellij.ide.passwordSafe.impl.BasePasswordSafe.get(PasswordSafeImpl.kt:96)
at com.intellij.collaboration.auth.PasswordSafeCredentialsRepository$retrieveCredentials$2.invokeSuspend(PasswordSafeCredentialsRepository.kt:50)
at com.intellij.collaboration.auth.AccountManagerBase$getCredentialsState$2.invokeSuspend(AccountManagerBase.kt:122)
at git4idea.remote.hosting.ValidatingHostedGitRepositoryConnectionFactory.connect(HostedGitRepositoryConnectionFactory.kt:42)
at git4idea.remote.hosting.SingleHostedGitRepositoryConnectionManagerImpl$openConnection$2.invokeSuspend(SingleHostedGitRepositoryConnectionManager.kt:57)
at org.jetbrains.plugins.github.pullrequest.ui.toolwindow.model.GHPRToolWindowViewModel$connect$2.invokeSuspend(GHPRToolWindowViewModel.kt:92)
at git4idea.remote.hosting.ui.RepositoryAndAccountSelectorViewModelBase$submitSelection$1.invokeSuspend(RepositoryAndAccountSelectorViewModelBase.kt:87)
Cause
It looks like there is an issue in accessing the saved credentials in the native keychain password manager.
Resolution
Enable the In KeePass option instead of the native keychain in Settings (⌘ + , or Ctrl + Alt + S) > Appearance & Behavior > System Settings > Passwords.
Comments
0 comments
Please sign in to leave a comment.