For the POC purpose both my app and notebook are in the same host, where I am trying to embedd my live notebook application in an iframe.
I will chage this settings once I am hosting my notebook and web app in different hosts. On Thursday, 8 September 2016 16:35:53 UTC+5:30, Min RK wrote: > > If your webapp and the notebook are on different hosts, you will need to > relax the notebook server's cross-origin protections: > > Setting the configuration: > > NotebookApp.allow_origin='*' > > will allow any website to launch notebooks. Setting the origin to your > other application's domain will allow only your application to access the > notebook server's API. > > -Min > > On Thu, Sep 8, 2016 at 12:07 PM, vigneshwer dhinakaran <[email protected] > <javascript:>> wrote: > >> The embedding with a running notebook server throws a content security >> error, while it works fine with the online nbviewer output of the notebook. >> >> Code implementation : >> https://github.com/dvigneshwer/Spawning_jupyter_notebook_webapp for >> embedding a notebook in a webapp >> >> I have also mentioned th problems I am facing in this implementation. >> >> Any reviews will be appreciated. >> >> On Tuesday, 6 September 2016 20:29:39 UTC+5:30, vigneshwer dhinakaran >> wrote: >>> >>> Hi, >>> >>> I am facing problems embedding the jupyter notebook in an iframe in a >>> webpage. >>> >>> Followed this official link >>> https://github.com/jupyter/notebook/blob/master/docs/source/public_server.rst#embedding-the-notebook-in-another-website >>> >>> Got a refused to display error and there was not custom directory in my >>> ~/.jupyter dir >>> >>> More details :- https://github.com/jupyter/notebook/issues/1256 >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Project Jupyter" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jupyter/35c8c173-1fc7-4442-b74f-80c3b44c2b28%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jupyter/35c8c173-1fc7-4442-b74f-80c3b44c2b28%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/bf53900b-2be0-4763-b512-8d46f5d720f0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
