Search code examples
pythonipythonmathjaxjupyter-notebook

How to use iPython notebook with ngrok


(Maybe better ask on superuser?) iPython works fine if I use an ssh tunnel.

Using ngrok

iPython notebook loads I get an error about mathjax not loading.

I can enter code into cells but if I try to execute I get no result but the kernel seems to be running. Basically nothing works. I have no idea if I am doing something wrong or if this just wont work.

I am starting starting ngrok like this

./ngrok -authtoken myauthtoken 5023

and ipython notebook like

ipython notebook --no-browser --port=5023

Then connect to the iPython session at https://mysubdomain.ngrok.com


Solution

  • Author of ngrok here: ipython notebooks and any other websocket connections now work properly as of ngrok 0.22 which is available at https://ngrok.com/download