<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
Yeah, conflicting versions. Sorry, that seems to bite me again.<BR>
<BR>
On Wed, 2012-09-19 at 12:32 -0700, MinRK wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    If you are seeing WebSocket or 'ws' code, you are not actually using the sockjs branch. &nbsp;Make sure you clear cache / refresh, and that you are really using the right branch.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Also, websockets do not go over special ports, they go over the exact same port as the rest of the http[s] connection.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    -MinRK<BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    On Wed, Sep 19, 2012 at 6:12 AM, Darren Govoni &lt;<A HREF="mailto:darren@ontrenet.com">darren@ontrenet.com</A>&gt; wrote:<BR>
    <BLOCKQUOTE>
        Hi,<BR>
        <BR>
        &nbsp; 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.<BR>
        <BR>
        When I access the notebook, I get this error in FF.<BR>
        <BR>
        -------------------------------------------------------------- <BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
<PRE>
Kernel started: 
</PRE>
        5c3becbf-c91b-4bed-927d-e2c67a2f01d3
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        kernel.js?v=b53bb (line 80)
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
<PRE>
Starting WS:
</PRE>
        ws://<A HREF="http://ec2-50-17-81-219.compute-1.amazonaws.com/kernels/5c3becbf-c91b-4bed-927d-e2c67a2f01d3">ec2-50-17-81-219.compute-1.amazonaws.com/kernels/5c3becbf-c91b-4bed-927d-e2c67a2f01d3</A>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        kernel.js?v=b53bb (line 127)
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        The connection to ws://<A HREF="http://ec2-50-17-81-219.compute-1.amazonaws.com/kernels/5c3becbf-c91b-4bed-927d-e2c67a2f01d3/shell">ec2-50-17-81-219.compute-1.amazonaws.com/kernels/5c3becbf-c91b-4bed-927d-e2c67a2f01d3/shell</A> was interrupted while the page was loading.
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
<PRE>


</PRE>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <TABLE CELLSPACING="0" CELLPADDING="0">
<TR>
<TD>
&nbsp;
</TD>
<TD>
<PRE>
this.shell_channel = new this.WebSocket(ws_url + &quot;/shell&quot;);
</PRE>
kernel.js?v=b53bb (line 128)
</TD>
</TR>
</TABLE>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        The connection to ws://ec2-50-17-81-219.comput <A HREF="http://e-1.amazonaws.com/kernels/5c3becbf-c91b-4bed-927d-e2c67a2f01d3/iopub">e-1.amazonaws.com/kernels/5c3becbf-c91b-4bed-927d-e2c67a2f01d3/iopub</A> was interrupted while the page was loading.
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
<PRE>


</PRE>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <TABLE CELLSPACING="0" CELLPADDING="0">
<TR>
<TD>
&nbsp;
</TD>
<TD>
<PRE>
this.iopub_channel = new this.WebSocket(ws_url + &quot;/iopub&quot;);
</PRE>
</TD>
</TR>
</TABLE>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        &nbsp;-----------------------------------------------------<BR>
        <BR>
        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.<BR>
        <BR>
        <FONT COLOR="#888888">Darren </FONT><BR>
        <BR>
        <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">http://mail.scipy.org/mailman/listinfo/ipython-user</A><BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
IPython-User mailing list
<A HREF="mailto:IPython-User@scipy.org">IPython-User@scipy.org</A>
<A HREF="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>