You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if you can provide some pointers here. I'm using this with the Jupyter Kernel Gateway and it's the only shell that doesn't seem to work when running the gateway in HTTP mode. It works fine in web socket mode.
It doesn't seem to mention how to select a different kernel when running in http mode. I was assuming it would take the kernel type from the .ipynb file that is used to provide the mappings for the http endpoints. Am I missing something here ?
The bash kernel is working perfectly running in Web Socket mode. However, its doesn't seem to work in http-mode.
I just saw that there was an option to force the kernel during startup. e.g. --KernelGatewayApp.force_kernel_name=bash however this does not appear to have any affect on the error.
A little more info:
I have a cell in a notebook file:
# GET /hello/bash
echo "fsdfdsadsds"
it gets registered perfectly:
[I 2023-02-07 17:07:36.781 KernelGatewayApp] Registering resource: /hello/bash, methods: (['GET'])
....
I 2023-02-07 17:07:36.781 KernelGatewayApp] Jupyter Kernel Gateway 2.5.2 is available at http://0.0.0.0:80
[D 230207 17:08:08 handlers:193] Request code for notebook cell is: REQUEST = "{\"body\": \"\", \"args\": {}, \"path\": {}, \"headers\": {\"Host\": \"127.0.0.1:5006\", \"User-Agent\": \"curl/7.85.0\", \"Accept\": \"*/*\"}}"
[D 2023-02-07 17:08:08.196 KernelGatewayApp] connecting shell channel to tcp://127.0.0.1:48567
[D 2023-02-07 17:08:08.196 KernelGatewayApp] Connecting to: tcp://127.0.0.1:48567
[D 2023-02-07 17:08:08.206 KernelGatewayApp] activity on 85950786-e434-48b0-bc66-fca0387cf859: status (busy)
[D 2023-02-07 17:08:08.218 KernelGatewayApp] activity on 85950786-e434-48b0-bc66-fca0387cf859: execute_input
[D 2023-02-07 17:08:08.259 KernelGatewayApp] activity on 85950786-e434-48b0-bc66-fca0387cf859: stream
[D 2023-02-07 17:08:08.321 KernelGatewayApp] activity on 85950786-e434-48b0-bc66-fca0387cf859: error
[D 2023-02-07 17:08:08.323 KernelGatewayApp] activity on 85950786-e434-48b0-bc66-fca0387cf859: status (idle)
[E 230207 17:08:08 web:2271] 500 GET /hello/bash (172.17.0.1) 129.24ms
The error corresponds to my curl command that looks like this:
curl http://127.0.0.1:5006/hello/bash
Error : 127
Just for clarity, here's a complete log - Looks like the "bash' kernel is being instantiated properly:
Not sure if you can provide some pointers here. I'm using this with the Jupyter Kernel Gateway and it's the only shell that doesn't seem to work when running the gateway in HTTP mode. It works fine in web socket mode.
Hi I'm following the docs here: https://jupyter-kernel-gateway.readthedocs.io/en/latest/http-mode.html
It doesn't seem to mention how to select a different kernel when running in http mode. I was assuming it would take the kernel type from the .ipynb file that is used to provide the mappings for the http endpoints. Am I missing something here ?
I can see I have 2 kernels installed e.g.
The bash kernel is working perfectly running in Web Socket mode. However, its doesn't seem to work in http-mode.
I just saw that there was an option to force the kernel during startup. e.g.
--KernelGatewayApp.force_kernel_name=bash
however this does not appear to have any affect on the error.A little more info:
I have a cell in a notebook file:
it gets registered perfectly:
The error corresponds to my curl command that looks like this:
Just for clarity, here's a complete log - Looks like the "bash' kernel is being instantiated properly:
Full output:
requirements.txt:
The text was updated successfully, but these errors were encountered: