Skip to content

Timed out waiting for authentication provider to register in GitLens after update to version 16.3 #4065

@Sensirex

Description

@Sensirex

Description

  1. In this environment:
    • VSCode Version: 1.97.2
    • GitLens Version: 16.3
    • OS: macOS
    • Git Version: 2.44.0
  2. With this config:
    • Default settings for GitLens, with no custom authentication configuration or credentials caching enabled.
    • Git is configured to use SSH for remotes (public/private key authentication).
  3. Run:
    • Open any Git repository in VSCode, connected to a remote repository (e.g., GitHub or GitLab).
    • Attempt to access the “Branches”, “Commits”, or “Remotes” sections from the GitLens view.
  4. See error:
    • Timed out waiting for authentication provider to register.
    • Nothing shown in the “Branches”, “Commits”, or “Remotes” sections.
    • “RemotesGitSubProvider.getRemotes — failed” error in the GitLens logs.
    • Note: The issue did not occur with the previous version of GitLens (16.2.1).

GitLens Version

16.3.0

VS Code Version

Version: 1.97.2 (Universal)
Commit: e54c774e0add60467559eb0d1e229c6452cf8447
Date: 2025-02-12T23:20:35.343Z (4 days ago)
Electron: 32.2.7
ElectronBuildId: 10982180
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0

Git Version

git version 2.44.0

Logs, Screenshots, Screen Captures, etc

[2025-02-17 03:43:15.226] [ 15 → 16] GitCache.clearCaches(e=undefined, ...t=branches) completed [0ms]
[2025-02-17 03:43:15.226] [ 16 → 17] GitCache.clearCaches(e=undefined, ...t=branches) completed [0ms]
[2025-02-17 03:43:15.226] [ 17 → 18] GitCache.clearCaches(e=undefined, ...t=branches) completed [0ms]
[2025-02-17 03:43:15.226] [ 14 → 15] GitProviderService.resetCaches(branches) completed [0ms]
[2025-02-17 03:43:15.226] [ 18 → 19] BranchesView.refresh(true)
[2025-02-17 03:43:15.226] [ 19 → 1a] BranchesViewNode.refresh(true)
[2025-02-17 03:43:15.226] [ 1a → 1b] BranchesRepositoryNode(gitlens://viewnode/repo-folder/repo//home/user/hosts/domain.com).unsubscribe
[2025-02-17 03:43:15.226] [ 19 → 1a] BranchesViewNode.refresh(true) completed [0ms]
[2025-02-17 03:43:15.226] [ 1b → 1c] BranchesView.triggerNodeChange
[2025-02-17 03:43:15.227] [ 1b → 1c] BranchesView.triggerNodeChange completed [0ms]
[2025-02-17 03:43:15.227] [ 1a → 1b] BranchesRepositoryNode(gitlens://viewnode/repo-folder/repo//home/user/hosts/domain.com).unsubscribe completed [0ms]
[2025-02-17 03:43:15.227] [ 18 → 19] BranchesView.refresh(true) completed [0ms]
[2025-02-17 03:43:15.299] [ 1c → 1d] BranchesViewNode.ensureSubscription
[2025-02-17 03:43:15.299] [ 1d → 1e] N(/home/user/hosts/domain.com|1).getCommonRepository
[2025-02-17 03:43:15.300] [ 1e → 1f] GitProviderService.getGitDir(e=Uri(file:///home/user/hosts/domain.com))
[2025-02-17 03:43:15.300] [ 1f → 20] LocalGitProvider.getGitDir(e=/home/user/hosts/domain.com)
[2025-02-17 03:43:15.300] [ 1c → 1d] BranchesViewNode.ensureSubscription completed [0ms]
[2025-02-17 03:43:15.300] [ 1f → 20] LocalGitProvider.getGitDir(e=/home/user/hosts/domain.com) returned file:///home/user/hosts/domain.com/.git, commonUri=undefined [0ms]
[2025-02-17 03:43:15.300] [ 1e → 1f] GitProviderService.getGitDir(e=Uri(file:///home/user/hosts/domain.com)) completed [0ms]
[2025-02-17 03:43:15.300] [ 1d → 1e] N(/home/user/hosts/domain.com|1).getCommonRepository returned N(/home/user/hosts/domain.com|1) [0ms]
[2025-02-17 03:43:15.300] [ 20 → 21] GitProviderService.worktrees(e=Uri(file:///home/user/hosts/domain.com)) completed [0ms]
[2025-02-17 03:43:15.300] [ 21 → 22] WorktreesGitSubProvider.getWorktrees(e=/home/user/hosts/domain.com)
[2025-02-17 03:43:15.300] [ 21 → 22] WorktreesGitSubProvider.getWorktrees(e=/home/user/hosts/domain.com) completed [0ms]
[2025-02-17 03:43:15.300] [ 22 → 23] GitProviderService.branches(e=Uri(file:///home/user/hosts/domain.com)) completed [0ms]
[2025-02-17 03:43:15.300] [ 23 → 24] BranchesGitSubProvider.getBranches(e=/home/user/hosts/domain.com)
[2025-02-17 03:43:15.307] [GIT 6ms] [/home/user/hosts/domain.com] git for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes [6ms]
[2025-02-17 03:43:15.308] [ 25] Git.parseBranches(/home/user/hosts/domain.com) [0ms] parsed 15 branches
[2025-02-17 03:43:15.308] [ 23 → 24] BranchesGitSubProvider.getBranches(e=/home/user/hosts/domain.com) completed [7ms]
[2025-02-17 03:43:15.308] [ 25 → 26] BranchesRepositoryNode(gitlens://viewnode/repo-folder/repo//home/user/hosts/domain.com).ensureSubscription
[2025-02-17 03:43:15.308] [ 26 → 27] BranchesRepositoryNode(gitlens://viewnode/repo-folder/repo//home/user/hosts/domain.com).subscribe
[2025-02-17 03:43:15.308] [ 26 → 27] BranchesRepositoryNode(gitlens://viewnode/repo-folder/repo//home/user/hosts/domain.com).subscribe completed [0ms]
[2025-02-17 03:43:15.309] [ 27 → 28] GitProviderService.branches(e=Uri(file:///home/user/hosts/domain.com)) completed [0ms]
[2025-02-17 03:43:15.309] [ 28 → 29] BranchesGitSubProvider.getBranches(e=/home/user/hosts/domain.com)
[2025-02-17 03:43:15.309] [ 25 → 26] BranchesRepositoryNode(gitlens://viewnode/repo-folder/repo//home/user/hosts/domain.com).ensureSubscription completed [0ms]
[2025-02-17 03:43:15.309] [ 28 → 29] BranchesGitSubProvider.getBranches(e=/home/user/hosts/domain.com) completed [0ms]
[2025-02-17 03:43:15.309] [ 2a → 2b] GitProviderService.remotes(e=/home/user/hosts/domain.com) completed [0ms]
[2025-02-17 03:43:15.309] [ 2b → 2c] RemotesGitSubProvider.getRemote(e=/home/user/hosts/domain.com, t=origin)
[2025-02-17 03:43:15.309] [ 2c → 2d] RemotesGitSubProvider.getRemotes(e=/home/user/hosts/domain.com, i=undefined)
[2025-02-17 03:43:15.309] [ 2c → 2d] RemotesGitSubProvider.getRemotes — failed [0ms]
Timed out waiting for authentication provider to register
[2025-02-17 03:43:15.309] [ 2b → 2c] RemotesGitSubProvider.getRemote — failed [0ms]
Timed out waiting for authentication provider to register

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions