golang / vscode-go

Go extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=golang.Go
Other
3.78k stars 727 forks source link

gopls: automated issue report (initialization) #3402

Open Astar75 opened 1 month ago

Astar75 commented 1 month ago

gopls version: v0.15.3/go1.22.3 gopls flags: update flags: proxy extension version: 0.41.4 environment: Visual Studio Code win32 initialization error: Error: Pending response rejected since connection got disposed issue timestamp: Sat, 25 May 2024 08:46:21 GMT restart history: Sat, 25 May 2024 08:45:09 GMT: activation (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": 13, "TestdataFiles": 0, "GoFiles": 0, "ModFiles": 0, "Dirs": 10 }, "GOARCH": "amd64", "GOOS": "windows", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.22.3", "GoplsVersion": "v0.15.3", "InitialWorkspaceLoadDuration": "23.3268ms", "MemStats": { "HeapAlloc": 3512576, "HeapInUse": 6242304, "TotalAlloc": 25131640 }, "WorkspaceStats": { "Files": { "Total": 0, "Largest": 0, "Errs": 0 }, "Views": null } }
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.
adonovan commented 4 weeks ago

Thanks for the report. Can you please share the log you see in the gopls output channel and tell us when you observed this popup (e.g. I was updating gopls, I just opened the vscode, I did refactoring, ...)? Screen Shot 2021-01-27 at 2 53 49 PM