-
Notifications
You must be signed in to change notification settings - Fork 38
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
IPythonViz does not work in Jupyter Notebook that is not on localhost or accessed via HTTPS #817
Comments
I started investigating this issue and updated the description with some information. Comments welcome! |
You can also get free SSL certs from https://letsencrypt.org/ (and in Python through https://github.com/certbot/certbot). Probably this won't work with localhost, but maybe there's a way around that. |
Good idea, but it requires the web server to be accessible over the Internet which will rarely be the case.
…On February 8, 2017 5:40:45 PM EST, Trevor Bekolay ***@***.***> wrote:
You can also get free SSL certs from https://letsencrypt.org/ (and in
Python through https://github.com/certbot/certbot). Probably this won't
work with localhost, but maybe there's a way around that.
--
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
#817 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Maybe the best option is to convert |
Sounds promising! |
The problem with a server extension is that I'm not sure if it is possible to access the kernel to get the model to be displayed. |
So I am thinking right now that the following approach might work:
But I have to think more about how to handle authentication (see #867). Probably an authentication token has to be stored in a known place that is only accessible by the user running the notebook server and kernel. |
I spend a bit mor thought on this, now that there is a PR for token based authentication (#915). There seem to be essentially two possibilities to make
|
From the dev meeting: Prefixing all URL paths in the Nengo GUI shouldn't be a huge issue. So I'm probably look into the tunneling solution first. |
I put together a proof of concept and tunneling through the notebook server with a notebook server extension does work! 😃 Found also some minor bugs with certain clients in the process. PRs forthcoming. |
There is probably a number of problems here, but the first is that browser block non-HTTPS content on HTTPS sites (and they should). That means we should start Nengo GUI in SSL mode, but there a few problems with that:
//some-address
should automatically select the right protocol and either port 80 or 443 as used by normal webservers. However, we cannot expect to be able to run Nengo GUI on those ports.The text was updated successfully, but these errors were encountered: