Skip to content
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

Notify a user when he loses connection with Workspace Agent #2369

Closed
vparfonov opened this issue Sep 7, 2016 · 0 comments
Closed

Notify a user when he loses connection with Workspace Agent #2369

vparfonov opened this issue Sep 7, 2016 · 0 comments
Assignees
Labels
kind/enhancement A feature request - must adhere to the feature request template.
Milestone

Comments

@vparfonov
Copy link
Contributor

When a Workspace Agent (WS Agent) stop responding for whatever reason, projects disappear from project tree, and page refresh results in Cannot get project types error. On Workspace Master (WS MAster) workspace still marked as RUNNING.

For example, when OOM happens in a WS Agent, kernel may kill WS Agent process. Problem here that we can't detect properly OOM error but we can in some way check is WS Agent availability for user via HTTP request and WebSocket connection.

If client (IDE) lost WebSocket connection to the WS Agent. In this case IDE will request some other service in our infrastructure to check WS Agent state here we have two possibility for this situation:

  1. WS Agent really shutdown by OS. If it not available for this service too, a user should be notified that the workspace is broken probably because of OOM (it will be just suggest because we not sure about reason). We can propose add more RAM and try to restart a workspace.
  2. WS Agent working well and accessible for our infrastructure in this case we will inform user about networking problem. It can be not well configured proxy server our other problems not related to our responsibility. Here will also can give some suggest like ask your admin etc.

Here step to reproduce #1988

@vparfonov vparfonov added kind/enhancement A feature request - must adhere to the feature request template. team/ide sprint/next labels Sep 7, 2016
@vparfonov vparfonov added the status/in-progress This issue has been taken by an engineer and is under active development. label Sep 19, 2016
@svor svor changed the title Notify user when he lose connection with Workspace Agent Notify a user when he loses connection with Workspace Agent Sep 19, 2016
@svor svor removed the status/in-progress This issue has been taken by an engineer and is under active development. label Oct 12, 2016
@svor svor added this to the 5.0.0-M6 milestone Oct 12, 2016
@svor svor closed this as completed Oct 12, 2016
@bmicklea bmicklea mentioned this issue Oct 28, 2016
26 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template.
Projects
None yet
Development

No branches or pull requests

2 participants