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

Closed
Nizom98 opened this issue Feb 2, 2021 · 3 comments
Closed

gopls: automated issue report (initialization) #1171

Nizom98 opened this issue Feb 2, 2021 · 3 comments
Labels
automatedReport Automatically created issues FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@Nizom98
Copy link

Nizom98 commented Feb 2, 2021

gopls version: v0.6.4
gopls flags:
extension version: 0.22.0
environment: Visual Studio Code

ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.

Describe what you observed.

Starting client failed
  Message: unsupported URI schemes: [{ssh://izba/ SSH FS - izba}] (gopls only supports file URIs)
  Code: 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>

@stamblerre
Copy link
Contributor

The language server cannot handle SSH URIs (see #1160).
@hyangah has suggested a few alternatives, like dev containers or VSCode Remote - SSH or Remote -WSL. If those alternatives don't work, the best workaround would be to disable the language server with the setting "go.useLanguageServer": false.

@stamblerre stamblerre added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Feb 2, 2021
@gopherbot
Copy link
Collaborator

Change https://golang.org/cl/289197 mentions this issue: goLanguageServer: disable the language server with SSH URIs

@gopherbot
Copy link
Collaborator

Change https://golang.org/cl/289329 mentions this issue: [release] goLanguageServer: disable the language server with SSH URIs

@hyangah hyangah added this to the v0.22.1 milestone Feb 3, 2021
gopherbot pushed a commit that referenced this issue Feb 3, 2021
This is another case, like VSLS, where the language server should be
running remotely.

Fixes #1171

Change-Id: Ic4d2ceac8f1b72cb6742540092e8c32f58a6efd9
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/289197
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Trust: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
(cherry picked from commit 2c40d20)
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/289329
@hyangah hyangah added the automatedReport Automatically created issues label Mar 13, 2021
@golang golang locked and limited conversation to collaborators Mar 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automatedReport Automatically created issues FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants