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
Jupyter Lab Has (Almost) Blank Login Screen #1248
Comments
Hello, I've answered to an issue today #1247 that reported the same behavior.
Apparently it was solved by the user that made the following feedback.
Could you check on your side if the problem is the same? Thanks. |
Clearing the |
@TheCatster the last major change was switching to JupyterLab |
I'll try now without mounting, that's a good idea. |
Hello @TheCatster, any update on your side. |
Sorry about that, haven't had a moment. I run this on a remote machine without any of the scenarios described, except for in that month or so I didn't use the Jupyter Lab I added a |
We have received several issues of users reporting token problems and most of them were related to VS Code or ( |
I'm quite confused. I did as I said, rid the |
To add, which is quite interesting, if I include the token in the URL there is no issue, and the proper Jupyter Lab loads. It seems to be only the login page. |
I use
|
I had no such file when I first looked, and after adding one and what you had (editing the root dir), it seems that the file is not being read. Why would that be? Edit: This is bizarre. The styling is still completely gone, but when I wiped the lab directory, added your config, and restarted the container then the style is still gone, but my password works and it loads correctly. |
You styling is gone because of the |
There are no console errors. Is there a way to see where the static files are actually kept? |
There seems to be a bug related to |
No change from that. |
I have customized start-notebook.sh file and created the new image from jupyter/datascience-notebook:67b8fb91f950
Issue i am facing is when I enable lab using environment variable JUPYTER_ENABLE_LAB in start-notebook.sh file suddenly all the styling of login page disappear while if I make JUPYTER_ENABLE_LAB empty string it start working perfectly. means if jupyter run command with lab it's styling is not working for login page only but if it run using notebook command it's start working perfectly. |
@TheCatster I tried to run your docker-compose file on a local docker and everything works just fine. Could you please, try to run it on a local machine as well? After that try to add your mounts - if everything works well, it might be a network setup issue. It might me |
I've tried without mounts a few times earlier, so I'll try on a local machine. I wouldn't be surprised if it's something on the network side at this point. I'm waiting for a new router to come in, so my homelab isn't currently running. |
Now I'm even more confused. Same blank screen on my main workstation, nothing mounted. Only the docker compose that I pasted in the original issue. |
Ok, at least this gives much more understanding. Also, what OS are you using / browser? |
And I would like to ask you to try visiting jupyter in a freshly installed browser - you could use Vivaldi for example. |
I can't at this moment, but I'll try it on another few laptops. So far it does not work on my main workstation, running Arch Linux, my Hackintosh, running Big Sur, my main laptop running Arch, and another laptop running Void.
Arch, macOS Big Sur, Void, and I've tried accessing it from my iPhone as well on Safari. Using Safari on Big Sur/iOS, and Firefox on all others. I've tried using my default profile (which is an arkenfox based privacy setup), or my blank profile. The homelab where I normally run Jupyter Lab is running Proxmox, and the Jupyter VM is just a simple Ubuntu Server 20.10.
I can try this just to rule out the browser as best as possible. |
That's so unfortunate. I have no idea how the same setup doesn't work on all your machines but works on the one I have. Please, could you explain step-by-step, how do you launch your |
Sorry for such stupid requests, but I don't see another way of debugging this issue. |
No no, not stupid at all, I completely understand. I always run the latest versions, being on a rolling release distro, so my docker version is 20.10.5, build 55c4c88966 and my docker-compose is 1.28.5.
|
First of all, I have the exact same versions as you do (on my mac).
Wow, this is something new to me. I didn't log out, so the issue you're running into is that you can't log in after logout. Still, I tried your instruction and get no errors. Do you see something odd in your logs? Could you please share the same logs as me? |
Oh, the image I'm using seems to be a bit old. I will make |
I updated my image and now my logs look like yours, but without an error. I think the tornado error is causing the issue you see. Please, run |
And, I hope, you use the |
Edit: Yup, says up to date. I also do use watchtower on my homelab, so it should always be up to date. Yeah, I use it from docker hub, and I just pulled mine when you asked me to try on local. But, I'll try again. |
I took a careful look at your logs. And let's try to use |
@mathbunnyru @Bidek56 thank you for all investigations made. Thank you for your understanding. |
Let me first explain the main idea on how to debug these things. Things we've excluded so far:
I would like to suggest you try to use the raw I think you will be able to resolve this issue by yourself after these steps. |
I found my way here after also noticing the lack of styling on the login page. I can't reproduce @TheCatster's token problem either, but just for reference, the lack of styling is easily reproducible with |
I finished setting up my new network, and I no longer have the token issue. I do still have no styling, but if what @jeffyjefflabs just linked is the answer, then I can live with no styling. I think that solves it for me! I honestly did nothing different, at all. The network is set up almost identically to the previous one (just a new router, using FreshTomato firmware, and a new managed switch). It is the same homelab, same everything else. |
Great, I'll close this issue as it seems to be resolved. |
What docker image you are using?
Example:
jupyter/datascience-notebook
What complete docker command do you run to launch the container (omitting sensitive values)?
What steps do you take once the container is running to reproduce the issue?
Example:
What do you expect to happen?
Expect to see a login screen, as usual.
What actually happens?
This rarely works, for no apparent reason, when I remove the
JUPYTER_ENABLE_LAB
variable, but usually results in a blank screen with a message and textbox to "Enter password or token:". My normal password does not work. I cannot do anything else. Once I remove the variable, it goes back to being a classic notebook, but it does work. This also does not work through an SSH tunnel, so I do not believe it has anything to do with my reverse proxy setup.The text was updated successfully, but these errors were encountered: