Open holzman opened 3 months ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Description
An invalid page_config.json can cause a crash when connecting to a notebook server.
I'll have a PR in for this momentarily.
Reproduce
Connecting to the server generates a backtrace and 404 (it first throws an uncaught exception earlier in jupyterlab_server, but ignoring that since I've got a PR in for that, see https://github.com/jupyterlab/jupyterlab_server/pull/444 and https://github.com/jupyterlab/jupyterlab_server/issues/443):
We run jupyterhub and have fixed amounts of storage space per user (via PVCs in Kubernetes). If the user fills their storage completely, we've seen behavior where zero-length page_config.json files get generated.
Expected behavior
Ignore the invalid JSON and proceed.
Context