# Jupyter timing out often

**URL:** <https://discourse.openondemand.org/t/jupyter-timing-out-often/1910>\
**Category:** Get Help\
**Tags:** ondemand2, question\
**Created:** [February 10, 2022, 4:56pm UTC](https://discourse.openondemand.org/t/jupyter-timing-out-often/1910 "2022-02-10T16:56:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsand](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/rsand/32/743_2.png) [@rsand](https://discourse.openondemand.org/u/rsand)\
**Post date:** [February 10, 2022, 4:56pm UTC](https://discourse.openondemand.org/t/jupyter-timing-out-often/1910/1 "2022-02-10T16:56:38Z")

</div>

I have a user that is saying that his Jupyter connections are timing out often like 3-4 times each day. We are running Ondemand 2.0.20. Any ideas on how to diagnose what is causing the timeouts? We also have an instance of Ondemand 1.18 where he does not get the timeouts.

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [February 10, 2022, 5:54pm UTC](https://discourse.openondemand.org/t/jupyter-timing-out-often/1910/2 "2022-02-10T17:54:12Z")

</div>

Hi, sorry for the issue. To be sure on my end, this is just a single user having the issue? Are you seeing anything in the logs from apache or ondemand-nginx in `/var/log/ondemand-nginx` for that user when this happens?

What browser are they using, and has it been the same behavior across more than just the one browser?

---

<div class="post-metadata">

**Author:** ![rsand](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/rsand/32/743_2.png) [@rsand](https://discourse.openondemand.org/u/rsand)\
**Post date:** [February 10, 2022, 6:08pm UTC](https://discourse.openondemand.org/t/jupyter-timing-out-often/1910/3 "2022-02-10T18:08:23Z")

</div>

Right now it is just this one user since the 2.0.20 version is not open to everybody. I did not see any errors in the /var/ondemand-nginx/user/error.log and there are no errors in the /var/log/httpd24/error.log file. I will find out which browser he is using and ask if he can replicate the issue with another browser.

---

<div class="post-metadata">

**Author:** ![rsand](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/rsand/32/743_2.png) [@rsand](https://discourse.openondemand.org/u/rsand)\
**Post date:** [February 10, 2022, 6:57pm UTC](https://discourse.openondemand.org/t/jupyter-timing-out-often/1910/4 "2022-02-10T18:57:16Z")

</div>

He has been using Google Chrome and will see if he can reproduce it with Firefox.

---

<div class="post-metadata">

**Author:** ![rsand](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/rsand/32/743_2.png) [@rsand](https://discourse.openondemand.org/u/rsand)\
**Post date:** [February 25, 2022, 3:54pm UTC](https://discourse.openondemand.org/t/jupyter-timing-out-often/1910/5 "2022-02-25T15:54:06Z")

</div>

The user tried firefox and is not seeing an issue with the timeouts. The Chrome version he is using is 98.0.4758.80.

---

<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:** [February 25, 2022, 9:09pm UTC](https://discourse.openondemand.org/t/jupyter-timing-out-often/1910/6 "2022-02-25T21:09:32Z")

</div>

I would check the logs from Jupyter. It’s in their session directory like `~/ondemand/data/sys/dashboard/batch_connect/sys/bc_osc_jupyter`.

Find a session that was giving them trouble and look to see if Jupyter is throwing any errors. My guess is - is that it’s Jupyter itself that’s timing out trying to respond and not apache. Otherwise you’d have something more systemic going on.

Are you on a current version of Jupyter?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [August 24, 2022, 9:09pm UTC](https://discourse.openondemand.org/t/jupyter-timing-out-often/1910/7 "2022-08-24T21:09:55Z")

</div>

Closed on August 24, 2022, 9:09pm UTC

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