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

Open
karvir26 opened this issue Nov 11, 2024 · 1 comment
Open

gopls: automated issue report (initialization) #3596

karvir26 opened this issue Nov 11, 2024 · 1 comment
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@karvir26
Copy link

gopls version: v0.9.1/go1.23.3
gopls flags: --check-go-version=false
update flags: off
extension version: 0.42.1
environment: Visual Studio Code linux
initialization error: Error: Pending response rejected since connection got disposed
issue timestamp: Mon, 11 Nov 2024 11:53:47 GMT
restart history:
Mon, 11 Nov 2024 11:28:39 GMT: activation (enabled: true)
Mon, 11 Nov 2024 11:30:30 GMT: manual (enabled: true)
Mon, 11 Nov 2024 11:46:51 GMT: installation (enabled: true)
Mon, 11 Nov 2024 11:51:34 GMT: config change (enabled: false)
Mon, 11 Nov 2024 11:52:18 GMT: config change (enabled: true)
Mon, 11 Nov 2024 11:53:47 GMT: config change (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 gopls stats -anon failed after 60 ms. Please check if gopls is killed by OS.

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

hyangah commented Nov 11, 2024

--check-go-version=false is not a valid gopls flag. Can you please check your vscode setting?

And, also it looks like the gopls version is very old. (v0.9.1)
The latest version is v0.16.x currently. Looks like the extension tried to update at some point, but the gopls is still stuck in the old version. Can you share what was printed in the "Go" Output channel?

@hyangah hyangah added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Nov 11, 2024
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