Uncaught Error: Connection is closed. #22
Comments
Could be that Rls collapsed somehow, this error can happen when the server process has ended. The stderr output of the Rls may help. Can you try updating your Rls to latest nightly # config.cson
"ide-rust":
rlsCommandOverride: "RUST_BACKTRACE=full rustup run nightly rls 2> ~/rls.log" You may need to modify to get it working on mac, I'm not sure. This should allow you to reproduce the error and look at Unfortunately the stderr output from Rls can be a bit noisy but it may help point to a problem in Rls. |
@imp did you get a chance to test this again? I can't reproduce this myself at the moment. |
No, I never got a chance to reproduce that. Perhaps it has something to do with my Rust environment that has been changed since then. |
Ok thanks, I'm going to close this with the optimistic notion that this has been fixed upstream (atom-languageclient/rls). Please reopen if you start seeing it again. |
Bug is back: [Enter steps to reproduce:]
Atom: 1.23.1 x64 Stack TraceUncaught Error: Connection is closed.
Commands
Non-Core Packages
|
I concur - the issue is back. I've updated my Rust environment this morning and it pops up this backtrace window on the first keystroke in any window with Rust code.
|
I also get this with the latest nightly Rls (rust 2017-12-17), after building it falls over after a stderr message Looks like this is a problem with Rls, which isn't too surprising as the build is failing over there at the moment. We can use an earlier Rls until nightly is working, e.g. |
Btw logging/debugging is a little easier with the latest version see https://github.com/mehcode/atom-ide-rust#debugging |
changed to nightly-2017-12-12-x86_64-pc-windows-msvc and it works again. :) |
nightly Rls builds are back and working again |
[Enter steps to reproduce:]
Not, sure. I've got that on first save of Rust code (Cmd-S) after upgrading to ide-rust 0.6.0
Atom: 1.22.0 x64
Electron: 1.6.15
OS: Mac OS X 10.13.1
Thrown From: ide-rust package 0.6.0
Stack Trace
Uncaught Error: Connection is closed.
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: