jupyter-resource-usage
jupyter-resource-usage copied to clipboard
Getting 'Unhandled error' when it tries to open control channel
Hi, Thanks for this great extension. I tried to configure this in my setup (JupyterServer + JupyterLab + Jupyter Enterprise Gateway) which is running in kubernetes. My setup has
jupyter_client 8.0.3
jupyter_core 5.2.0
jupyter-resource-usage 0.7.2
jupyter-server 1.23.42
jupyterhub 3.1.1
jupyterlab 3.5.2
jupyter_enterprise_gateway 3.1.0
ipykernel 6.21.1
But when extension makes a call, I see following exception in jupyter server:
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/tornado/web.py", line 1713, in _execute
result = await result
File "/opt/conda/lib/python3.10/site-packages/jupyter_resource_usage/api.py", line 115, in get
control_channel = client.control_channel
File "/opt/conda/lib/python3.10/site-packages/jupyter_server/gateway/managers.py", line 765, in control_channel
assert self.channel_socket is not None
AssertionError
[W 2023-02-24 22:25:02.920 SingleUserNotebookApp handlers:649] wrote error: 'Unhandled error'
Am I missing something here?
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
I encounter the same issue, maybe this extension not work with enterprise gateway?