-
Notifications
You must be signed in to change notification settings - Fork 334
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
Cannot connect to remote kernel #467
Comments
Hydrogen doesn't have any special provisions for opening up a login page, so the only alternative is to try to specify the username/password in the hydrogen config. We use the Perhaps progress has been made on the above issues, but I'm not up to speed it. Some alternatives I can think of:
EDIT: potentially related: jupyter/notebook#325 |
Tried passing the password in the configuration, but no success. As my local network is safe, I will work this way for now. |
This is a really stupid question, but how do you start |
Jupyter started enforcing authentication on vanilla servers by using a temp token.
|
If the notebook is using token auth, it prints something like this when it starts:
In that case, rather than disabling token auth, you should upgrade to the github version of hydrogen and then specify an We should really do a hydrogen release to get this feature out there, and maybe add some docs for it as well. |
@nikitakit Good point! Tomorrow I'll ship a release 🚀 Yes docs would be excellent. |
I tested the plugin with julia (.jl) and python2 (.py) locally, and it worked.
Now I am trying to use a remote jupyter server, which works in the browser.
As it is in my local network and the notebook is served in the 9999 port, I used the following config:
[{"name": "Remote notebook", "options": {"baseUrl": "http://192.168.2.42:9999/"}}]
When toggled "Hydrogen: Connect to Remote Kernel" / "Remote notebook", just got:
"Connection to gateway failed"
In the server I get in the console:
302 GET /api/kernelspecs?1475697801494
for julia, and another number for python.
My server is inside docker in another computer in the same network, running on ubuntu.
Specifically, I am running my custom jupyter container available in github: https://github.com/scieule/golden-heart
I also tried with https ssl connection, setting the configuration in the jupyter and the baseUrl,
however in this case I got the same error message in the client and nothing happened in the server.
My server notebook was configured to require both self-signed ssl and a password to login.
Maybe hydrogen does not handle these security measures, but I don't know how to test and fix it.
Thanks in advance. This is already my favourite atom plugin! 😄
The text was updated successfully, but these errors were encountered: