These are chat archives for ipython/ipython

26th
Oct 2015
jldiaz
@jldiaz
Oct 26 2015 17:21
Hello. I have problems connecting from my iPad to my IPython Notebook server, or more precisely, to the kernels running in my server. The notebook opens and displays without problem, but the javascript client cannot connect to the kernel, so the cells cannot be evaluated.
The server is accesible without any problem from desktop machines (both Firefox and Chrome), both locally and remotely. The problem only appears when the client is IOS. I also noticed that the problem appears only when the connection with the notebooks is via https. If I use http, then all works ok both for IOS and desktop clients
It is not a Safari issue. With Chrome for IOS the problem is the same
Anyone heard about this problem or can reproduce it?
jldiaz
@jldiaz
Oct 26 2015 17:27
Another thing: the notebooks created on demand at https://try.jupyter.org works perfectly on IOS, even if they are over https. So it has to be some problem with my server configuration, which only affects to IOS clients.
Min RK
@minrk
Oct 26 2015 17:39
Safari will not allow https websocket connections to self-signed certs. Did you generate a cert yourself?
jldiaz
@jldiaz
Oct 26 2015 17:41
Yes! So that is the issue...
Thank you. I spent days browsing the web and the issue tracker. I found other person with a similar problem (and probably the same cause) but it was never properly diagnosed
Can you imagine some workaround? I would like to access my notebooks from the iPad, but at same time I want privacy (password-protect the server), which requires https
Min RK
@minrk
Oct 26 2015 17:44
It's been reported and identified many times over the years, but unfortunately the search keywords are not obvious.
The only fix is to use trusted https
jldiaz
@jldiaz
Oct 26 2015 17:45
Can I insert my own certs into iOS somehow? (so that it trust my self-signed cert)
I have to research this possibility