You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The server throws an exception java.lang.Exception: Unable to resolve spec: :lsp4clj.coercer/change-configration-of-error when receiving a workspace/didChangeConfiguration message. This causes the server to crash and eglot to get stuck in an infinite reconnection loop.
To Reproduce
Steps to reproduce the behavior:
Open a project using emacs + eglot
Run clojure-lsp
See error
Expected behavior
No exception is thrown and the server handles the message properly.
2024-03-03T01:04:54.095Z INFO [clojure-lsp.server:55] - Liveness probe - Parent process 2 is not running - exiting server
2024-03-03T01:04:54.095Z INFO [clojure-lsp.server:496] - Exiting...
User details (please complete the following information):
OS: Fedora Linux 39 + Emacs 29.1 + eglot
Version: clojure-lsp 2024.03.01-11.37.51
Additional context
It seems that the change-configration-of-error does not exist in lsp4clj.coercer.
The text was updated successfully, but these errors were encountered:
@tdcook Fixed on master/nightly build, but I'd say this should not crash the server or affect client as this is a async notification handled by server, could you test with eglot later ?
@ericdallo That did resolve the exception. I'm still seeing the server crashing, but I don't see any error in the logs that would explain it. It might be an issue with my setup. I'll do more investigation.
I figured out the problem. The liveness probe was being given the incorrect process id since I am running in containers. I had to set eglot-withhold-process-id.
Describe the bug
The server throws an exception
java.lang.Exception: Unable to resolve spec: :lsp4clj.coercer/change-configration-of-error
when receiving aworkspace/didChangeConfiguration
message. This causes the server to crash and eglot to get stuck in an infinite reconnection loop.To Reproduce
Steps to reproduce the behavior:
Expected behavior
No exception is thrown and the server handles the message properly.
clojure-lsp output
User details (please complete the following information):
Additional context
It seems that the
change-configration-of-error
does not exist in lsp4clj.coercer.The text was updated successfully, but these errors were encountered: