Skip to content

gopls: automated issue report (initialization) #3721

Open
@yangly0815

Description

@yangly0815

gopls version: v0.18.1/go1.23.7
gopls flags: gotoLocation
update flags: proxy
extension version: 0.47.1
environment: Visual Studio Code win32
initialization error: Error: Pending response rejected since connection got disposed
issue timestamp: Mon, 17 Mar 2025 11:45:57 GMT
restart history:
Mon, 17 Mar 2025 11:30:36 GMT: activation (enabled: true)
Mon, 17 Mar 2025 11:45:55 GMT: manual (enabled: true)

ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.

Describe what you observed.

Please attach the stack trace from the crash.
A window with the error message should have popped up in the lower half of your screen.
Please copy the stack trace and error messages from that window and paste it in this issue.

Failed to auto-collect gopls trace: no gopls log.

gopls stats -anon { "DirStats": { "Files": 1033, "TestdataFiles": 0, "GoFiles": 266, "ModFiles": 1, "Dirs": 150 }, "GOARCH": "amd64", "GOOS": "windows", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.23.7", "GoplsVersion": "v0.18.1", "InitialWorkspaceLoadDuration": "282.6192ms", "MemStats": { "HeapAlloc": 101799120, "HeapInUse": 103882752, "TotalAlloc": 108430736 }, "WorkspaceStats": { "Files": { "Total": 2, "Largest": 15475, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.23.7", "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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions