-
Notifications
You must be signed in to change notification settings - Fork 797
gopls client: couldn't create connection to server - go v0.39.1 #2880
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
Comments
What is the gopls version?
|
When I try to get the version value using the command |
Then, please run "Go: Locate Configured Go Tools" to find the location of the Previously, I saw someone built gopls with modified go stdlib which has strayed debug print message, which killed the lsp communication and experienced similar issues. So, I want to rule this possibility out. |
golang.org/x/tools/gopls v0.12.4 |
@hyangah I was facing the same issues with @kill-rill1996, gopls version v0.12.4 which is the latest version. Is there any solution to solve it? |
@kill-rill1996 Can you please reinstall gopls using "Go: Install/Update Tools" menu and retry? It looks like the gopls is in @kill-rill1996 @oscarchuaweiwen-fsd Can you please capture the output you see from the OUTPUT channels (both gopls and gopls (server)) with the following vscode setting?
Thanks. |
I am having this problem too. gopls (server) output:
gopls output:
|
Go output:
Gopls (server) output:
gopls output clear |
@jmml97 It looks like you have run into golang/go#61190. @kill-rill1996 could you run |
golang.org/x/tools/gopls v0.12.4 |
@kill-rill1996 are you still experiencing this? Can you try updating gopls to the latest version?
Thanks. |
Yes, i still have this problem. updating will not solve this problem, I already tried. |
@kill-rill1996 This We keep asking to run |
|
Thanks @kill-rill1996 The message ( |
I deleted this. When i tried to reinstall, i got this message:
|
@kill-rill1996 it looks like you are running into https://go.dev/issue/61229, a bug in Apple's new linker. Are you able to upgrade to Xcode 15 beta 6 or later? See golang/go#61190 (comment) |
Hello team, I am also facing the same issue on Mac M2 Pro.
|
I am also facing the same issue on Mac M1 |
this works for me. pls check |
@laik could you specifically try #3085 (comment)? @hyangah I think this issue is no longer directly actionable (as far as I know the only current cause of this would be #3085). Should we close? |
Looks like this issue is a mix of different root causes and problems. |
Type: Bug
I've got problem with installing extention Go v0.39.1.
Errors (pop-up notifications):
Output:
POMOFO LETTER GNBOPOMOF[Info - 22:14:20]
true
[Error - 22:14:20] gopls client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
POMOFO LETTER GNBOPOMOF[Error - 22:14:20] The gopls server failed to initialize.
[Error - 22:14:20] gopls client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
Error starting language server: Error: Pending response rejected since connection got disposed
Extension version: 0.39.1
VS Code version: Code 1.80.1 (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:20:58.115Z)
OS version: Darwin arm64 22.5.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: