[IPython-User] sockjs code test
MinRK
benjaminrk@gmail....
Wed Sep 19 14:32:01 CDT 2012
If you are seeing WebSocket or 'ws' code, you are not actually using the
sockjs branch. Make sure you clear cache / refresh, and that you are
really using the right branch.
Also, websockets do not go over special ports, they go over the exact same
port as the rest of the http[s] connection.
-MinRK
On Wed, Sep 19, 2012 at 6:12 AM, Darren Govoni <darren@ontrenet.com> wrote:
> Hi,
>
> I got the sockjs code PR from minrk git and wanted to try it from my
> Amazon instance within our network (which blocks non 80 outbound ports). I
> have configured my ipython notebook to run on port 80.
>
> When I access the notebook, I get this error in FF.
>
> --------------------------------------------------------------
>
> Kernel started:
>
> 5c3becbf-c91b-4bed-927d-e2c67a2f01d3
> kernel.js?v=b53bb (line 80)
>
> Starting WS:
>
> ws://
> ec2-50-17-81-219.compute-1.amazonaws.com/kernels/5c3becbf-c91b-4bed-927d-e2c67a2f01d3
> kernel.js?v=b53bb (line 127)
>
> The connection to ws://ec2-50-17-81-219.compute-1.amazonaws.com/kernels/5c3becbf-c91b-4bed-927d-e2c67a2f01d3/shell was interrupted while the page was loading.
>
>
> this.shell_channel = new this.WebSocket(ws_url + "/shell");
>
> kernel.js?v=b53bb (line 128)
>
> The connection to ws://ec2-50-17-81-219.comput
> e-1.amazonaws.com/kernels/5c3becbf-c91b-4bed-927d-e2c67a2f01d3/iopub was interrupted while the page was loading.
>
>
> this.iopub_channel = new this.WebSocket(ws_url + "/iopub");
>
> -----------------------------------------------------
>
> My goal/desire is to have all the interactions from client notebook to
> server to route over friendly HTTP (not random ports) from the originating
> server (which is the secure approach). Is this possible or intended?
> Otherwise, we won't be able to use this wonderful tool. Tips appreciated.
>
> Darren
>
> _______________________________________________
> 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/20120919/a3f38c92/attachment.html
More information about the IPython-User
mailing list