gopls: automated issue report (initialization)
gopls version: v0.19.1/go1.24.4 gopls flags: -rpc.trace -logfile=auto -debug=:0 -cache.dir=/tmp/gopls-cache update flags: proxy extension version: 0.48.0 environment: Visual Studio Code linux initialization error: Error: Pending response rejected since connection got disposed issue timestamp: Sun, 06 Jul 2025 11:14:55 GMT restart history: Sun, 06 Jul 2025 11:14:54 GMT: activation (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": 483, "TestdataFiles": 0, "GoFiles": 45, "ModFiles": 1, "Dirs": 243 }, "GOARCH": "amd64", "GOOS": "linux", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.24.4", "GoplsVersion": "v0.19.1", "InitialWorkspaceLoadDuration": "1.470551733s", "MemStats": { "HeapAlloc": 168129144, "HeapInUse": 196493312, "TotalAlloc": 1571964608 }, "WorkspaceStats": { "Files": { "Total": 2184, "Largest": 2225554, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.24.4", "AllPackages": { "Packages": 362, "LargestPackage": 173, "CompiledGoFiles": 2207, "Modules": 34 }, "WorkspacePackages": { "Packages": 16, "LargestPackage": 20, "CompiledGoFiles": 64, "Modules": 1 }, "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>