Azure-Samples / Azure-MachineLearning-DataScience

Creative Commons Attribution 4.0 International
409 stars 369 forks source link

Jupyter Notebook / Hub non-functional upon deployment #23

Closed TopperKain closed 6 years ago

TopperKain commented 8 years ago

After deploying a DSVM for Linux via the Azure portal, I remoted into the machine via the x2go client. On the desktop, I double clicked the Jupyter icon which took me to https://localhost:8000/hub/login. The login screen appeared, but after logging in I was greeted by at 500 Internal Server Error.

The same issue occurs trying to access the VM remotely (via chrome on my local desktop.)

paulshealy1 commented 8 years ago

That's not expected. Can you paste the JupyterHub logs from /var/log/jupyterhub.log?

TopperKain commented 8 years ago

Attached the log. jupyterhub.log.txt

paulshealy1 commented 8 years ago

JupyterHub is looking for a user 'topper' that doesn't exist on the system. Adding it and restarting the jupyterhub service should fix the issue.

TopperKain commented 8 years ago

This ended up being a case-sensitivity issue. I created this as a throwaway VM with the admin named "Topper", but it looks like jupyterhub was configured to look for a user named "topper". Creating that user made the error go away. In the future I can presumably use just lowercase local users.

svzdvdoptum commented 6 years ago

I think that's an issue: usernames must be case sensitive... It's discussed here: https://github.com/jupyterhub/jupyterhub/issues/1671

paulshealy1 commented 6 years ago

I'll close this issue as you found a resolution.