[IPython-User] sockjs code test

Massimo Di Stefano massimodisasha@gmail....
Thu Nov 1 08:06:21 CDT 2012


Il giorno Nov 1, 2012, alle ore 5:49 AM, Matthias BUSSONNIER ha scritto:

> 
> Le 1 nov. 2012 à 04:23, Massimo Di Stefano a écrit :
> 
>> Hi All,
>> 
>> 
>> i've exactly the same needs, 
>> the network of my institute is under a VPN & firewall 
>> and they don't allow me to run the notebook outside the VPN
>> 
>> looking for a solution i found the sockjs branch a possible way to figure out this problem 
>> i reinstalled ipython using the sokjs branch .. but i guess i need to tune-up some settings in order to have it running.
>> because i have exactly the same behavior of master branch.
>> 
>> please can you try to guide me to learn how to use that branch ?
> 
> For most cases, it shouldn't need more configuration master. 
> 
> Do you have any errors in the javascript console or or in the command line where you ran the notebook ?

with VPN ON the crhome js console at the dashbord page says :

Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:235
chromeHidden.Port.dispatchOnDisconnect


after i close the vpn connection (needed when i'm ssh into the server  to start the notebook) the notebook dashbord is no more available 
blank page.

the log in the ipython standard output is :

!cat nohup.out
[NotebookApp] Using existing profile dir: u'/home/epifanio/.ipython/profile_default'
[NotebookApp] Serving notebooks from local directory: /home/epifanio
[NotebookApp] The IPython Notebook is running at: http://xxx.xxx.xxx.xxx:8888/
[NotebookApp] Use Control-C to stop this server and shut down all kernels.
[NotebookApp] Using MathJax from CDN: http://cdn.mathjax.org/mathjax/latest/MathJax.js
[NotebookApp] Kernel started: 7665850e-ecf6-4368-b253-4807afeab0a1
[NotebookApp] Connecting to: tcp://127.0.0.1:44548
[NotebookApp] Connecting to: tcp://127.0.0.1:59842
[NotebookApp] Connecting to: tcp://127.0.0.1:41603
[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-7665850e-ecf6-4368-b253-4807afeab0a1.json
[NotebookApp] Kernel started: 6c678bbf-b652-4a97-adc8-654caba4963c
[NotebookApp] Connecting to: tcp://127.0.0.1:54440
[NotebookApp] Connecting to: tcp://127.0.0.1:47424
[NotebookApp] Connecting to: tcp://127.0.0.1:58503
[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-6c678bbf-b652-4a97-adc8-654caba4963c.json
[NotebookApp] Using existing kernel: 6c678bbf-b652-4a97-adc8-654caba4963c
[NotebookApp] Connecting to: tcp://127.0.0.1:54440
[NotebookApp] Connecting to: tcp://127.0.0.1:47424
[NotebookApp] Connecting to: tcp://127.0.0.1:58503

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121101/071cf97f/attachment-0001.html 


More information about the IPython-User mailing list