[IPython-User] sockjs code test
Massimo Di Stefano
massimodisasha@gmail....
Thu Nov 1 12:02:55 CDT 2012
Il giorno Nov 1, 2012, alle ore 10:01 AM, Matthias BUSSONNIER ha scritto:
>
> Le 1 nov. 2012 à 14:06, Massimo Di Stefano a écrit :
>
>> 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
>
> This error does not come from IPython itself, I'm trying to figure out what could cause this.
> Is there any tracebacks ?
>
> The console log does not show anything unusual.
>
i have this log for any website .. i guess we can just ignore it
>
>> I tried doing what is described here, adding my.host.edu to the 'no proxy for' field (Chrome, on MacbookPro) and that did NOT resolve the issue.
>
> I added the Proxy part because it was the issue for me. I figured out because it was working when the server was on localhost and not otherwise.
>
>> from that topic :
>>
>> http://old.nabble.com/IPython-Notebook-on-Webfaction-to34451263.html#a34451263
>>
>> it seems to be a known bug
>>
>> the comment that suggests to try the sockjs branch is: https://github.com/ipython/ipython/pull/2321#issuecomment-8584862
>>
>> … but i'm stuck on understand how to use it in a proper way
>> any help ?
>
> This shouldn't need more configuration to work (mane clearing browser cache).
> We are still trying to figure out why it does not work on some cases.
>
> We might need a Page that describe how to test what works and what doesn't.
>
> Can you try this to see if websoket works
> http://www.websocket.org/echo.html
i added the html file "websoket.html"
in /var/www/esr/websoket.html
and i loaded it with :
http://my.hos.edu/esr/websoket.html
i received this in the browser ..:
WebSocket Test
CONNECTED
SENT: WebSocket rocks
RESPONSE: WebSocket rocks
DISCONNECTED
so i guess it worked.
- tring to load the
/my.hos.edu:8888
without VPN is not working
the ipython std out is clean .. no traceback/errors there.
should i set dome option in the notebook, to increase the debug-level to have it "more verbose"
p.s.
i'm online on IRC.freenode
#ipython
user : epifanio
>
> --
> Matthias
>
>
>> Thanks!
>>
>> Massimo.
>
>
>
>
>>
>>
>> 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
>>
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121101/e072de2b/attachment.html
More information about the IPython-User
mailing list