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

x/tools/gopls: Workspace never comes up (no response to workspace/configuration) #41976

Closed
evanmoses-okta opened this issue Oct 14, 2020 · 3 comments

Comments

@evanmoses-okta
Copy link

@evanmoses-okta evanmoses-okta commented Oct 14, 2020

ATTENTION: Please answer these questions BEFORE submitting your issue. Thanks!

What did you do?

I started up gopls from Emacs on my (large) work project. All further interaction with gopls times out. Gopls is working fine on my other modules/projects.

What did you expect to see?

A working gopls with completion, jump-to-definition, etc.

What did you see instead?

All interactions with the language server time out. In the gopls logs I can see that there is never a response to workspace/configuration, that is, I see this but there's no corresponding response:

[Trace - 10:09:04.294 AM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf","section":"gopls"},{"scopeUri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf","section":"gopls-go.sudo.wtf"}]}

Gopls sits and uses a tiny bit of CPU and ~7M of memory, but I can't see anything happening. Previous versions of gopls have worked properly on this project, although I'm just returning to it after working on other projects for a while so I'm not sure exactly which version stopped working.

This seems to work just fine (the same file I'm viewing in Emacs):

2020/10/14 10:17:58 Info:2020/10/14 10:17:58 go env for /Users/evanmoses/dev/go/src/go.sudo.wtf
(root /Users/evanmoses/dev/go/src/go.sudo.wtf)
(go version go version go1.14.5 darwin/amd64
)
(valid build configuration = true)
(build flags: [])
GO111MODULE=on
GOINSECURE=
GOMODCACHE=
GONOSUMDB=
GOPRIVATE=
GOROOT=/usr/local/Cellar/go/1.14.5/libexec
GOPROXY=https://proxy.golang.org,direct
GOSUMDB=sum.golang.org
GOCACHE=/Users/evanmoses/Library/Caches/go-build
GOFLAGS=-mod=vendor
GOMOD=/Users/evanmoses/dev/go/src/go.sudo.wtf/go.mod
GONOPROXY=
GOPATH=/Users/evanmoses/dev/go

2020/10/14 10:18:04 Info:2020/10/14 10:18:04 go/packages.Load
	snapshot=0
	directory=/Users/evanmoses/dev/go/src/go.sudo.wtf
	query=[./... builtin]
	packages=364

Build info

golang.org/x/tools/gopls v0.5.1
    golang.org/x/tools/gopls@v0.5.1 h1:AF3Uh7HF08SZpKFfgJO6zfF3bbxyDXWqdkK4kMXiQ1o=
    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
    github.com/google/go-cmp@v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k=
    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
    golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=
    golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=
    golang.org/x/tools@v0.0.0-20200930165741-f1523d29dbb9 h1:1R38tQp22dcHpTKJPjgVa16FhlDy/kHEaCM/ndi/FIc=
    golang.org/x/xerrors@v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
    honnef.co/go/tools@v0.0.1-2020.1.5 h1:nI5egYTGJakVyOryqLs1cQO5dO0ksin5XXs2pspk75k=
    mvdan.cc/gofumpt@v0.0.0-20200802201014-ab5a8192947d h1:t8TAw9WgTLghti7RYkpPmqk4JtQ3+wcP5GgZqgWeWLQ=
    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=
@gopherbot gopherbot added this to the Unreleased milestone Oct 14, 2020
@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Oct 14, 2020

Do you mind sharing a complete gopls log? That will be helpful in diagnosing the issue.
The workspace/configuration does sound like it might be the problem--but that would be an Emacs problem. gopls sends the request to get the configuration for the workspace, so if Emacs doesn't respond, then it would hang.

@evanmoses-okta
Copy link
Author

@evanmoses-okta evanmoses-okta commented Oct 14, 2020

Sure, I've redacted the actual source of the file.

[Trace - 10:09:04.272 AM] Sending request 'initialize - (9460)'.
Params: {"processId":null,"rootPath":"/Users/evanmoses/dev/go/src/go.sudo.wtf","clientInfo":{"name":"emacs","version":"GNU Emacs 27.1 (build 3, x86_64-apple-darwin18.7.0, Carbon Version 158 AppKit 1671.6)\n of 2020-08-11"},"rootUri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf","capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":false},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"snippetSupport":true,"documentationFormat":["markdown"],"resolveAdditionalTextEditsSupport":true},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":false},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]},"versionSupport":true}},"window":{"workDoneProgress":true}},"initializationOptions":null,"workDoneToken":"1"}


[Trace - 10:09:04.273 AM] Received response 'initialize - (9460)' in 0ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor.extract","refactor.rewrite","source.fixAll","source.organizeImports"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"executeCommandProvider":{"commands":["generate","fill_struct","regenerate_cgo","test","tidy","undeclared_name","upgrade_dependency","vendor","extract_variable","extract_function","gc_details","generate_gopls_mod"]},"callHierarchyProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"Build info\n----------\ngolang.org/x/tools/gopls v0.5.1\n    golang.org/x/tools/gopls@v0.5.1 h1:AF3Uh7HF08SZpKFfgJO6zfF3bbxyDXWqdkK4kMXiQ1o=\n    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n    github.com/google/go-cmp@v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k=\n    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n    golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=\n    golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=\n    golang.org/x/tools@v0.0.0-20200930165741-f1523d29dbb9 h1:1R38tQp22dcHpTKJPjgVa16FhlDy/kHEaCM/ndi/FIc=\n    golang.org/x/xerrors@v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=\n    honnef.co/go/tools@v0.0.1-2020.1.5 h1:nI5egYTGJakVyOryqLs1cQO5dO0ksin5XXs2pspk75k=\n    mvdan.cc/gofumpt@v0.0.0-20200802201014-ab5a8192947d h1:t8TAw9WgTLghti7RYkpPmqk4JtQ3+wcP5GgZqgWeWLQ=\n    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n"}}


[Trace - 10:09:04.284 AM] Sending notification 'initialized'.
Params: {}


[Trace - 10:09:04.285 AM] Received request 'window/workDoneProgress/create - (1)'.
Params: {"token":"5577006791947779410"}


[Trace - 10:09:04.294 AM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go","languageId":"go","version":0,"text":"<REDACTED>"}}


[Trace - 10:09:04.294 AM] Sending response 'window/workDoneProgress/create - (1)' in 9ms.
Result: 


[Trace - 10:09:04.294 AM] Received notification '$/progress'.
Params: {"token":"5577006791947779410","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}


[Trace - 10:09:04.294 AM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf","section":"gopls"},{"scopeUri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf","section":"gopls-go.sudo.wtf"}]}


[Trace - 10:09:04.315 AM] Sending request 'textDocument/documentSymbol - (9461)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"}}


[Trace - 10:09:04.334 AM] Sending request 'textDocument/codeAction - (9462)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"range":{"start":{"line":97,"character":4},"end":{"line":97,"character":4}},"context":{"diagnostics":[]}}


[Trace - 10:09:04.334 AM] Sending request 'textDocument/documentLink - (9463)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"}}


[Trace - 10:09:04.335 AM] Sending request 'textDocument/documentHighlight - (9464)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":97,"character":4}}


[Trace - 10:09:04.783 AM] Sending notification '$/cancelRequest'.
Params: {"id":9462}


[Trace - 10:09:04.784 AM] Sending request 'textDocument/codeAction - (9465)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"range":{"start":{"line":97,"character":4},"end":{"line":97,"character":4}},"context":{"diagnostics":[]}}


[Trace - 10:09:04.784 AM] Sending request 'textDocument/documentLink - (9466)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"}}


[Trace - 10:09:04.785 AM] Sending notification '$/cancelRequest'.
Params: {"id":9464}


[Trace - 10:09:04.785 AM] Sending request 'textDocument/documentHighlight - (9467)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":97,"character":4}}


[Trace - 10:09:07.116 AM] Sending request 'textDocument/hover - (9468)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":96,"character":11}}


[Trace - 10:09:07.244 AM] Sending request 'textDocument/hover - (9469)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":95,"character":4}}


[Trace - 10:09:07.764 AM] Sending request 'textDocument/hover - (9470)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":94,"character":11}}


[Trace - 10:09:08.294 AM] Sending notification '$/cancelRequest'.
Params: {"id":9465}


[Trace - 10:09:08.295 AM] Sending request 'textDocument/codeAction - (9471)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"range":{"start":{"line":94,"character":11},"end":{"line":94,"character":11}},"context":{"diagnostics":[]}}


[Trace - 10:09:08.296 AM] Sending request 'textDocument/documentLink - (9472)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"}}


[Trace - 10:09:08.296 AM] Sending notification '$/cancelRequest'.
Params: {"id":9467}


[Trace - 10:09:08.297 AM] Sending request 'textDocument/documentHighlight - (9473)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":94,"character":11}}


[Trace - 10:09:08.298 AM] Sending request 'textDocument/hover - (9474)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":94,"character":11}}


[Trace - 10:10:28.005 AM] Sending notification '$/cancelRequest'.
Params: {"id":9472}


[Trace - 10:10:28.006 AM] Sending notification '$/cancelRequest'.
Params: {"id":9471}


[Trace - 10:10:28.006 AM] Sending notification '$/cancelRequest'.
Params: {"id":9466}


[Trace - 10:10:28.006 AM] Sending notification '$/cancelRequest'.
Params: {"id":9463}


[Trace - 10:10:31.641 AM] Sending request 'textDocument/hover - (9475)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":94,"character":11}}


[Trace - 10:10:32.238 AM] Sending request 'textDocument/codeAction - (9476)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"range":{"start":{"line":94,"character":11},"end":{"line":94,"character":11}},"context":{"diagnostics":[]}}


[Trace - 10:10:32.238 AM] Sending request 'textDocument/documentLink - (9477)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"}}


[Trace - 10:10:32.238 AM] Sending notification '$/cancelRequest'.
Params: {"id":9473}


[Trace - 10:10:32.239 AM] Sending request 'textDocument/documentHighlight - (9478)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":94,"character":11}}


[Trace - 10:10:34.085 AM] Sending notification '$/cancelRequest'.
Params: {"id":9477}


[Trace - 10:10:34.085 AM] Sending notification '$/cancelRequest'.
Params: {"id":9476}


[Trace - 10:10:37.695 AM] Sending request 'textDocument/hover - (9479)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":94,"character":11}}


[Trace - 10:10:38.295 AM] Sending request 'textDocument/codeAction - (9480)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"range":{"start":{"line":94,"character":11},"end":{"line":94,"character":11}},"context":{"diagnostics":[]}}


[Trace - 10:10:38.295 AM] Sending request 'textDocument/documentLink - (9481)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"}}


[Trace - 10:10:38.297 AM] Sending notification '$/cancelRequest'.
Params: {"id":9478}


[Trace - 10:10:38.298 AM] Sending request 'textDocument/documentHighlight - (9482)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":94,"character":11}}


[Trace - 10:10:39.282 AM] Sending notification '$/cancelRequest'.
Params: {"id":9481}


[Trace - 10:10:39.283 AM] Sending notification '$/cancelRequest'.
Params: {"id":9480}


[Trace - 10:29:03.919 AM] Sending notification '$/cancelRequest'.
Params: {"id":9482}


[Trace - 10:29:04.450 AM] Sending notification '$/cancelRequest'.
Params: {"id":9474}


[Trace - 10:29:10.807 AM] Sending request 'textDocument/hover - (9489)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":94,"character":11}}


[Trace - 10:29:11.388 AM] Sending request 'textDocument/codeAction - (9490)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"range":{"start":{"line":94,"character":11},"end":{"line":94,"character":11}},"context":{"diagnostics":[]}}


[Trace - 10:29:11.388 AM] Sending request 'textDocument/documentLink - (9491)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"}}


[Trace - 10:29:11.389 AM] Sending request 'textDocument/documentHighlight - (9492)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":94,"character":11}}


[Trace - 10:29:12.204 AM] Sending request 'textDocument/hover - (9493)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":95,"character":4}}


[Trace - 10:29:12.372 AM] Sending request 'textDocument/hover - (9494)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":96,"character":11}}


[Trace - 10:29:12.524 AM] Sending request 'textDocument/hover - (9495)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":97,"character":4}}


[Trace - 10:29:13.055 AM] Sending notification '$/cancelRequest'.
Params: {"id":9490}


[Trace - 10:29:13.057 AM] Sending request 'textDocument/codeAction - (9496)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"range":{"start":{"line":97,"character":4},"end":{"line":97,"character":4}},"context":{"diagnostics":[]}}


[Trace - 10:29:13.057 AM] Sending request 'textDocument/documentLink - (9497)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"}}


[Trace - 10:29:13.058 AM] Sending notification '$/cancelRequest'.
Params: {"id":9492}


[Trace - 10:29:13.059 AM] Sending request 'textDocument/documentHighlight - (9498)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":97,"character":4}}


[Trace - 10:29:13.060 AM] Sending request 'textDocument/hover - (9499)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":97,"character":4}}


[Trace - 10:29:22.480 AM] Sending request 'textDocument/hover - (9500)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":107,"character":59}}


[Trace - 10:29:22.482 AM] Sending request 'textDocument/hover - (9501)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":107,"character":59}}


[Trace - 10:29:23.011 AM] Sending notification '$/cancelRequest'.
Params: {"id":9496}


[Trace - 10:29:23.012 AM] Sending request 'textDocument/codeAction - (9502)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"range":{"start":{"line":107,"character":59},"end":{"line":107,"character":59}},"context":{"diagnostics":[]}}


[Trace - 10:29:23.012 AM] Sending request 'textDocument/documentLink - (9503)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"}}


[Trace - 10:29:23.012 AM] Sending notification '$/cancelRequest'.
Params: {"id":9498}


[Trace - 10:29:23.013 AM] Sending request 'textDocument/documentHighlight - (9504)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":107,"character":59}}


[Trace - 10:29:23.014 AM] Sending notification '$/cancelRequest'.
Params: {"id":9499}


[Trace - 10:29:23.014 AM] Sending request 'textDocument/hover - (9505)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":107,"character":59}}


[Trace - 10:29:28.061 AM] Sending notification '$/cancelRequest'.
Params: {"id":9503}


[Trace - 10:29:28.061 AM] Sending notification '$/cancelRequest'.
Params: {"id":9502}


[Trace - 10:29:28.061 AM] Sending notification '$/cancelRequest'.
Params: {"id":9497}


[Trace - 10:29:28.061 AM] Sending notification '$/cancelRequest'.
Params: {"id":9491}


[Trace - 10:29:31.938 AM] Sending request 'textDocument/hover - (9506)'.
Params: {"textDocument":{"uri":"file:///Users/evanmoses/dev/go/src/go.sudo.wtf/backend/controller/gateways_test.go"},"position":{"line":107,"character":59}}


@evanmoses-okta
Copy link
Author

@evanmoses-okta evanmoses-okta commented Oct 14, 2020

OK, now that I understand it's a client problem I think I see the problem in lsp-mode, it appears that it's trying to split the project name go.sudo.wtf into smaller segments and erroring out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.