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

Spyder does not connect to remote kernel with manual port tunneling #3477

Open
mattare2 opened this issue Sep 29, 2016 · 3 comments
Open

Spyder does not connect to remote kernel with manual port tunneling #3477

mattare2 opened this issue Sep 29, 2016 · 3 comments

Comments

@mattare2
Copy link

mattare2 commented Sep 29, 2016

Description of your problem

  1. Turn on kernel on remote server.
  2. Set up manual SSH Tunnels. (As per https://github.com/ipython/ipython/wiki/Cookbook:-Connecting-to-a-remote-kernel-via-ssh)
  3. Successful connect to remote kernel from the command line:

jupyter qtconsole --existing kernel-1234.json

  1. When attempted in Spyder, the kernel keeps restarting. :(

(Right click, connect to existing, go to Json file in security path c:... ....ipython\profile_default\security)

Versions and main components

  • Spyder Version: 2.3.8
  • Python Version: 2.7
  • Operating system: Windows 8

Dependencies

IPython >=1.0 : 4.1.2 (OK)
jedi >=0.8.1;<0.9.0: 0.8.1 (OK)
matplotlib >=1.0 : 1.5.0 (OK)
pandas >=0.13.1 : 0.17.1 (OK)
pep8 >=0.6 : 1.6.2 (OK)
pyflakes >=0.5.0 : 0.8.1 (OK)
pygments >=1.6 : 2.1.1 (OK)
pylint >=0.25 : None (NOK)
qtconsole >=4.0 : 4.2.0 (OK)
rope >=0.9.2 : 0.9.4 (OK)
sphinx >=0.6.6 : 1.2.3 (OK)
sympy >=0.7.3 : 0.7.6 (OK)
zmq >=2.1.11 : 15.2.0 (OK)

@ccordoba12
Copy link
Member

What does this mean exactly Set up manual port forwarding?

@ccordoba12 ccordoba12 added this to the v3.1 milestone Sep 29, 2016
@mattare2
Copy link
Author

mattare2 commented Sep 29, 2016

Sorry, that was incorrect. Comment updated with the appropriate info:

"2) Set up manual SSH Tunnels. (As per https://github.com/ipython/ipython/wiki/Cookbook:-Connecting-to-a-remote-kernel-via-ssh)"

Basically, I should be able to connect to the kernel as if it was local, which is what I manage to do successfully in 3). However, while this works using the command shown in 3), this does not work for spyder.

@ccordoba12
Copy link
Member

Ok, now I understand :-)

Unfortunately, we don't support manual tunnels. So unless someone wants to help us with this, I'm marking it as wishlist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants