<blockquote style="margin:0 0 0 40px;border:none;padding:0px"></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:11px"> would offer again, that despite the convenience of using on-the-fly ports, the best and most</span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:11px"> <br>

</span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:11px">web-compliant approach is to tunnel all the client/server interactions over the same port/HTTP<br></span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:11px">that the client originated and use the &quot;front-controller&quot; pattern on the server to sort out what<br>

</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:11px;background-color:rgb(255,255,255)">goes where.</span></blockquote><div><br></div><div>This is already what the notebook does - only one port (8888 by default) is used for web client communication.  This is a common source of confusion - all the zmq / random ports are used by the server to talk to kernels (entirely localhost).</div>

<div><br></div><div>-MinRK</div><div> </div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"></blockquote><div class="gmail_quote">On Thu, Nov 1, 2012 at 9:06 AM, Massimo Di Stefano <span dir="ltr">&lt;<a href="mailto:massimodisasha@gmail.com" target="_blank">massimodisasha@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

<span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

Il giorno Nov 1, 2012, alle ore 5:49 AM, Matthias BUSSONNIER ha scritto:</div></span></div></span></div></span></div></span></span></div><div><div><div class="h5"><br><blockquote type="cite"><div style="word-wrap:break-word">

<br><div><div>Le 1 nov. 2012 à 04:23, Massimo Di Stefano a écrit :</div><br><blockquote type="cite"><div style="word-wrap:break-word"><div><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div style="word-wrap:break-word">

<span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Hi All,</span></div><div style="word-wrap:break-word">

<span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></span></div><div style="word-wrap:break-word">

<span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></span></div><div style="word-wrap:break-word">

<span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">i&#39;ve exactly the same needs, </span></div>

<div style="word-wrap:break-word"><span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">the network of my institute is under a VPN &amp; firewall </span></div>

<div style="word-wrap:break-word"><span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">and they don&#39;t allow me to run the notebook outside the VPN</span></div>

<div style="word-wrap:break-word"><br></div><div style="word-wrap:break-word"><span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">looking for a solution i found the sockjs branch a possible way to figure out this problem </span></div>

<div style="word-wrap:break-word"><span style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">i reinstalled ipython using the sokjs branch </span>.. but i guess i need to tune-up some settings in order to have it running.</div>

<div style="word-wrap:break-word">because i have exactly the same behavior of master branch.</div><div style="word-wrap:break-word"><br></div><div style="word-wrap:break-word">please can you try to guide me to learn how to use that branch ?</div>

</span></div></span></div></span></div></span></span></div></div></blockquote><div><br></div><div>For most cases, it shouldn&#39;t need more configuration master. </div><div><br></div><div>Do you have any errors in the javascript console or or in the command line where you ran the notebook ?</div>

</div></div></blockquote><div><br></div></div></div><div>with VPN ON the crhome js console at the dashbord page says :</div><div><br></div><div><div>Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:235</div>

<div>chromeHidden.Port.dispatchOnDisconnect</div><div><br></div><div><br></div><div>after i close the vpn connection (needed when i&#39;m ssh into the server  to start the notebook) the notebook dashbord is no more available </div>

<div>blank page.</div><div><br></div><div>the log in the ipython standard output is :</div><div><br></div><div>!cat nohup.out</div><div>[NotebookApp] Using existing profile dir: u&#39;/home/epifanio/.ipython/profile_default&#39;</div>

<div>[NotebookApp] Serving notebooks from local directory: /home/epifanio</div><div>[NotebookApp] The IPython Notebook is running at: <a href="http://xxx.xxx.xxx.xxx:8888/" target="_blank">http://xxx.xxx.xxx.xxx:8888/</a></div>

<div>[NotebookApp] Use Control-C to stop this server and shut down all kernels.</div><div>[NotebookApp] Using MathJax from CDN: <a href="http://cdn.mathjax.org/mathjax/latest/MathJax.js" target="_blank">http://cdn.mathjax.org/mathjax/latest/MathJax.js</a></div>

<div>[NotebookApp] Kernel started: 7665850e-ecf6-4368-b253-4807afeab0a1</div><div>[NotebookApp] Connecting to: <a>tcp://127.0.0.1:44548</a></div><div>[NotebookApp] Connecting to: <a>tcp://127.0.0.1:59842</a></div><div>[NotebookApp] Connecting to: <a>tcp://127.0.0.1:41603</a></div>

<div>[IPKernelApp] To connect another client to this kernel, use:</div><div>[IPKernelApp] --existing kernel-7665850e-ecf6-4368-b253-4807afeab0a1.json</div><div>[NotebookApp] Kernel started: 6c678bbf-b652-4a97-adc8-654caba4963c</div>

<div>[NotebookApp] Connecting to: <a>tcp://127.0.0.1:54440</a></div><div>[NotebookApp] Connecting to: <a>tcp://127.0.0.1:47424</a></div><div>[NotebookApp] Connecting to: <a>tcp://127.0.0.1:58503</a></div><div>[IPKernelApp] To connect another client to this kernel, use:</div>

<div>[IPKernelApp] --existing kernel-6c678bbf-b652-4a97-adc8-654caba4963c.json</div><div>[NotebookApp] Using existing kernel: 6c678bbf-b652-4a97-adc8-654caba4963c</div><div>[NotebookApp] Connecting to: <a>tcp://127.0.0.1:54440</a></div>

<div>[NotebookApp] Connecting to: <a>tcp://127.0.0.1:47424</a></div><div>[NotebookApp] Connecting to: <a>tcp://127.0.0.1:58503</a></div><div><br></div></div></div></div><br>_______________________________________________<br>


IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
<br></blockquote></div><br>