Open mstormi opened 3 years ago
I doubt that we can do much here on the extension side. Extension just opens a connection to the remote server which is implemented in openHAB core. Every error message is generated there and just shown in the extension.
I have seen those messages too and i am unsure myself where and how to look for the problems root. Also i am not involved in how the LSP is implemented. Maybe @wborn can bring some light in the dark. He fixed some issues for that part in the past.
I haven't had time to look into these warnings. Maybe I find that one day. These warnings aren't that critical to me as that one issue I fixed one day where nothing worked. :wink:
I have already tried to catch those errors in vscode and provide a more readable message, but that did not work as expected.
I think we can configure if and how often LSP server will try reconnecting after a failure, tough i am not sure about the best option to choose then.
latest VSC (1.0) used with DSL rules
I quite often get error messages like the one below, repeatedly. LSP seems to stop working then (I gthink it recovers after some time but not sure). That one was right after starting VSC then hovering above a DSL item (making LSP retrieve it, but LSP was busy), but it also happens after VSC has been up in a while. I have NO idea what to look after.