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) #3591

Closed
sauronxg opened this issue Nov 5, 2024 · 2 comments
Closed

gopls: automated issue report (initialization) #3591

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

Comments

@sauronxg
Copy link

sauronxg commented Nov 5, 2024

gopls version: v0.14.2/go1.18
gopls flags: -rpc.trace -memprofile=100MB
update flags: proxy
extension version: 0.42.1
environment: Visual Studio Code win32
initialization error: Error: Pending response rejected since connection got disposed
issue timestamp: Tue, 05 Nov 2024 07:37:08 GMT
restart history:
Tue, 05 Nov 2024 07:30:31 GMT: activation (enabled: true)
Tue, 05 Nov 2024 07:34:17 GMT: config change (enabled: true)
Tue, 05 Nov 2024 07:34:47 GMT: config change (enabled: true)
Tue, 05 Nov 2024 07:37:08 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": 5811, "TestdataFiles": 0, "GoFiles": 334, "ModFiles": 1, "Dirs": 374 }, "GOARCH": "amd64", "GOOS": "windows", "GoVersion": "go1.18", "GoplsVersion": "v0.14.2", "InitialWorkspaceLoadDuration": "2.3115383s", "MemStats": { "HeapAlloc": 75370008, "HeapInUse": 108568576, "TotalAlloc": 291079984 }, "WorkspaceStats": { "Files": { "Total": 5396, "Largest": 1739363, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.18", "AllPackages": { "Packages": 1089, "LargestPackage": 182, "CompiledGoFiles": 5401, "Modules": 127 }, "WorkspacePackages": { "Packages": 83, "LargestPackage": 25, "CompiledGoFiles": 342, "Modules": 1 }, "Diagnostics": 4 } ] } }

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 Nov 5, 2024
@hyangah
Copy link
Contributor

hyangah commented Nov 5, 2024

-memprofile=100MB --> this is not a valid gopld flag. Can you please fix go.languageServerFlags setting?

@ansaba ansaba added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Nov 5, 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 Dec 5, 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

4 participants