Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gopls: automated issue report (initialization) #3458

Closed
MollyWM opened this issue Jul 18, 2024 · 2 comments
Closed

gopls: automated issue report (initialization) #3458

MollyWM opened this issue Jul 18, 2024 · 2 comments
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@MollyWM
Copy link

MollyWM commented Jul 18, 2024

gopls version: (devel)/go1.22.5
gopls flags: -logfile /path/to/logfile.log -rpc.trace -debug=:0
update flags: proxy
extension version: 0.42.0
environment: Visual Studio Code darwin
initialization error: Error: Pending response rejected since connection got disposed
issue timestamp: Thu, 18 Jul 2024 03:37:09 GMT
restart history:
Thu, 18 Jul 2024 03:20:18 GMT: config change (enabled: false)
Thu, 18 Jul 2024 03:20:24 GMT: config change (enabled: false)
Thu, 18 Jul 2024 03:20:27 GMT: config change (enabled: false)
Thu, 18 Jul 2024 03:20:37 GMT: config change (enabled: false)
Thu, 18 Jul 2024 03:20:45 GMT: config change (enabled: false)
Thu, 18 Jul 2024 03:31:37 GMT: config change (enabled: false)
Thu, 18 Jul 2024 03:31:39 GMT: config change (enabled: true)
Thu, 18 Jul 2024 03:32:00 GMT: config change (enabled: false)
Thu, 18 Jul 2024 03:32:10 GMT: config change (enabled: true)
Thu, 18 Jul 2024 03:37:08 GMT: config change (enabled: false)
Thu, 18 Jul 2024 03:37:09 GMT: config change (enabled: true)

ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.

Describe what you observed.

gopls client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
gopls stats -anon { "DirStats": { "Files": 70, "TestdataFiles": 0, "GoFiles": 37, "ModFiles": 1, "Dirs": 35 }, "GOARCH": "arm64", "GOOS": "darwin", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.22.5", "GoplsVersion": "(devel)", "InitialWorkspaceLoadDuration": "3.532776458s", "MemStats": { "HeapAlloc": 23093072, "HeapInUse": 33456128, "TotalAlloc": 41927600 }, "WorkspaceStats": { "Files": { "Total": 1624, "Largest": 395026, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.22.5", "AllPackages": { "Packages": 287, "LargestPackage": 155, "CompiledGoFiles": 1620, "Modules": 25 }, "WorkspacePackages": { "Packages": 17, "LargestPackage": 6, "CompiledGoFiles": 37, "Modules": 1 }, "Diagnostics": 37 } ] } }

OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.

NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.

<OPTIONAL: ATTACH LOGS HERE>

@gopherbot gopherbot added this to the Untriaged milestone Jul 18, 2024
@hyangah
Copy link
Contributor

hyangah commented Jul 18, 2024

Thanks for reporting an issue. Looks like gopls restarted multiple times as the configuration is changed.
Can you tell us what configuration section you were changing?
Do you still experience the issue?

@hyangah hyangah added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jul 18, 2024
@gopherbot
Copy link
Collaborator

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@gopherbot gopherbot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants