-
Notifications
You must be signed in to change notification settings - Fork 33
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
BaseGLSPClient should handle reconnect #77
Labels
Comments
Potentially related to #96 |
We have troubles with interrupting connections in a client project that is deployed on a cluster. I will look into this and back contribute the fix once we could verify it works reliably. |
ndoschek
added a commit
to eclipse-glsp/glsp-server
that referenced
this issue
Jul 20, 2023
If Websocket connections reconnect after an interrupt, ensure that the last modelState is restored on RequestModelAction if available Part of eclipse-glsp/glsp#77
ndoschek
added a commit
to eclipse-glsp/glsp-server-node
that referenced
this issue
Jul 20, 2023
If Websocket connections reconnect after an interrupt, ensure that the last modelState is restored on RequestModelAction if available Part of eclipse-glsp/glsp#77
ndoschek
added a commit
to eclipse-glsp/glsp-client
that referenced
this issue
Jul 20, 2023
- Introduce GLSPWebSocketProvider to allow websocket connections to reconnect after interrupt - Make use of ws provider in standalone example Part of eclipse-glsp/glsp#77
ndoschek
added a commit
to eclipse-glsp/glsp-eclipse-integration
that referenced
this issue
Jul 20, 2023
- Introduce GLSPWebSocketProvider to allow websocket connections to reconnect after interrupt - Make use of ws provider in standalone example Part of eclipse-glsp/glsp#77
This was referenced Jul 20, 2023
Merged
Merged
Merged
ndoschek
added a commit
to eclipse-glsp/glsp-server
that referenced
this issue
Jul 24, 2023
* GLSP-77: Allow WebSocket connections to reconnect after interrupt If Websocket connections reconnect after an interrupt, ensure that the last modelState is restored on RequestModelAction if available Part of eclipse-glsp/glsp#77
ndoschek
added a commit
to eclipse-glsp/glsp-server-node
that referenced
this issue
Jul 24, 2023
* GLSP-77: Allow WebSocket connections to reconnect after interrupt If Websocket connections reconnect after an interrupt, ensure that the last modelState is restored on RequestModelAction if available Part of eclipse-glsp/glsp#77
ndoschek
added a commit
to eclipse-glsp/glsp-client
that referenced
this issue
Jul 24, 2023
* GLSP-77: Allow WebSocket connections to reconnect after interrupt - Introduce GLSPWebSocketProvider to allow websocket connections to reconnect after interrupt - Make use of ws provider in standalone example Part of eclipse-glsp/glsp#77
ndoschek
added a commit
to eclipse-glsp/glsp-eclipse-integration
that referenced
this issue
Jul 24, 2023
- Introduce GLSPWebSocketProvider to allow websocket connections to reconnect after interrupt - Make use of ws provider in standalone example Part of eclipse-glsp/glsp#77
ndoschek
added a commit
to eclipse-glsp/glsp-eclipse-integration
that referenced
this issue
Jul 24, 2023
- Update GLSP dependencies - Make use of GLSPWebSocketProvider in workflow example Part of eclipse-glsp/glsp#77
ndoschek
added a commit
to eclipse-glsp/glsp-eclipse-integration
that referenced
this issue
Jul 25, 2023
- Update GLSP dependencies - Make use of GLSPWebSocketProvider in workflow example Part of eclipse-glsp/glsp#77
For the Theia use cases we should wait for this generic fix in the Theia framework to properly fix the reconnect issue for GLSP: |
This was referenced Feb 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The BaseGLSPClient should handle error on the connection better by trying a reconnect similar to how the BaseLSPClient is doing it.
Edit 2023-07-24:
We investigated WebSocket interrupts with the different example integrations.
The websocket server implementations will now handle a reconnect gracefully and respond to a
RequestModelAction
with the latestmodelState
(see eclipse-glsp/glsp-server-node#54 and eclipse-glsp/glsp-server#208).Here is an overview of the examples that can already handle websocket connection interrupts:
What is left to do:
The text was updated successfully, but these errors were encountered: