Problem
When invoking push and pull operations from the IDE UI, it hangs for a long time and finishes only after 1.5h, or doesn't finish at all.
The following stacktrace is shown in the idea.log file:
2025-03-26 17:16:10,917 [6742500] WARN - #c.i.i.shutdown - Application Application (RA allowed) (exit in progress): scope was not completed in 10s.
- "ApplicationImpl@1191964853 container":supervisor:ChildScope{Cancelling} [ComponentManager(ApplicationImpl@1191964853), com.intellij.codeWithMe.ClientIdContextElementPrecursor@ea508ac]
- "ProjectImpl@1936398363 container":supervisor:ChildScope{Cancelling} [ComponentManager(ProjectImpl@1936398363), com.intellij.codeWithMe.ClientIdContextElementPrecursor@ea508ac]
- "(ProjectImpl@1936398363 x org.jetbrains.plugins.github)":supervisor:ChildScope{Cancelling} [ComponentManager(ProjectImpl@1936398363), com.intellij.codeWithMe.ClientIdContextElementPrecursor@ea508ac]
- "org.jetbrains.plugins.github.pullrequest.ui.toolwindow.model.GHPRToolWindowViewModel":supervisor:ChildScope{Cancelling} [ComponentManager(ProjectImpl@1936398363), com.intellij.codeWithMe.ClientIdContextElementPrecursor@ea508ac]
- "org.jetbrains.plugins.github.pullrequest.ui.toolwindow.model.GHPRToolWindowViewModel":supervisor:ChildScope{Cancelling} [ComponentManager(ProjectImpl@1936398363), com.intellij.codeWithMe.ClientIdContextElementPrecursor@ea508ac]
- "org.jetbrains.plugins.github.pullrequest.ui.toolwindow.model.GHPRToolWindowViewModel":supervisor:ChildScope{Cancelling} [ComponentManager(ProjectImpl@1936398363), com.intellij.codeWithMe.ClientIdContextElementPrecursor@ea508ac, Dispatchers.EDT]
- "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)
- "org.jetbrains.plugins.github.pullrequest.GHRepositoryConnectionManager":supervisor:ChildScope{Cancelling} [ComponentManager(ProjectImpl@1936398363), com.intellij.codeWithMe.ClientIdContextElementPrecursor@ea508ac]
- "org.jetbrains.plugins.github.pullrequest.GHRepositoryConnectionManager":supervisor:ChildScope{Cancelling} [ComponentManager(ProjectImpl@1936398363), com.intellij.codeWithMe.ClientIdContextElementPrecursor@ea508ac, Dispatchers.Default]
- "org.jetbrains.plugins.github.pullrequest.GHRepositoryConnectionManager":ChildScope{Cancelling} [ComponentManager(ProjectImpl@1936398363), com.intellij.codeWithMe.ClientIdContextElementPrecursor@ea508ac, git4idea.remote.hosting.ValidatingHostedGitRepositoryConnectionFactory$connect$$inlined$CoroutineExceptionHandler$1@661eb684, Dispatchers.Default]
Cause
IDE is trying to access the native keychain to retrieve the credentials token, but fails for some reason.
Resolution
Enable the In KeePass option instead of native keychain in Settings (⌘ + , or Ctrl + Alt + S) > Appearance & Behavior > System Settings > Passwords and restart the IDE?
Comments
0 comments
Please sign in to leave a comment.