vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

GitHub request timed out. #3298

Open brianjmurrell opened this issue 1 year ago • 10 comments

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 avatar Sep 09 '24 14:09 brianjmurrell

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 avatar Sep 09 '24 15:09 brianjmurrell

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

brianjmurrell avatar Sep 17 '24 13:09 brianjmurrell

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)

sayhiben avatar Nov 19 '24 08:11 sayhiben

Same for me. Any progress on this? Happens only in orgzanization

Image

[2024-12-05 06:04:30.796] R
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 `F6C2:315E79:4A8DA10:4C4F962:67514264` when reporting this issue."}]}
[2024-12-05 06:04:30.797] R
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 `F6C2:315E79:4A8DA10:4C4F962:67514264` when reporting this issue."}]}
[2024-12-05 06:04:30.797] R
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 `F6C2:315E79:4A8DA10:4C4F962:67514264` when reporting this issue."}]}
[2024-12-05 06:04:30.797] R — 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 `F6C2:315E79:4A8DA10:4C4F962:67514264` when reporting this issue."}]}
[2024-12-05 06:04:30.797] R — 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 `F6C2:315E79:4A8DA10:4C4F962:67514264` when reporting this issue."}]}
[2024-12-05 06:15:01.976] /Users/bogdanromashko/.vscode/extensions/eamodio.gitlens-16.0.4/dist/gitlens.js:1141:4786
Error: Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false -c log.showSignature=false -c diff.renameLimit=0 log --format=%x3c%x2ff%x3e%n%x3cr%x3e%x20%H%n%x3ca%x3e%x20%aN%n%x3ce%x3e%x20%aE%n%x3cd%x3e%x20%at%n%x3cn%x3e%x20%cN%n%x3cm%x3e%x20%cE%n%x3cc%x3e%x20%ct%n%x3cp%x3e%x20%P%n%x3cs%x3e%n%B%n%x3c%x2fs%x3e%n%x3cf%x3e -M --name-status --full-history -m --no-min-parents -n3 20b0ffc5aafe8cf35f061216ba217e02460ebc55 --
fatal: bad object 20b0ffc5aafe8cf35f061216ba217e02460ebc55

bodzin89 avatar Dec 05 '24 06:12 bodzin89

+1 report -

aronchick avatar Dec 12 '24 19:12 aronchick

Also having this issue: Image

skmcloughlin avatar Jan 02 '25 17:01 skmcloughlin

If I wait long enough, eventually I get these errors as well (see the continuation from timestamps)Image Unfortunately, re-authenticating does not resolve the issue

skmcloughlin avatar Jan 02 '25 17:01 skmcloughlin

Same Issue here:

To enable debug logging, set `"gitlens.outputLevel": "debug"` or run "GitLens: Enable Debug Logging" from the Command Palette

2025-02-14 15:23:55.258 [info] [2025-02-14 15:23:54.748] b
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 `DCCF:E4942:4E1A86:65BB8C:67AF5FFF` when reporting this issue."}]}
[2025-02-14 15:23:54.748] b
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 `DCCF:E4942:4E1A86:65BB8C:67AF5FFF` when reporting this issue."}]}
[2025-02-14 15:23:54.748] b
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 `DCCF:E4942:4E1A86:65BB8C:67AF5FFF` when reporting this issue."}]}
[2025-02-14 15:23:54.749] b — 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 `DCCF:E4942:4E1A86:65BB8C:67AF5FFF` when reporting this issue."}]}
[2025-02-14 15:23:54.749] b — 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 `DCCF:E4942:4E1A86:65BB8C:67AF5FFF` when reporting this issue."}]}

Image

lucian-duta avatar Feb 14 '25 15:02 lucian-duta

this still happens very frequently, it's becoming annoying.

KRRT7 avatar Mar 22 '25 19:03 KRRT7

Still happening in eamodio.gitlens version 17.1.1 (Last Updated: 2025-06-07, 14:09:09)

Notification "toast" pop-up window says: "GitHub request timed out."

GitLens Output channel logs say:

[2025-06-09 14:28:52.557] b — Failed to get pull requests
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query on 2025-06-09T14:28:52+00:00. This may be the result of a timeout, or it could be a GitHub bug. Please include `B30C:3A8762:12AFFE:257C59:6846EF9A` when reporting this issue."}]}
[2025-06-09 14:28:52.557] b — Failed to get pull requests with suggestion counts
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query on 2025-06-09T14:28:52+00:00. This may be the result of a timeout, or it could be a GitHub bug. Please include `B30C:3A8762:12AFFE:257C59:6846EF9A` when reporting this issue."}]}

trinitronx avatar Jun 09 '25 15:06 trinitronx