Loss jupyter laptop ssh connection kills core

I have an Ipython Jupyter kernel running in AWS VPN that I tunnel into the port of my laptop, where I connect to my browser. I find that the core dies whenever I lose the tunnel and I have to start my notebook from the very beginning.

What is the probable cause of this and how can I prevent it?

Only laptops die, the laptop server remains.

+4
source share
2 answers

I admit it seems weird. I wonder if there is anything in the laptop that kills the core. It can happen. You may have already done this, but try a really simple laptop, for example a=10, drop the connection and then see if you can print(a)after re-recording.

However, a way to avoid the problem as a whole is to use screen or tmux to create a permanent sshs session. This is what many people working on remote servers do.

+2
source

, - -? , nginx proxy_pass jupyter - . , jupyter notebook , - Jupter
nginx rewrite, , . .

0

All Articles