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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lsp-server] 馃悶 Pending response rejected since connection got disposed #3547

Closed
1 task done
M1CK431 opened this issue Mar 5, 2024 · 4 comments
Closed
1 task done
Labels
bug lsp-server graphql-language-service-server

Comments

@M1CK431
Copy link

M1CK431 commented Mar 5, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Server crash with stacktrace:

Node.js v18.17.1
[Error - 14:12:42] The vscode-graphql server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
Initialization failed
Pending response rejected since connection got disposed
Error: Pending response rejected since connection got disposed
	at Object.dispose (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:29:4460)
	at Object.dispose (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:39:22314)
	at Ll.handleConnectionClosed (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:39:12275)
	at Ll.handleConnectionClosed (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:39:50478)
	at t (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:39:11956)
	at ia.invoke (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:2:14331)
	at n.fire (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:2:15100)
	at Lt (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:3:6456)
	at ia.invoke (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:2:14331)
	at n.fire (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:2:15100)
	at Pa.fireClose (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:2:17355)
	at ChildProcess.<anonymous> (/home/user/.vscode-oss/extensions/graphql.vscode-graphql-0.9.2-universal/out/extension.js:29:13076)
	at ChildProcess.emit (node:events:526:35)
	at maybeClose (node:internal/child_process:1091:16)
	at Process.onexit (node:internal/child_process:302:5)
[Error - 14:12:42] vscode-graphql client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 14:12:42] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097

Expected Behavior

LSP server start!

Steps To Reproduce

Just install GraphQL: Language Feature Support v0.9.2 and restart vscode

Environment

  • LSP Server Version: 0.9.2
  • OS: Archlinux
  • LSP Client: vscode 1.87.0 (oss edition)

Anything else?

running npm i in the extension folder workaround the issue so seems to be the same root cause as #3516

@M1CK431 M1CK431 added bug lsp-server graphql-language-service-server labels Mar 5, 2024
@acao
Copy link
Member

acao commented Mar 5, 2024

is this via ovsx or vscode marketplace? There is a known issue with OVSX that we still need to fix.

@M1CK431
Copy link
Author

M1CK431 commented Mar 5, 2024

ovsx.

There is a known issue with OVSX that we still need to fix.

Interesting! Do you have a link? 馃檹馃徏

@acao
Copy link
Member

acao commented Mar 5, 2024

@M1CK431 even better, I have a new release for you to try! Please let me know if 0.9.3 fixes that issue at least

@M1CK431
Copy link
Author

M1CK431 commented Mar 5, 2024

You are the best! It works now 馃憦馃徏 馃帀 馃嵕 馃弳 馃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug lsp-server graphql-language-service-server
Projects
None yet
Development

No branches or pull requests

2 participants