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

C++ kernel not starting #4

Open
Pulsar2011 opened this issue Sep 20, 2021 · 2 comments
Open

C++ kernel not starting #4

Pulsar2011 opened this issue Sep 20, 2021 · 2 comments

Comments

@Pulsar2011
Copy link

Pulsar2011 commented Sep 20, 2021

Hi,
I started the docker following your instruction. I clicked either on C++ 11, 14 or 17 to start C++ session. I started with few simple line of code :

#include
std::cout<<"test"<<std::endl;

And when I click the arrow ... nothing happen. The notebook hang waiting for the kernel to start. Bellow are the message from Jupiter log:

[I 2021-09-20 17:03:44.611 SingleUserNotebookApp restarter:120] KernelRestarter: restarting kernel (1/5), keep random ports
/usr/local/lib/python3.9/json/encoder.py:257: UserWarning: date_default is deprecated since jupyter_client 7.0.0. Use jupyter_client.jsonutil.json_default.
return _iterencode(o, 0)
[W 2021-09-20 17:04:38.808 SingleUserNotebookApp handlers:344] Timeout waiting for kernel_info reply from 46d3613d-e351-499a-9027-aa390fc6b12a
[W 2021-09-20 17:04:38.809 SingleUserNotebookApp handlers:344] Timeout waiting for kernel_info reply from 46d3613d-e351-499a-9027-aa390fc6b12a
[I 2021-09-20 17:04:41.393 JupyterHub log:189] 204 DELETE /hub/api/users/gillard/tokens/a2 (gillard@172.17.0.1) 73.74ms
[W 2021-09-20 17:04:43.454 SingleUserNotebookApp handlers:233] Nudge: attempt 10 on kernel 46d3613d-e351-499a-9027-aa390fc6b12a
[... previous message repeat many ... many times]
Saving file at /Untitled.ipynb
[E 2021-09-20 17:05:38.753 SingleUserNotebookApp web:1789] Uncaught exception GET /user/gillard/api/kernels/46d3613d-e351-499a-9027-aa390fc6b12a/channels?session_id=32b1c354-a33a-4461-a3a8-7a11e461502f (172.17.0.1)
HTTPServerRequest(protocol='http', host='0.0.0.0:8000', method='GET', uri='/user/gillard/api/kernels/46d3613d-e351-499a-9027-aa390fc6b12a/channels?session_id=32b1c354-a33a-4461-a3a8-7a11e461502f', version='HTTP/1.1', remote_ip='172.17.0.1')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/tornado/websocket.py", line 956, in _accept_connection
await open_result
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
future.result()
tornado.util.TimeoutError: Timeout
17:05:38.758 [ConfigProxy] error: 503 GET /user/gillard/api/kernels/46d3613d-e351-499a-9027-aa390fc6b12a/channels read ECONNRESET
[E 2021-09-20 17:05:38.765 SingleUserNotebookApp web:1789] Uncaught exception GET /user/gillard/api/kernels/46d3613d-e351-499a-9027-aa390fc6b12a/channels?session_id=2dfe7903-6b34-495e-b63c-b0fdd0e2c376 (172.17.0.1)
HTTPServerRequest(protocol='http', host='0.0.0.0:8000', method='GET', uri='/user/gillard/api/kernels/46d3613d-e351-499a-9027-aa390fc6b12a/channels?session_id=2dfe7903-6b34-495e-b63c-b0fdd0e2c376', version='HTTP/1.1', remote_ip='172.17.0.1')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/tornado/websocket.py", line 956, in _accept_connection
await open_result
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
future.result()
tornado.util.TimeoutError: Timeout

What did I do wrong ?

@RattyDAVE
Copy link
Owner

I don't think you have done anything wrong.

I have seen this issue before and it is when the upstream has done an upgrade.

I will run some tests and see what I can find.

@RattyDAVE
Copy link
Owner

I have spent some time on this and it is an upstream issue.

The kernels are not being installed now. I need to find a version that works.

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