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

Workaround 8ce24bc broken #92

Closed
yacchin1205 opened this issue May 29, 2023 · 1 comment · Fixed by #93
Closed

Workaround 8ce24bc broken #92

yacchin1205 opened this issue May 29, 2023 · 1 comment · Fixed by #93

Comments

@yacchin1205
Copy link
Contributor

yacchin1205 commented May 29, 2023

With the latest scipy-notebook image https://hub.docker.com/layers/jupyter/scipy-notebook/x86_64-2023-05-29/images/sha256-2c52b398664bdbc31977f9f66d2cf3ff8754886d421e2bfc256411de94610f87?context=explore (maybe) , the workaround commit 8ce24bc seems to be broken.

When the following image is executed, the tornado server becomes unresponsive with the following error message immediately after starting the container.
After a few minutes, a timeout occurs and the problem seems to improve.

https://hub.docker.com/layers/niicloudoperation/notebook/latest/images/sha256-1565b9ddf66ba813b14140ec4c8b0c6bbf2db1382f4762f602e3c00f406cdcb9?context=repo

Exception in callback Task.task_wakeup(<Future finis...2d9"\r\n\r\n'>)
handle: <Handle Task.task_wakeup(<Future finis...2d9"\r\n\r\n'>)>
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
RuntimeError: Cannot enter into task <Task pending name='Task-23' coro=<HTTP1ServerConnection._server_request_loop() running at /opt/conda/lib/python3.10/site-packages/tornado/http1connection.py:825> wait_for=<Future finished result=b'GET /api/co...c2d9"\r\n\r\n'> cb=[IOLoop.add_future.<locals>.<lambda>() at /opt/conda/lib/python3.10/site-packages/tornado/ioloop.py:685]> while another task <Task pending name='Task-1' coro=<KernelManager._async_start_kernel() running at /opt/conda/lib/python3.10/site-packages/jupyter_client/manager.py:82>> is being executed.
Exception in callback Task.task_wakeup(<Future finis...2d9"\r\n\r\n'>)
handle: <Handle Task.task_wakeup(<Future finis...2d9"\r\n\r\n'>)>
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
RuntimeError: Cannot enter into task <Task pending name='Task-21' coro=<HTTP1ServerConnection._server_request_loop() running at /opt/conda/lib/python3.10/site-packages/tornado/http1connection.py:825> wait_for=<Future finished result=b'GET /notebo...c2d9"\r\n\r\n'> cb=[IOLoop.add_future.<locals>.<lambda>() at /opt/conda/lib/python3.10/site-packages/tornado/ioloop.py:685]> while another task <Task pending name='Task-108' coro=<RequestHandler._execute() running at /opt/conda/lib/python3.10/site-packages/tornado/web.py:1786> cb=[_HandlerDelegate.execute.<locals>.<lambda>() at /opt/conda/lib/python3.10/site-packages/tornado/web.py:2434]> is being executed.

When I revert the commit, this problem will no longer occur.
But jupyter/notebook#6878 occurs as before.

@yacchin1205 yacchin1205 changed the title Workaround Workaround https://github.com/NII-cloud-operation/Jupyter-LC_docker/commit/8ce24bcd55609828dd7a236d27bc714ad5f0669b broken May 29, 2023
@yacchin1205 yacchin1205 changed the title Workaround https://github.com/NII-cloud-operation/Jupyter-LC_docker/commit/8ce24bcd55609828dd7a236d27bc714ad5f0669b broken Workaround 8ce24bc broken May 29, 2023
@yacchin1205
Copy link
Contributor Author

Could be related to: jupyter/jupyter_core#353

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

Successfully merging a pull request may close this issue.

1 participant