-
Notifications
You must be signed in to change notification settings - Fork 65
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
VS-Code starts blank in our JupyterHub setup (websocket failure) #16
Comments
I think the networking part/firewall is fine. This is often a problem with websockets but seems to work here. Seems more like someone changed/broke something in the jupyter-server-proxy we use or at least that is where this error is occuring. Do you know which version of it you are using? Probably worth reporting in their GitHub repo. |
I just refreshed this repositories image on mybinder.org. This means it is using the latest and greatest jupyter-server-proxy available on conda-forge. This is v1.4.0 released ~3 days ago according to https://anaconda.org/conda-forge/jupyter-server-proxy As far as I can tell it works on mybinder.org. Can you try if it also works for you and then see what happens locally if you upgrade/change to the same versions? |
|
Thanks @betatim for the feedback! The fact that things work if I use the docker image directly but don't in our JupyterHub may point more to a setup problem than a version problem. Although certain versions may have different use of the setup ... |
In my case, vscode icon shows in jupyterlab launcher, but not jupyterhub's. Is there any instruction about making vscode show in jupyterhub launcher ? |
This is presumably an issue in our local setup rather than
vscode-binder
,but here is hopefully a reasonable location to keep a record; also in case
this rings a bell.
Setup
Jupyterhub 0.8.1 running on a single server with DockerSpawner.
Image configuration from: https://gitlab.in2p3.fr/jupyterhub-paris-saclay/image/
(see the Dockerfile and environment.yml; docker image available from
Packages -> Container Registry).
Symptoms
The installation of vscode and the jupyter proxy presumably went smoothly.
VS Code appears as expected in the jupyter(lab) menu/launcher.
When running the docker container locally, VS Code works correctly.
However when launching VS Code in the same way from our JupyterHub, I get a blank screen.
In the JavaScript console, I get:
In the Jupyter log, I get:
The text was updated successfully, but these errors were encountered: