# Jupyter startup issues

**URL:** <https://discourse.openondemand.org/t/jupyter-startup-issues/840>\
**Category:** Get Help\
**Created:** [April 10, 2020, 8:44pm UTC](https://discourse.openondemand.org/t/jupyter-startup-issues/840 "2020-04-10T20:44:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcuma](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mcuma/32/171_2.png) [@mcuma](https://discourse.openondemand.org/u/mcuma)\
**Post date:** [April 10, 2020, 8:44pm UTC](https://discourse.openondemand.org/t/jupyter-startup-issues/840/1 "2020-04-10T20:44:22Z")

</div>

Hi everyone,

I was going to write a novel about Jupyter startup issues, but, ended up figuring out the problem after some debugging, so I’ll just give you a warning that Jupyter’s notebook module version 5.7.\* is broken for the remote access that OOD requires with the config option c.NotebookApp.ip = ‘\*’.

If you get error as:  
File “/uufs/chpc.utah.edu/sys/installdir/python/3.7.3/lib/python3.7/site-packages/traitlets/traitlets.py”, line 528, in get  
value = obj.\_trait\_values[self.name]  
KeyError: ‘allow\_remote\_access’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “/uufs/chpc.utah.edu/sys/installdir/python/3.7.3/lib/python3.7/site-packages/notebook/notebookapp.py”, line 864, in \_default\_allow\_remote  
addr = ipaddress.ip\_address(self.ip)  
File “/uufs/chpc.utah.edu/sys/installdir/python/3.7.3/lib/python3.7/ipaddress.py”, line 54, in ip\_address  
address)  
ValueError: ‘’ does not appear to be an IPv4 or IPv6 address

most likely you use notebook version 5.7.\*. Install newer version (currently 6.0.3) or go back to 5.6.0.

HTH,  
MC

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [April 10, 2020, 8:51pm UTC](https://discourse.openondemand.org/t/jupyter-startup-issues/840/2 "2020-04-10T20:51:56Z")

</div>

@mcuma thanks for the heads up to the rest of the community!

Yea in troubleshooting this issue in UGE [Jupyter launch fails for UGE](https://discourse.openondemand.org/t/jupyter-launch-fails-for-uge/814) I happened to stumble across this ticket in jupyter [https://github.com/jupyter/notebook/issues/4715](https://github.com/jupyter/notebook/issues/4715) which someone says `just a jupyter's update.` but doesn’t seem to indicate why it was updated.

Did setting `c.NotebookApp.ip = '0.0.0.0'` happen to solve your issue? I think that config _should_ backport to older versions as well. or maybe we should start supplying `${host}` (which is just $(hostname)) there instead.

---

<div class="post-metadata">

**Author:** ![mcuma](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mcuma/32/171_2.png) [@mcuma](https://discourse.openondemand.org/u/mcuma)\
**Post date:** [April 10, 2020, 8:55pm UTC](https://discourse.openondemand.org/t/jupyter-startup-issues/840/3 "2020-04-10T20:55:30Z")

</div>

If I recall right setting c.NotebookApp.ip = ‘0.0.0.0’ only allowed localhost to access the Jupyter so it did not work for OOD.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [September 23, 2020, 6:41pm UTC](https://discourse.openondemand.org/t/jupyter-startup-issues/840/4 "2020-09-23T18:41:36Z")

</div>

Browsing the internet and [the fast ai forum](https://forums.fast.ai/t/jupyter-notebook-keyerror-allow-remote-access/24392/6), it looks like indeed this error comes from using `c.NotebookApp.ip = '*'`.

Though I think `0.0.0.0` should work because that binds to all interfaces on the compute node and I assume one of them should be external.

Anyhow, I hope you solved your problem! Let us know if you’re still having issues.

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:43pm UTC](https://discourse.openondemand.org/t/jupyter-startup-issues/840/5 "2022-05-26T15:43:06Z")

</div>

Closed on May 26, 2022, 3:43pm UTC


