Skip to content

gopls: automated issue report (initialization) #3927

@sGo7-Dev

Description

@sGo7-Dev

gopls version: v0.20.0/go1.25.1 X:nodwarf5
gopls flags: -rpc.trace gopls -vv
update flags: proxy
extension version: 0.50.0
environment: Visual Studio Code linux
initialization error: Error: Pending response rejected since connection got disposed
issue timestamp: Mon, 24 Nov 2025 16:11:22 GMT
restart history:
Mon, 24 Nov 2025 16:04:03 GMT: manual (enabled: true)
Mon, 24 Nov 2025 16:05:03 GMT: manual (enabled: true)
Mon, 24 Nov 2025 16:06:30 GMT: manual (enabled: true)
Mon, 24 Nov 2025 16:07:30 GMT: manual (enabled: true)
Mon, 24 Nov 2025 16:08:39 GMT: config change (enabled: true)
Mon, 24 Nov 2025 16:08:42 GMT: config change (enabled: true)
Mon, 24 Nov 2025 16:08:45 GMT: config change (enabled: true)
Mon, 24 Nov 2025 16:09:01 GMT: config change (enabled: true)
Mon, 24 Nov 2025 16:09:07 GMT: config change (enabled: true)
Mon, 24 Nov 2025 16:09:20 GMT: config change (enabled: true)
Mon, 24 Nov 2025 16:11:19 GMT: manual (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": 5, "TestdataFiles": 0, "GoFiles": 2, "ModFiles": 1, "Dirs": 4 }, "GOARCH": "amd64", "GOOS": "linux", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.25.1 X:nodwarf5", "GoplsVersion": "v0.20.0", "InitialWorkspaceLoadDuration": "1.670396724s", "MemStats": { "HeapAlloc": 120380272, "HeapInUse": 128253952, "TotalAlloc": 287898632 }, "WorkspaceStats": { "Files": { "Total": 614, "Largest": 243953, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.25.1", "AllPackages": { "Packages": 73, "LargestPackage": 175, "CompiledGoFiles": 610, "Modules": 2 }, "WorkspacePackages": { "Packages": 2, "LargestPackage": 1, "CompiledGoFiles": 2, "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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions