Continually asked to reauthenticate
Type: Bug
At some point something changed but I'm continually asked to reauthenticate for GitLens - Git supercharged and I complete the authentication, but each new window reload or vscode restart the dialog pops up again as if the git auth is not correct, not honored, or something.
Debug log enabled:
[2024-06-27 16:19:21.871] [ 1] GitLens (pre-release) v2024.6.2705 activating in Visual Studio Code - Insiders (1.91.0-insider) on the desktop; language='en', logLevel='debug', defaultDateLocale='null' (f8c254f156ae54d5752dcdab57c49dd1ad767f03d0ec75bd0211a98e15986ed3|03346b9b-bf64-42d1-9dbb-d13ad8f3ed001719505151207)
[2024-06-27 16:19:21.872] [ 7] SubscriptionService.changeSubscription(e={"plan":{"actual":{"id":"free","name":"GitKraken","bundle":false,"cancelled":false,"trialReactivationCount":0,"startedOn":"2023-12-10T18:11:51.547Z"},"effective":{"id":"free","name":"GitKraken","bundle":false,"cancelled":false,"trialReactivationCount":0,"startedOn":"2023-12-10T18:11:51.547Z"}},"state":2,"previewTrial":{"startedOn":"2023-12-10T18:12:14.872Z","expiresOn":"2023-12-14T07:59:59.999Z"}}, t={"silent":true})
[2024-06-27 16:19:21.872] [ 7] SubscriptionService.changeSubscription(e={"plan":{"actual":{"id":"free","name":"GitKraken","bundle":false,"cancelled":false,"trialReactivationCount":0,"startedOn":"2023-12-10T18:11:51.547Z"},"effective":{"id":"free","name":"GitKraken","bundle":false,"cancelled":false,"trialReactivationCount":0,"startedOn":"2023-12-10T18:11:51.547Z"}},"state":2,"previewTrial":{"startedOn":"2023-12-10T18:12:14.872Z","expiresOn":"2023-12-14T07:59:59.999Z"}}, t={"silent":true}) completed [0ms]
[2024-06-27 16:19:21.872] [ 9] GitProviderService.setEnabledContext(e=false)
[2024-06-27 16:19:21.874] [ c] WebviewsController.registerWebviewPanel(e=gitlens.showGraphPage, t=gitlens.graph) completed [0ms]
[2024-06-27 16:19:21.875] [ e] WebviewsController.registerWebviewView(e=gitlens.views.graph) completed [0ms]
[2024-06-27 16:19:21.875] [ 10] WebviewsController.registerWebviewPanel(e=gitlens.showFocusPage, t=gitlens.focus) completed [0ms]
[2024-06-27 16:19:21.875] [ 12] WebviewsController.registerWebviewPanel(e=gitlens.showTimelinePage, t=gitlens.timeline) completed [0ms]
[2024-06-27 16:19:21.876] [ 14] WebviewsController.registerWebviewView(e=gitlens.views.timeline) completed [0ms]
[2024-06-27 16:19:21.876] [ 16] WebviewsController.registerWebviewPanel(e=gitlens.showSettingsPage, t=gitlens.settings) completed [0ms]
[2024-06-27 16:19:21.877] [ 18] WebviewsController.registerWebviewPanel(e=gitlens.showWelcomePage, t=gitlens.welcome) completed [0ms]
[2024-06-27 16:19:21.883] [ 1a] WebviewsController.registerWebviewView(e=gitlens.views.commitDetails) completed [0ms]
[2024-06-27 16:19:21.883] [ 1c] WebviewsController.registerWebviewPanel(e=gitlens.showPatchDetailsPage, t=gitlens.patchDetails) completed [0ms]
[2024-06-27 16:19:21.883] [ 1e] WebviewsController.registerWebviewView(e=gitlens.views.patchDetails) completed [0ms]
[2024-06-27 16:19:21.883] [ 20] WebviewsController.registerWebviewView(e=gitlens.views.graphDetails) completed [0ms]
[2024-06-27 16:19:21.890] [ 22] WebviewsController.registerWebviewView(e=gitlens.views.home) completed [0ms]
[2024-06-27 16:19:21.890] [ 24] WebviewsController.registerWebviewView(e=gitlens.views.account) completed [0ms]
[2024-06-27 16:19:21.893] [ 26] Container.registerGitProviders
[2024-06-27 16:19:21.894] [ 27] GitHubIntegration.isConnected
[2024-06-27 16:19:21.894] [ 29] IntegrationAuthenticationService.getSession(e=github, t={"domain":"github.com","scopes":["repo","read:user","user:email"]}, i={"createIfNeeded":false,"forceNewSession":false})
[2024-06-27 16:19:21.894] [ 2b] LocalGitProvider.openRepositoryInitWatcher completed [0ms]
[2024-06-27 16:19:21.894] [ 2c] GitProviderService.fireProvidersChanged(e=(1) git)
[2024-06-27 16:19:21.894] [ 2c] GitProviderService.fireProvidersChanged(e=(1) git) completed [0ms]
[2024-06-27 16:19:21.895] [ 2e] GitProviderService.discoverRepositories(e=1)
[2024-06-27 16:19:21.895] [ 2f] GitProviderService.discoverRepositoriesCore(e=WorkspaceFolder(uri=file:///d:/source/repos/blazor123))
[2024-06-27 16:19:21.895] [ 30] LocalGitProvider.discoverRepositories(e=Uri(file:///d:/source/repos/blazor123))
[2024-06-27 16:19:21.895] [ 31] LocalGitProvider.findGit
[2024-06-27 16:19:21.895] [ 32] LocalGitProvider.getScmGitApiCore
[2024-06-27 16:19:21.895] [ 52] findSpecificGit(C:\Program Files\Git\cmd\git.exe)
[2024-06-27 16:19:21.900] [ 2d] GitProviderService.onWorkspaceFoldersChanged(e=added=1, removed=0) completed [5ms]
[2024-06-27 16:19:21.900] [ 2a] GitProviderService.register(e=git) completed [5ms]
[2024-06-27 16:19:21.900] [ 36] VslsGitProvider.openRepositoryInitWatcher completed [0ms]
[2024-06-27 16:19:21.900] [ 37] GitProviderService.fireProvidersChanged(e=(1) vsls)
[2024-06-27 16:19:21.900] [ 37] GitProviderService.fireProvidersChanged(e=(1) vsls) completed [0ms]
[2024-06-27 16:19:21.900] [ 35] GitProviderService.register(e=vsls) completed [0ms]
[2024-06-27 16:19:21.900] [ 39] GitProviderService.fireProvidersChanged(e=(1) github)
[2024-06-27 16:19:21.900] [ 39] GitProviderService.fireProvidersChanged(e=(1) github) completed [0ms]
[2024-06-27 16:19:21.900] [ 38] GitProviderService.register(e=github) completed [0ms]
[2024-06-27 16:19:21.900] [ 3b] GitProviderService.discoverRepositories(e=1)
[2024-06-27 16:19:21.900] [ 32] LocalGitProvider.getScmGitApiCore completed [5ms]
[2024-06-27 16:19:21.900] [ 26] Container.registerGitProviders completed [7ms]
[2024-06-27 16:19:21.902] [ 3c] SubscriptionService.ensureSession(e=false)
[2024-06-27 16:19:21.902] [ 3d] SubscriptionService.getOrCreateSession(e=false, t=undefined)
[2024-06-27 16:19:21.903] [ 3e] LineAnnotationController.resume
[2024-06-27 16:19:21.903] [ 40] LineTracker.resume(e={"force":true,"silent":true})
[2024-06-27 16:19:21.903] [ 40] LineTracker.resume(e={"force":true,"silent":true}) completed [0ms]
[2024-06-27 16:19:21.903] [ 3f] LineTracker.subscribe completed • starting line tracker... [0ms]
[2024-06-27 16:19:21.903] [ 3e] LineAnnotationController.resume completed [0ms]
[2024-06-27 16:19:21.903] [ 41] LineAnnotationController.refresh
[2024-06-27 16:19:21.903] [ 42] LineTracker.subscribe completed • already started... [0ms]
[2024-06-27 16:19:21.903] [ 43] LineTracker.subscribe completed • already started... [0ms]
[2024-06-27 16:19:21.916] [ 1] GitLens (pre-release) v2024.6.2705 activated, syncedVersion=2024.6.2705, localVersion=2024.6.2705, previousVersion=2024.6.2705, welcome=true [45ms]
[2024-06-27 16:19:21.917] [ 31] LocalGitProvider.findGit Found built-in Git env
[2024-06-27 16:19:21.917] [ 41] LineAnnotationController.refresh completed [14ms]
[2024-06-27 16:19:21.993] [ 46] GitProviderService.onWindowStateChanged(e=focused=true)
[2024-06-27 16:19:21.993] [ 46] GitProviderService.onWindowStateChanged(e=focused=true) completed [0ms]
[2024-06-27 16:19:22.048] [ 52] findSpecificGit(C:\Program Files\Git\cmd\git.exe) • Found 2.45.2.windows.1 in C:\Program Files\Git\cmd\git.exe; git version 2.45.2.windows.1
[153ms]
[2024-06-27 16:19:22.048] [ 31] LocalGitProvider.findGit completed • Git (2.45.2.windows.1) found in C:\Program Files\Git\cmd\git.exe [153ms]
[2024-06-27 16:19:22.048] [ 47] LocalGitProvider.repositorySearch(d:\source\repos\blazor123) searching (depth=1)...
[2024-06-27 16:19:22.048] [ 48] LocalGitProvider.findRepositoryUri(e=Uri(file:///d:/source/repos/blazor123), t=true)
[2024-06-27 16:19:22.071] [ 49] AccountAuthenticationProvider.getSessions(e=undefined, {})
[2024-06-27 16:19:22.071] [ 49] AccountAuthenticationProvider.getSessions(e=undefined, {}) completed • Found 0 sessions [0ms]
[2024-06-27 16:19:22.071] [ 9] GitProviderService.setEnabledContext(e=false) completed [198ms]
[2024-06-27 16:19:22.259] [GIT ] [d:\source\repos\blazor123] git rev-parse --show-toplevel • Command failed: C:\Program Files\Git\cmd\git.exe -c core.longpaths=true -c core.quotepath=false -c color.ui=false rev-parse --show-toplevel • not a git repository (or any of the parent directories): .git [210ms]
[2024-06-27 16:19:22.259] [ 48] LocalGitProvider.findRepositoryUri(e=Uri(file:///d:/source/repos/blazor123), t=true) returned undefined [210ms]
[2024-06-27 16:19:22.260] [ 4b] LocalGitProvider.repositorySearchCore(e=d:\source\repos\blazor123, t=1)
[2024-06-27 16:19:22.262] [ 8] Storage.store(e=premium:subscription) completed [390ms]
[2024-06-27 16:19:22.262] [ 44] Storage.store(e=preVersion) completed [347ms]
[2024-06-27 16:19:22.263] [ 4c] AccountAuthenticationProvider.getSessions(e=[gitlens], {})
[2024-06-27 16:19:22.263] [ 4c] AccountAuthenticationProvider.getSessions(e=[gitlens], {}) completed • Found 0 sessions [0ms]
[2024-06-27 16:19:22.318] [ 4d] LocalGitProvider.repositorySearchCore(e=d:\source\repos\blazor123\.vscode, t=0, s=[])
[2024-06-27 16:19:22.323] [ 29] IntegrationAuthenticationService.getSession(e=github, t={"domain":"github.com","scopes":["repo","read:user","user:email"]}, i={"createIfNeeded":false,"forceNewSession":false}) completed [428ms]
[2024-06-27 16:19:22.323] [ 4f] AccountAuthenticationProvider.removeSessionsByScopes(e=[gitlens])
[2024-06-27 16:19:22.323] [ 50] SubscriptionService.changeSubscription(e={"plan":{"actual":{"id":"free","name":"GitKraken","bundle":false,"cancelled":false,"trialReactivationCount":0,"startedOn":"2023-12-10T18:11:51.547Z"},"effective":{"id":"free","name":"GitKraken","bundle":false,"cancelled":false,"trialReactivationCount":0,"startedOn":"2023-12-10T18:11:51.547Z"}},"state":2,"previewTrial":{"startedOn":"2023-12-10T18:12:14.872Z","expiresOn":"2023-12-14T07:59:59.999Z"}})
[2024-06-27 16:19:22.323] [ 50] SubscriptionService.changeSubscription(e={"plan":{"actual":{"id":"free","name":"GitKraken","bundle":false,"cancelled":false,"trialReactivationCount":0,"startedOn":"2023-12-10T18:11:51.547Z"},"effective":{"id":"free","name":"GitKraken","bundle":false,"cancelled":false,"trialReactivationCount":0,"startedOn":"2023-12-10T18:11:51.547Z"}},"state":2,"previewTrial":{"startedOn":"2023-12-10T18:12:14.872Z","expiresOn":"2023-12-14T07:59:59.999Z"}}) completed [0ms]
[2024-06-27 16:19:22.323] [ 4f] AccountAuthenticationProvider.removeSessionsByScopes(e=[gitlens]) completed [0ms]
[2024-06-27 16:19:22.323] [ 3d] SubscriptionService.getOrCreateSession(e=false, t=undefined) completed • No valid session was found [421ms]
[2024-06-27 16:19:22.323] [ 3c] SubscriptionService.ensureSession(e=false) completed [421ms]
[2024-06-27 16:19:22.524] [ 4d] LocalGitProvider.repositorySearchCore(e=d:\source\repos\blazor123\.vscode, t=0, s=[]) returned [] [205ms]
[2024-06-27 16:19:22.524] [ 51] LocalGitProvider.repositorySearchCore(e=d:\source\repos\blazor123\BlazorApp1, t=0, s=[])[2024-06-27 16:19:22.540] [ 27] GitHubIntegration.isConnected returned true [*646ms] (slow)
[2024-06-27 16:19:22.542] [ 51] LocalGitProvider.repositorySearchCore(e=d:\source\repos\blazor123\BlazorApp1, t=0, s=[]) returned [] [17ms]
[2024-06-27 16:19:22.542] [ 4b] LocalGitProvider.repositorySearchCore(e=d:\source\repos\blazor123, t=1) returned [] [282ms]
[2024-06-27 16:19:22.542] [ 47] LocalGitProvider.repositorySearch(d:\source\repos\blazor123) returned 0 repositories [493ms]
[2024-06-27 16:19:22.542] [ 30] LocalGitProvider.discoverRepositories(e=Uri(file:///d:/source/repos/blazor123)) returned [] [*647ms] (slow)
[2024-06-27 16:19:22.542] [ 2f] GitProviderService.discoverRepositoriesCore(e=WorkspaceFolder(uri=file:///d:/source/repos/blazor123)) returned [] [*647ms] (slow)
[2024-06-27 16:19:22.542] [ 52] GitProviderService.setEnabledContext(e=false)
[2024-06-27 16:19:22.542] [ 52] GitProviderService.setEnabledContext(e=false) completed [0ms]
[2024-06-27 16:19:22.542] [ 2e] GitProviderService.discoverRepositories(e=1) completed [*647ms] (slow)
[2024-06-27 16:19:22.542] [ 3b] GitProviderService.discoverRepositories(e=1) completed [*641ms] (slow)
[2024-06-27 16:19:22.542] [ 3a] GitProviderService.registrationComplete completed • repositories=0, workspaceFolders=1, git.autoRepositoryDetection=true [*641ms] (slow)
[2024-06-27 16:19:22.791] [ 54] LocalGitProvider.resetCaches(e=undefined, ...t=providers) completed [0ms]
[2024-06-27 16:19:22.791] [ 55] VslsGitProvider.resetCaches(e=undefined, ...t=providers) completed [0ms]
[2024-06-27 16:19:22.791] [ 56] GitHubGitProvider.resetCaches(providers) completed [0ms]
[2024-06-27 16:19:22.791] [ 53] GitProviderService.resetCaches(providers) completed [0ms]
[2024-06-27 16:19:22.791] [ 57] GitProviderService.setEnabledContext(e=false)
[2024-06-27 16:19:22.791] [ 57] GitProviderService.setEnabledContext(e=false) completed [0ms][2024-06-27 16:19:23.061] [ 58] LineAnnotationController.refresh
[2024-06-27 16:19:23.061] [ 58] LineAnnotationController.refresh completed [0ms][2024-06-27 16:19:28.084] [ 5a] FocusProvider.getCategorizedItems(e=force=true)
[2024-06-27 16:19:28.084] [ 5b] FocusProvider.getEnrichedItems(e=force=true)
[2024-06-27 16:19:28.084] [ 5c] EnrichmentService.get(e=undefined, t=undefined)
[2024-06-27 16:19:28.084] [ 5d] SubscriptionService.ensureSession(e=false)
[2024-06-27 16:19:28.084] [ 5e] FocusProvider.getPullRequestsWithSuggestionCounts(e=force=true)
[2024-06-27 16:19:28.084] [ 5f] FocusProvider.fetchPullRequestsWithSuggestionCounts
[2024-06-27 16:19:28.084] [ 60] IntegrationService.getMyPullRequests(e=github)
[2024-06-27 16:19:28.084] [ 5d] SubscriptionService.ensureSession(e=false) completed [0ms]
[2024-06-27 16:19:28.084] [ 61] GitHubIntegration.searchMyPullRequests(e=undefined, t=undefined)
[2024-06-27 16:19:28.084] [ 62] GitHubApi.searchMyPullRequests(e=GitHub, <token>, r={"baseUrl":"https://api.github.com"}, i=undefined)
[2024-06-27 16:19:28.084] [ 63] GitHubApi.searchMyInvolvedPullRequests(e=GitHub, <token>, r={"baseUrl":"https://api.github.com"}, i=undefined)
[2024-06-27 16:19:28.093] [ 5c] EnrichmentService.get
Error: Authentication required
[2024-06-27 16:19:28.093] [ 5c] EnrichmentService.get(e=undefined, t=undefined) completed [9ms]
[2024-06-27 16:19:28.099] [ 5b] FocusProvider.getEnrichedItems(e=force=true) completed [15ms][2024-06-27 16:19:31.872] [ 65] SubscriptionService.ensureSession(e=false)
[2024-06-27 16:19:31.872] [ 65] SubscriptionService.ensureSession(e=false) completed [0ms][2024-06-27 16:19:35.556] [ 100] [GITHUB] POST /graphql query searchMyPullRequests [7470ms]
[2024-06-27 16:19:35.556] [ 63] GitHubApi.searchMyInvolvedPullRequests
Error: Your 'github' credentials do not have the required access
[2024-06-27 16:19:35.556] [ 63] GitHubApi.searchMyInvolvedPullRequests — failed [7471ms]
Error: Your 'github' credentials do not have the required access
[2024-06-27 16:19:35.556] [ 62] GitHubApi.searchMyPullRequests — failed [7471ms]
Error: Your 'github' credentials do not have the required access
[2024-06-27 16:19:35.556] [ 61] GitHubIntegration.searchMyPullRequests
Error: Your 'github' credentials do not have the required access
[2024-06-27 16:19:35.556] [ 61] GitHubIntegration.searchMyPullRequests(e=undefined, t=undefined) completed [*7472ms] (slow)
[2024-06-27 16:19:35.556] [ 60] IntegrationService.getMyPullRequests(e=github) completed [*7472ms] (slow)
[2024-06-27 16:19:35.556] [ 5f] FocusProvider.fetchPullRequestsWithSuggestionCounts Failed to get pull requests
Error: Your 'github' credentials do not have the required access
[2024-06-27 16:19:35.557] [ 5f] FocusProvider.fetchPullRequestsWithSuggestionCounts — failed [7472ms]
Error: Your 'github' credentials do not have the required access
[2024-06-27 16:19:35.557] [ 5e] FocusProvider.getPullRequestsWithSuggestionCounts — failed [7472ms]
Error: Your 'github' credentials do not have the required access
[2024-06-27 16:19:35.557] [ 5a] FocusProvider.getCategorizedItems Failed to get pull requests with suggestion counts
Error: Your 'github' credentials do not have the required access
[2024-06-27 16:19:35.557] [ 5a] FocusProvider.getCategorizedItems(e=force=true) completed [*7473ms] (slow)
I click reauthenticate, complete, here is the updated debug logs:
[2024-06-27 16:20:52.518] [ 67] GitProviderService.onWindowStateChanged(e=focused=false) completed [0ms][2024-06-27 16:22:06.836] [ 68] GitProviderService.onWindowStateChanged(e=focused=false)
[2024-06-27 16:22:06.836] [ 68] GitProviderService.onWindowStateChanged(e=focused=false) completed [0ms]
[2024-06-27 16:22:06.849] [ 69] GitProviderService.onWindowStateChanged(e=focused=true)
[2024-06-27 16:22:06.849] [ 69] GitProviderService.onWindowStateChanged(e=focused=true) completed [0ms]
[2024-06-27 16:22:06.892] [ 6a] GitHubIntegration.reauthenticate
[2024-06-27 16:22:06.895] [ 6c] IntegrationAuthenticationService.getSession(e=github, t={"domain":"github.com","scopes":["repo","read:user","user:email"]}, i={"createIfNeeded":true,"forceNewSession":true})
[2024-06-27 16:22:06.962] [ 6d] GitProviderService.onWindowStateChanged(e=focused=false)
[2024-06-27 16:22:06.962] [ 6d] GitProviderService.onWindowStateChanged(e=focused=false) completed [0ms][2024-06-27 16:22:08.651] [ 6e] GitProviderService.onWindowStateChanged(e=focused=true)
[2024-06-27 16:22:08.651] [ 6e] GitProviderService.onWindowStateChanged(e=focused=true) completed [0ms]
[2024-06-27 16:22:08.804] [ 6f] GitProviderService.onWindowStateChanged(e=focused=false)
[2024-06-27 16:22:08.804] [ 6f] GitProviderService.onWindowStateChanged(e=focused=false) completed [0ms][2024-06-27 16:22:13.128] [ 70] GitProviderService.onWindowStateChanged(e=focused=true)
[2024-06-27 16:22:13.128] [ 70] GitProviderService.onWindowStateChanged(e=focused=true) completed [0ms][2024-06-27 16:22:13.623] [ 74] IntegrationAuthenticationService.getSession(e=github, t={"domain":"github.com","scopes":["repo","read:user","user:email"]}, i={"createIfNeeded":false,"forceNewSession":false})
[2024-06-27 16:22:13.623] [ 6c] IntegrationAuthenticationService.getSession(e=github, t={"domain":"github.com","scopes":["repo","read:user","user:email"]}, i={"createIfNeeded":true,"forceNewSession":true}) completed [*6727ms] (slow)
[2024-06-27 16:22:13.625] [ 6a] GitHubIntegration.reauthenticate completed [*6733ms] (slow)
[2024-06-27 16:22:13.626] [ 74] IntegrationAuthenticationService.getSession(e=github, t={"domain":"github.com","scopes":["repo","read:user","user:email"]}, i={"createIfNeeded":false,"forceNewSession":false}) completed [3ms]
Extension version: 2024.6.2705 VS Code version: Code - Insiders 1.91.0-insider (cb9d1e4589a05bed292f298acba7369e812f8cf1, 2024-06-27T05:50:21.997Z) OS version: Windows_NT x64 10.0.22635 Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 9 3900X 12-Core Processor (24 x 3793) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) | undefined |
| Memory (System) | 127.92GB (91.00GB free) |
| Process Argv | --crash-reporter-id 961e68ed-cec6-437f-8e5f-e44a8abbf88f |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
vsaa593cf:30376535
py29gd2263:31024238
c4g48928:30535728
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythonregdiag2:30926734
pythonmypyd1:30859725
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
cppperfnew:30980852
pythonait:30973460
jchc7451:31067543
chatpanelt:31014475
bdiig495:31013172
a69g1124:31018687
dvdeprecation:31040973
dwnewjupyter:31046869
impr_priority:31057980
nativerepl1:31071684
refactort:31084545
pythonrstrctxt:31083681
@timheuer This can appear if your GitHub token that you've connected to GitLens doesn't have access to the repository or some resource on it that you're trying to connect to. Can you verify that your account or organization has access to the repos/remotes open in your window?
Thank you!
I updated the issue with the debug log outputs. The current workspace I have open isn't even a github repo. Nor do I have any remotes open. Just a local folder and get this prompt.
I am also seeing this prompt all the time on my personal computer. I think it's because I'm part of a github organization that requires SSO, but I cannot login on my personal computer.
I am also seeing this prompt all the time on my personal computer. I think it's because I'm part of a github organization that requires SSO, but I cannot login on my personal computer.
I think I'm having just the same case
I'm tired of getting this prompt and entering my password each time. 🥲
@Avivbens and others experiencing this, would you mind switching to the pre-release version of GitLens and checking if you're still getting these prompts every time you open a window/session?
You can switch to the pre-release edition of GitLens by clicking on the "Switch to Pre-Release version of this extension" from the Extensions view.

@Avivbens and others experiencing this, would you mind switching to the pre-release version of GitLens and checking if you're still getting these prompts every time you open a window/session?
You can switch to the pre-release edition of GitLens by clicking on the "Switch to Pre-Release version of this extension" from the Extensions view.
Thank you for your reply 🤞
Did that already, still the same
@Avivbens Thanks for following up - would you mind posting your debug logs similar to the issue author?
-
Enable debug logging by running the
GitLens: Enable Debug Loggingcommand from the Command Palette (F1orctrl/cmd+shift+p). This will enable logging to the GitLens & GitLens (Git) channels in the Output pane. -
Once enabled, please reproduce the issue, and attach the logs from the GitLens and GitLens (Git) channels.
Thank you!
@Avivbens Hmmm...I'm not seeing the github credentials error in those logs. Would you mind also posting a screenshot of the prompt that you're seeing?
@Avivbens Hmmm...I'm not seeing the github credentials error in those logs. Would you mind also posting a screenshot of the prompt that you're seeing?
Well, the pop-up is not always shown, and many KitKraken features, such as commit blame per line, are just not appearing.
Here is the log you're looking for:
GitLens v15.2.0 activating in Visual Studio Code (1.91.1) on the desktop; language='en', logLevel='error', defaultDateLocale='null' (081d1ada28dec091639e99b5f4717da2648ae0e9b906a2fabbb779cf55161bd1|b9c100b6-f054-4e54-99d4-30a7861bfa3b1721283285705)
To enable debug logging, set `"gitlens.outputLevel: "debug"` or run "GitLens: Enable Debug Logging" from the Command Palette[2024-07-18 06:14:56.179] ServerConnection.getAccessToken
Error: Authentication required
@Avivbens The error in that log is different than the GitHub credentials error originally referred to in this post, and shouldn't cause any notifications to occur. That error is related to GitKraken account authentication - for that, I suggest creating a separate issue and moving your description/repro steps/logs to the new issue so we can investigate it separately.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.