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

Language server crashes after a few seconds #677

Open
Thomas1664 opened this issue Nov 12, 2024 · 0 comments
Open

Language server crashes after a few seconds #677

Thomas1664 opened this issue Nov 12, 2024 · 0 comments

Comments

@Thomas1664
Copy link

Thomas1664 commented Nov 12, 2024

After a few seconds, the language server crashes every time. When I hover over function names, I get the help text only for a few seconds. When I try again after a couple of seconds, it only shows Loading....

I'm using the extension in a x86 Linux development container on my MacBook (Apple chip).

Output:

[Error - 7:35:41 AM] Client R Language Server: connection to server is erroring.
read ECONNRESET
[Error - 7:35:41 AM] Client R Language Server: connection to server is erroring.
read ECONNRESET
R Language Server (2347) exited from signal SIGKILL
[Error - 7:35:41 AM] Client R Language Server: connection to server is erroring.
Cannot call write after a stream was destroyed
[Error - 7:35:41 AM] Client R Language Server: connection to server is erroring.
Cannot call write after a stream was destroyed
[Error - 7:35:41 AM] Client R Language Server: connection to server is erroring.
Cannot call write after a stream was destroyed
[Error - 7:35:41 AM] Updating trace failed with error
Error: Cannot call write after a stream was destroyed
    at _write (node:internal/streams/writable:489:11)
    at Socket.Writable.write (node:internal/streams/writable:508:10)
    at /home/vscode/.vscode-server/extensions/reditorsupport.r-2.8.4/dist/extension.js:2:518517
    at new Promise (<anonymous>)
    at s.write (/home/vscode/.vscode-server/extensions/reditorsupport.r-2.8.4/dist/extension.js:2:518435)
    at E.doWrite (/home/vscode/.vscode-server/extensions/reditorsupport.r-2.8.4/dist/extension.js:2:506035)
    at /home/vscode/.vscode-server/extensions/reditorsupport.r-2.8.4/dist/extension.js:2:505930
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:454:9)
[Error - 7:35:41 AM] Client R Language Server: connection to server is erroring.
Cannot call write after a stream was destroyed
[Error - 7:35:41 AM] Stopping server failed
  Message: Cannot call write after a stream was destroyed
  Code: -32099 

or

R Language Server (4463) exited from signal SIGKILL
[Error - 7:47:01 AM] Client R Language Server: connection to server is erroring.
This socket has been ended by the other party
[Error - 7:47:01 AM] Request textDocument/hover failed.
  Message: This socket has been ended by the other party
  Code: -32099 
[Error - 7:47:02 AM] Client R Language Server: connection to server is erroring.
This socket has been ended by the other party
[Error - 7:47:02 AM] Request textDocument/hover failed.
  Message: This socket has been ended by the other party
  Code: -32099 
[Error - 7:47:02 AM] Client R Language Server: connection to server is erroring.
This socket has been ended by the other party
[Error - 7:47:02 AM] Request textDocument/hover failed.
  Message: This socket has been ended by the other party
  Code: -32099 
[Error - 7:47:02 AM] Client R Language Server: connection to server is erroring.
This socket has been ended by the other party
[Error - 7:47:02 AM] Request textDocument/hover failed.
  Message: This socket has been ended by the other party
  Code: -32099 
[Error - 7:47:02 AM] Client R Language Server: connection to server is erroring.
This socket has been ended by the other party
[Error - 7:47:02 AM] Client R Language Server: connection to server is erroring.
This socket has been ended by the other party
[Error - 7:47:02 AM] Client R Language Server: connection to server is erroring.
This socket has been ended by the other party
[Error - 7:47:02 AM] Stopping server failed
  Message: This socket has been ended by the other party
  Code: -32099 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant