-
Notifications
You must be signed in to change notification settings - Fork 221
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
Notebook failed to connect with enterprice gateway kernel using websocket. Exception in KernelGatewayWSClient._connection_done #660
Comments
First off, I see you're using 2.x kernelspec files with 1.2 EG. The kernelspec tar files must be within the same major release number (at a minimum). I was going to suggest you download the kernelspecs tar from the 1.2.0 release page, but noticed the kernelspecs tar file isn't present for that release! Sorry about that. Looks like the original upload must have failed. I have built and posted it to the 1.2.0 release page. Second, I see you're using Spark standalone. It looks like you've made the necessary adjustments to the kernelspecs you are using. However, because those are using parameters that 1.2 EG doesn't know about, you'll need to make the same adjustments to the newly pulled kernelspecs. Finally, I would strongly recommend starting EG with Do you intend to spread your kernels across your Spark cluster? If so, you'll need to configure password-less ssh across the nodes and set either the We recommend moving to Yarn and using cluster mode at some point. Then the YARN resource manager will better decide where the kernel should run within the cluster. In addition, no password-less ssh or remote-hosts are required - so its much easier to get configured. Since you're using standalone mode, it would be great if you could contribute the necessary documentation changes for that as people have asked about that previously. Thank you for your interest in EG! |
Hi @kevin-bates Thanks for your suggestion and sharing the EG 1.2. I found some changes in the kernel spec as well.
Thanks for your help. |
Excellent! This sounds like an awesome approach based on your configuration. I'm going to go ahead and close this issue. Keep in touch! |
Creating this issue on behalf of @ArindamHalder7
@kevin-bates
This on the context of the above issue [https://discourse.jupyter.org/t/notebook-failed-to-connect-with-enterprice-gateway-kernel-using-websocket-exception-in-kernelgatewaywsclient-connection-done/1025/2]
I am not able post message in the jupyter community. So providing you EG log here. Also i will try with increasing the KG_REQUEST_TIMEOUT.
Here is the log.
cto@cto:~/jupyter_enterprise_gateway$ jupyter enterprisegateway --ip=0.0.0.0 --port_retries=0
The text was updated successfully, but these errors were encountered: