gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
9.04k stars 1.35k forks source link

GitHub request timed out. #3298 #3557

Open brianjmurrell opened 2 months ago

brianjmurrell commented 2 months ago

Type: Bug

https://github.com/gitkraken/vscode-gitlens/issues/3298 was closed and locked before fully resolving the issue.

I still see this issue with current VS Code and GitLens per the version report below.

Extension version: 15.4.0 VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z) OS version: Linux x64 6.10.6-200.fc40.x86_64 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 x 3799)| |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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off| |Load (avg)|2, 2, 2| |Memory (System)|62.44GB (42.70GB free)| |Process Argv|--crash-reporter-id d33a766b-28e9-45e5-942d-3a9085ddc0c0| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|gnome| |XDG_CURRENT_DESKTOP|GNOME| |XDG_SESSION_DESKTOP|gnome| |XDG_SESSION_TYPE|x11|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 724cj586:31013169 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 2f103344:31071589 impr_priority:31102340 nativerepl2:31104044 refactort:31108082 pythonrstrctxt:31112756 flightc:31119335 wkspc-onlycs-c:31111717 wkspc-ranged-c:31125598 fje88620:31121564 aajjf12562cf:31125794 ```
brianjmurrell commented 2 months ago

After enabling debug output I see the following in the debug log:

[2024-09-09 15:12:11.132] [  17e →   17f] GitHubApi.searchMyPullRequests(e=GitHub, <token>, r={"baseUrl":"https://api.github.com","silent":true}, i=undefined)
…
[2024-09-09 15:12:34.909] [  17e →   17f] GitHubApi.searchMyPullRequests 
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.909] [  225 →   226] GitHubIntegration.trackRequestException
[2024-09-09 15:12:34.909] [  225 →   226] GitHubIntegration.trackRequestException completed [0ms]
[2024-09-09 15:12:34.909] ShowMessage(error, 'GitHub request timed out.', suppressIntegrationRequestTimedOutWarning, {"title":"Don't Show Again"})
[2024-09-09 15:12:34.910] [  17e →   17f] GitHubApi.searchMyPullRequests 
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  17e →   17f] GitHubApi.searchMyPullRequests — failed [23777ms]
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  17a →   17b] GitHubIntegration.searchMyPullRequests 
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  17a →   17b] GitHubIntegration.searchMyPullRequests(e=undefined, t=undefined, r=true) completed [*23778ms] (slow)
[2024-09-09 15:12:34.910] [  179 →   17a] IntegrationService.getMyPullRequests(e=github,gitlab, i=true) completed [*23778ms] (slow)
[2024-09-09 15:12:34.910] [  178 →   179] FocusProvider.fetchPullRequestsWithSuggestionCounts Failed to get pull requests
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  178 →   179] FocusProvider.fetchPullRequestsWithSuggestionCounts — failed [23779ms]
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  177 →   178] FocusProvider.getPullRequestsWithSuggestionCounts — failed [23779ms]
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
[2024-09-09 15:12:34.910] [  173 →   174] FocusProvider.getCategorizedItems Failed to get pull requests with suggestion counts
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `3DFC:AF1DA:10F3353D:111C189D:66DF1058` when reporting this issue."}]}
brianjmurrell commented 2 months ago

Anything here? This continues to be very distracting as the dialog pops up frequently.

sayhiben commented 1 week ago

I have the same issue running in Codespaces on a GitHub repo that has SSO authentication. I have no idea if the SSO or Codespaces are relevant, but it's annoying

Image

[2024-11-19 08:15:14.578] [   8b →    8c] GitProviderService.getFirstCommitSha(e=Uri(file:///workspaces/web)) returned 693b3ce3ac3ef443984a256401adb843f3ca0dee [*13765ms] (slow)
[2024-11-19 08:15:18.089] [           df] [GITHUB] POST /graphql  query searchMyPullRequests [10524ms]
[2024-11-19 08:15:18.090] [   dd →    de] GitHubApi.searchMyPullRequests 
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `B084:56C80:5879A96:5918C76:673C490B` when reporting this issue."}]}
[2024-11-19 08:15:18.090] [   e4 →    e5] GitHubIntegration.trackRequestException
[2024-11-19 08:15:18.090] [   e4 →    e5] GitHubIntegration.trackRequestException completed [0ms]
[2024-11-19 08:15:18.090] ShowMessage(error, 'GitHub request timed out.', suppressIntegrationRequestTimedOutWarning, {"title":"Don't Show Again"})
[2024-11-19 08:15:18.090] [   dd →    de] GitHubApi.searchMyPullRequests 
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `B084:56C80:5879A96:5918C76:673C490B` when reporting this issue."}]}
[2024-11-19 08:15:18.091] [   dd →    de] GitHubApi.searchMyPullRequests — failed [10527ms]
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `B084:56C80:5879A96:5918C76:673C490B` when reporting this issue."}]}
[2024-11-19 08:15:18.091] [   d8 →    d9] GitHubIntegration.searchMyPullRequests 
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `B084:56C80:5879A96:5918C76:673C490B` when reporting this issue."}]}
[2024-11-19 08:15:18.091] [   d8 →    d9] GitHubIntegration.searchMyPullRequests(e=undefined, t=undefined, r=true) completed [*10532ms] (slow)
[2024-11-19 08:15:18.091] [   d7 →    d8] IntegrationService.getMyPullRequests(e=github,gitlab, i=true) completed [*10533ms] (slow)
[2024-11-19 08:15:18.091] [   d6 →    d7] LaunchpadProvider.fetchPullRequestsWithSuggestionCounts Failed to get pull requests
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `B084:56C80:5879A96:5918C76:673C490B` when reporting this issue."}]}
[2024-11-19 08:15:18.091] [   d6 →    d7] LaunchpadProvider.fetchPullRequestsWithSuggestionCounts — failed [10533ms]
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `B084:56C80:5879A96:5918C76:673C490B` when reporting this issue."}]}
[2024-11-19 08:15:18.091] [   d5 →    d6] LaunchpadProvider.getPullRequestsWithSuggestionCounts — failed [10533ms]
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `B084:56C80:5879A96:5918C76:673C490B` when reporting this issue."}]}
[2024-11-19 08:15:18.091] [   d1 →    d2] LaunchpadProvider.getCategorizedItems Failed to get pull requests with suggestion counts
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `B084:56C80:5879A96:5918C76:673C490B` when reporting this issue."}]}
[2024-11-19 08:15:18.091] [   d1 →    d2] LaunchpadProvider.getCategorizedItems(e=force=true) completed [*10534ms] (slow)
[2024-11-19 08:15:19.144] loadLocalRepoDataMap
EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open '/home/codespace/.gk/repoMapping.json'
[2024-11-19 08:15:19.585] [   85 →    86] GitProviderService.addRepositoriesToPathMap(e=[F(/workspaces/web)]) completed [*18773ms] (slow)