Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Link to Hub to restart stopped servers #83

Open
minrk opened this issue Feb 26, 2019 · 1 comment
Open

Link to Hub to restart stopped servers #83

minrk opened this issue Feb 26, 2019 · 1 comment

Comments

@minrk
Copy link
Member

minrk commented Feb 26, 2019

When there's an error connecting to the server, JupyterLab shows a generic error:

screen shot 2019-02-26 at 10 51 55

Unlike the general jupyterlab situation, in JupyterHub there's a known link to restart the server via the hub. It would be handy to provide a link to restart the server in this dialog and provide a more JupyterHub-tailored message indicating that the user's server has been shut down.

Further, this same event may not be a connection error, it may be an error code (503 in the upcoming jupyterhub 1.0, 404 in 0.9).

This should solve jupyterhub/jupyterhub#2293

Is there an appropriate hook to customize the server connection message?

@minrk
Copy link
Member Author

minrk commented Feb 26, 2019

We should also probably be polling /api/status to check that the Hub is up, and showing a restart link if we start getting errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant