tkf / emacs-ipython-notebook

IPython notebook client in Emacs
tkf.github.com/emacs-ipython-notebook/
GNU General Public License v3.0
548 stars 51 forks source link

no cell output after some idle time with remote connection #124

Open mqk opened 11 years ago

mqk commented 11 years ago

When I use EIN to connect to a remote notebook server, the notebook works just fine initially. However, when I don't touch an open notebook for a while (like maybe 15 minutes, half an hour), and then return to it, newly executed cells no longer produce any output. There's no error message in the buffer or in the notebook, just no output whatsoever. If I kill the buffer and reload the notebook, it usually works again, so the kernel isn't dead. It's just that the remote connection apparently has somehow failed. Note, however, that I can still edit and save the notebook, so it's not like connections are completely broken.

This only happens when accessing notebooks remotely, and doesn't occur when I'm actively using it. My guess is that it's some kind of time out, or something. I'm not using SSL and not using a password.

Any ideas what this is, or how I could go about diagnosing what's going wrong?

Thanks, Mike

tkf commented 11 years ago

I have no idea why it does not work. As save works, I think the problem is websocket but I don't know why Emacs looses connection to remote websocket.

Checkout http://tkf.github.io/emacs-ipython-notebook/#reporting-issue