Open viktoriaas opened 2 years 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:
+1 this really hurts the user experience
Bug description
Hi, I've recently noticed that our instance of binderhub does not show correct error messages to user. Particularly, if user has reached the maximum of configured named servers, the displayed error is just generic
Failed to launch image ...
I found the same issue #1022 and also a discussion at discourse. We run a newer version of binderhub than #1022 introduces. User ckarwicki says in discourse post they use OAuth for authentication which we also do (
GenericOAuthenticator
).Expected behaviour
The user is presented the correct error message `User [XXX] already has the maximum of 5 named servers. One must be deleted before a new server can be created.
Actual behaviour
User sees just a generic message
Failed to launch image ...
that does not lead him anywhere and has to contact user support although the error is very specific and should be seen.Your personal set up
binderhub-0.2.0-n868.h48bc0f6.tgz
For the actual binderhub Pod, we have a custom image that only adds 2 directories and image is built on
jupyterhub/k8s-binderhub:0.2.0-n868.h48bc0f6
(Image dockerfile:
)
Logs
Relevant logs from binderhub Pod where you can see that correct error message appears 4 times before server get Internal Server Error 500.