Problems installing Jupyter

Hello, I am trying to install Jupyter using this repo:

https://github.com/OSC/bc_example_jupyter

I have jupyter installed on my compute nodes.

When I start Jupyter, it takes me to this link:

https://hostname.REDACTED.tld/node/queue1-dy-t2micro-1/17249/login

but that link gives me a 404 Not Found.

If I ssh to the compute node it does appear that jupyter is running:

$ ps aux|grep jupyter|grep -v grep
ubuntu      4216  0.0  0.3   8876  3408 ?        S    17:23   0:00 bash /home/ubuntu/ondemand/data/sys/dashboard/batch_connect/dev/bc_example_jupyter/output/ff56e04e-524f-4b13-9297-a1fade793d2b/script.sh
ubuntu      4244  0.2  6.1 113612 60744 ?        S    17:23   0:00 /usr/bin/python3 /usr/local/bin/jupyter-notebook --config=/home/ubuntu/ondemand/data/sys/dashboard/batch_connect/dev/bc_example_jupyter/output/ff56e04e-524f-4b13-9297-a1fade793d2b/config.py

I have only made minimal changes to the repo - I added my cluster name and I changed modules to "" because I am not using python modules, just using the system python (this is a proof of concept at this stage).

Again ssh’d to the compute node, I am able to hit the local equivalent of the URL:

curl -X GET -I http://localhost:17249/node/queue1-dy-t2micro-1/17249/login
HTTP/1.1 200 OK
[...]

This suggests maybe there is an issue with the proxying?

Can you help me troubleshoot this?
Thanks.

OK, somehow on my first read through the docs I missed some critical pages ( https://osc.github.io/ood-documentation/latest/app-development/interactive/setup/modify-cluster-configuration.html and https://osc.github.io/ood-documentation/latest/app-development/interactive/setup/enable-reverse-proxy.html ) .

After reading those and following the directions I am in business. Sorry for the noise.

That is great news Dan. Thanks for the post!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.