question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rust-analyzer.run gives error “Invalid channel id”

See original GitHub issue

Here’s the CocOpenLog output:

2020-08-27T07:56:04.463 INFO (pid:289844) [services] - registered service "rust-analyzer"
2020-08-27T07:56:04.465 INFO (pid:289844) [services] - Rust Analyzer Language Server state change: stopped => starting
2020-08-27T07:56:04.469 INFO (pid:289844) [language-client-index] - Language server "rust-analyzer" started with 289862
2020-08-27T07:56:04.478 INFO (pid:289844) [services] - Rust Analyzer Language Server state change: starting => running
2020-08-27T07:56:04.490 INFO (pid:289844) [services] - service rust-analyzer started
2020-08-27T07:56:04.503 INFO (pid:289844) [plugin] - coc.nvim 0.0.78-9f9d8a32c4 initialized with node: v10.19.0 after 284ms
2020-08-27T07:56:11.051 ERROR (pid:289844) [server] - unhandledRejection  Promise {
  <rejected> Error: request error nvim_call_function - Vim(return):E900: Invalid channel id
      at transport.request (/home/ubuntu/.vim/plugged/coc.nvim/build/index.js:15216:32)
      at pending.set (/home/ubuntu/.vim/plugged/coc.nvim/build/index.js:11881:13)
      at NvimTransport.parseMessage (/home/ubuntu/.vim/plugged/coc.nvim/build/index.js:11822:17)
      at DecodeStream.NvimTransport.decodeStream.on (/home/ubuntu/.vim/plugged/coc.nvim/build/index.js:11792:18)
      at DecodeStream.emit (events.js:198:13)
      at addChunk (_stream_readable.js:288:12)
      at readableAddChunk (_stream_readable.js:269:11)
      at DecodeStream.Readable.push (_stream_readable.js:224:10)
      at DecodeStream.Transform.push (_stream_transform.js:151:32)
      at DecodeBuffer.DecodeStream.decoder.push (/home/ubuntu/.vim/plugged/coc.nvim/build/index.js:14764:12) } Error: request error nvim_call_function - Vim(return):E900: Invalid channel id
    at transport.request (/home/ubuntu/.vim/plugged/coc.nvim/build/index.js:15216:32)
    at pending.set (/home/ubuntu/.vim/plugged/coc.nvim/build/index.js:11881:13)
    at NvimTransport.parseMessage (/home/ubuntu/.vim/plugged/coc.nvim/build/index.js:11822:17)
    at DecodeStream.NvimTransport.decodeStream.on (/home/ubuntu/.vim/plugged/coc.nvim/build/index.js:11792:18)
    at DecodeStream.emit (events.js:198:13)
    at addChunk (_stream_readable.js:288:12)
    at readableAddChunk (_stream_readable.js:269:11)
    at DecodeStream.Readable.push (_stream_readable.js:224:10)
    at DecodeStream.Transform.push (_stream_transform.js:151:32)
    at DecodeBuffer.DecodeStream.decoder.push (/home/ubuntu/.vim/plugged/coc.nvim/build/index.js:14764:12)       

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fannheywardcommented, Aug 28, 2020

Can you test your case with VSCode + rust-analyzer? Lets make sure that rust-analyzer can handle it.

0reactions
wolveriancommented, Aug 27, 2020

I suspect this could be related to the fact I’m running on ARM. I can provide access to an ARM EC2 instance for testing if that’s required.

Read more comments on GitHub >

github_iconTop Results From Across the Web

neoclide/coc.nvim - Gitter
I am running into a random issue with gopls where sometimes I am working and editing works fine, then suddenly I get an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found