-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
cannot connect server with socket #178
Comments
Hi @kyurdakok, thank you for your interest in this project and for opening this bug report. To be completely, I am not sure if the socket support is working properly. Please see microsoft/vscode-languageserver-node#245 and Microsoft/vscode-languageserver-node-example#37. |
Looks like this problem has supposedly been fixed upstream per the closing of microsoft/vscode-languageserver-node#245. Will have to do some testing to verify the fix. |
I believe the fix that upstream has delivered is incorrect. I have posted my findings on Microsoft/vscode-languageserver-node#245. |
Looks like the fix was actually fine. The client needs to be the one listening for connections instead of trying to connect to the language server. The language server will attempt to connect to the specified port so the client needs to listen for connections on the specified port before starting up the language server. |
I have published version 0.0.9 to npm which includes this fix. |
i'm trying to play with this language server but i've got a problem
cloned the repo build with the command
npm run build
and runned the servernode .\out\src\server.js --socket 4001
and tried to connect with html5 web sockets server dropped with no error.any suggestions?
The text was updated successfully, but these errors were encountered: