jupyter-matlab-proxy icon indicating copy to clipboard operation
jupyter-matlab-proxy copied to clipboard

Cell timeout after 5 mins

Open tylerlekang opened this issue 1 year ago • 3 comments

System: Windows 10 Conda 23.5.0 Python 3.8.16 matlab-proxy 0.10.0 jupyter-matlab-proxy 0.10.1 Matlab R2023a Update 5

(though I observed the issue with earlier versions of jmp)

Issue: Cell "times out" after 5 mins, even though the code still runs: image

I also see the following error in the Anaconda Prompt: image

Desired Behavior: On the exact same running Jupyter Server, if I select the python kernel there is no such issue: image

tylerlekang avatar Dec 21 '23 15:12 tylerlekang

Hoping this is just a setting that can be changed.

If not, please consider adding and/or addressing whatever issue is causing this undesired behavior. Thank you!

tylerlekang avatar Dec 21 '23 15:12 tylerlekang

Hi @tylerlekang

Unfortunately, this is a timeout that is coming from our dependencies, viz: jupyter-server-proxy. We are actively working towards alternate ways of communication which should alleviate this issue.

prabhakk-mw avatar Dec 22 '23 10:12 prabhakk-mw

Perhaps you can create a PR to change this hard-coded 300 to become a parameter in jupyter-server-proxy: https://github.com/jupyterhub/jupyter-server-proxy/blob/v4.3.0/jupyter_server_proxy/handlers.py#L558

jhgoebbert avatar Jul 19 '24 19:07 jhgoebbert