Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting 'Unhandled error' when it tries to open control channel #181

Open
rucshah opened this issue Feb 24, 2023 · 2 comments
Open

Getting 'Unhandled error' when it tries to open control channel #181

rucshah opened this issue Feb 24, 2023 · 2 comments

Comments

@rucshah
Copy link

rucshah commented Feb 24, 2023

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?

@welcome
Copy link

welcome bot commented Feb 24, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

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.
welcome
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! 👋

Welcome to the Jupyter community! 🎉

@fm2022aa
Copy link

I encounter the same issue, maybe this extension not work with enterprise gateway?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants