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

Open
zhuangms opened this issue Jul 29, 2024 · 2 comments
Open

gopls: automated issue report (initialization) #3474

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

Comments

@zhuangms
Copy link

gopls version: v0.16.1/go1.22.5
gopls flags: -remote=auto”、“-logfile=auto”、“-debug=:0”、“-rpc.trace
update flags: proxy
extension version: 0.42.0
environment: Visual Studio Code linux
initialization error: Error: Pending response rejected since connection got disposed
issue timestamp: Mon, 29 Jul 2024 11:59:11 GMT
restart history:
Mon, 29 Jul 2024 11:53:28 GMT: activation (enabled: true)
Mon, 29 Jul 2024 11:59:02 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": 13352, "TestdataFiles": 4476, "GoFiles": 6621, "ModFiles": 58, "Dirs": 4541 }, "GOARCH": "amd64", "GOOS": "linux", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.22.5", "GoplsVersion": "v0.16.1", "InitialWorkspaceLoadDuration": "97.24767ms", "MemStats": { "HeapAlloc": 4670696, "HeapInUse": 6979584, "TotalAlloc": 12006832 }, "WorkspaceStats": { "Files": { "Total": 0, "Largest": 0, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.22.5", "AllPackages": { "Packages": 0, "LargestPackage": 0, "CompiledGoFiles": 0, "Modules": 0 }, "WorkspacePackages": { "Packages": 0, "LargestPackage": 0, "CompiledGoFiles": 0, "Modules": 0 }, "Diagnostics": 0 } ] } }

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

hyangah commented Aug 4, 2024

@zhuangms Looks like the setting around the "go.languageServerFlags" setting has errors. Can you open the settings.json file, correct the errors, and reload the window?

@hyangah hyangah added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Aug 4, 2024
@zhuangms
Copy link
Author

zhuangms commented Aug 12, 2024 via email

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