{"action":"created","issue":{"url":"https://api.github.com/repos/nengo/nengo_gui/issues/817","repository_url":"https://api.github.com/repos/nengo/nengo_gui","labels_url":"https://api.github.com/repos/nengo/nengo_gui/issues/817/labels{/name}","comments_url":"https://api.github.com/repos/nengo/nengo_gui/issues/817/comments","events_url":"https://api.github.com/repos/nengo/nengo_gui/issues/817/events","html_url":"https://github.com/nengo/nengo_gui/issues/817","id":172328299,"number":817,"title":"IPythonViz does not work in Jupyter Notebook that is not on localhost or accessed via HTTPS","user":{"login":"jgosmann","id":850157,"avatar_url":"https://avatars3.githubusercontent.com/u/850157?v=4","gravatar_id":"","url":"https://api.github.com/users/jgosmann","html_url":"https://github.com/jgosmann","followers_url":"https://api.github.com/users/jgosmann/followers","following_url":"https://api.github.com/users/jgosmann/following{/other_user}","gists_url":"https://api.github.com/users/jgosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/jgosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgosmann/subscriptions","organizations_url":"https://api.github.com/users/jgosmann/orgs","repos_url":"https://api.github.com/users/jgosmann/repos","events_url":"https://api.github.com/users/jgosmann/events{/privacy}","received_events_url":"https://api.github.com/users/jgosmann/received_events","type":"User","site_admin":false},"labels":[{"id":164090296,"url":"https://api.github.com/repos/nengo/nengo_gui/labels/bug","name":"bug","color":"000000","default":true},{"id":213937192,"url":"https://api.github.com/repos/nengo/nengo_gui/labels/feature%20request","name":"feature request","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"jgosmann","id":850157,"avatar_url":"https://avatars3.githubusercontent.com/u/850157?v=4","gravatar_id":"","url":"https://api.github.com/users/jgosmann","html_url":"https://github.com/jgosmann","followers_url":"https://api.github.com/users/jgosmann/followers","following_url":"https://api.github.com/users/jgosmann/following{/other_user}","gists_url":"https://api.github.com/users/jgosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/jgosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgosmann/subscriptions","organizations_url":"https://api.github.com/users/jgosmann/orgs","repos_url":"https://api.github.com/users/jgosmann/repos","events_url":"https://api.github.com/users/jgosmann/events{/privacy}","received_events_url":"https://api.github.com/users/jgosmann/received_events","type":"User","site_admin":false},"assignees":[{"login":"jgosmann","id":850157,"avatar_url":"https://avatars3.githubusercontent.com/u/850157?v=4","gravatar_id":"","url":"https://api.github.com/users/jgosmann","html_url":"https://github.com/jgosmann","followers_url":"https://api.github.com/users/jgosmann/followers","following_url":"https://api.github.com/users/jgosmann/following{/other_user}","gists_url":"https://api.github.com/users/jgosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/jgosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgosmann/subscriptions","organizations_url":"https://api.github.com/users/jgosmann/orgs","repos_url":"https://api.github.com/users/jgosmann/repos","events_url":"https://api.github.com/users/jgosmann/events{/privacy}","received_events_url":"https://api.github.com/users/jgosmann/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-08-21T16:21:28Z","updated_at":"2017-10-29T03:55:29Z","closed_at":null,"author_association":"MEMBER","body":"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:\r\n\r\n1. How do we detect if we need to start in SSL mode? The Python code is executed in the IPyKernel that has no knowledge of the frontend accessing it (it could be even multiple frontends). Potentially it is possible to provide both SSL and non-SSL services with a single GUI server (especially given PR #864). However usually this requires two different ports and then we still do not know which of the two ports to connect to. On the frontend site `//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.\r\n2. Where do we get the SSL certificates from? Ideally we would reuse the ones used for the Jupyter server, but I don't think we can obtain those paths automatically. We could require the user to provide them, but that's inconvenient. It might be possible to auto-generate them, but this requires the user to click through that scary warning about self-signed certificates (and without the user being aware that certificates were generated, they might think of this as suspicious?)."},"comment":{"url":"https://api.github.com/repos/nengo/nengo_gui/issues/comments/340235831","html_url":"https://github.com/nengo/nengo_gui/issues/817#issuecomment-340235831","issue_url":"https://api.github.com/repos/nengo/nengo_gui/issues/817","id":340235831,"user":{"login":"jgosmann","id":850157,"avatar_url":"https://avatars3.githubusercontent.com/u/850157?v=4","gravatar_id":"","url":"https://api.github.com/users/jgosmann","html_url":"https://github.com/jgosmann","followers_url":"https://api.github.com/users/jgosmann/followers","following_url":"https://api.github.com/users/jgosmann/following{/other_user}","gists_url":"https://api.github.com/users/jgosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/jgosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgosmann/subscriptions","organizations_url":"https://api.github.com/users/jgosmann/orgs","repos_url":"https://api.github.com/users/jgosmann/repos","events_url":"https://api.github.com/users/jgosmann/events{/privacy}","received_events_url":"https://api.github.com/users/jgosmann/received_events","type":"User","site_admin":false},"created_at":"2017-10-29T03:55:29Z","updated_at":"2017-10-29T03:55:29Z","author_association":"MEMBER","body":"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."}}
{"actor":{"display_login":"jgosmann"}}