transports.js for IE jsonp (was Fwd: [Orbited] Re: Announcing Orbited2 Beta )

9 views
Skip to first unread message

Michael Carter

unread,
Oct 8, 2010, 12:25:54 PM10/8/10
to js...@googlegroups.com


---------- Forwarded message ----------
From: Andrew Armstrong <phpl...@gmail.com>
Date: Fri, Oct 8, 2010 at 12:58 AM
Subject: [Orbited] Re: Announcing Orbited2 Beta
To: Orbited Discussion <orbite...@googlegroups.com>


Hi,

I am using Python 2.6.

Also for the Orbited/js.on developers, I have committed a simple patch
at http://github.com/Plasma/js.io/commit/a8a346d299102d21849a14eec25bc3c6ee89b193
which fixes an annoying bug where the connection under IE would not
always work for the first page load attempt (from IE6 -> IE9 beta).
Using this patch it works each time the first time.

- Andrew

On Sep 28, 6:21 pm, Niklas B <biv...@gmail.com> wrote:
> Hi,
>
> Most likely it's not. I haven't had the time I want to go through
> Orbited2 yet, but at least in old 0.8 it won't trigger onclose, but
> the HandShakeTimeOut error when it can't do it's heartbeat.
>
> Btw, are you using Python 2.5 or 2.6?
>
> Regards,
> Niklas
>
> On Sep 28, 3:18 am, Andrew Armstrong <phpla...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I am not sure whether an error or close event is available with this
> > version of TCPSocket?
>
> > I tried:
>
> > Orbited2.TCPSocket.onclose = function(data) {
> >         alert("closed2: " + data);};
>
> > var socket = new Orbited2.TCPSocket({
> >         orbitedUri: "(url)"});
>
> > socket.onclose = function(data) {
> >         alert("closed: " + data);
>
> > };
>
> > --
>
> > Unfortunately when the server side of Orbited is shutdown; no close
> > event is raised on the client.
>
> > Am I looking in the wrong place?
>
> > Thanks
>
> > On Sep 27, 9:07 pm, Andrew Armstrong <phpla...@gmail.com> wrote:
>
> > > Hi,
>
> > > I was able to fix my issue with createIframe() by replacing the
> > > dynamic 'i.src=javascript:var d = document; ...' script code that
> > > created an iframe with i.src=/blank.html which seemed to fix my issue.
>
> > > Not sure whether its just my end or IE9, but this seemed to work.
>
> > > Regards,
> > > Andrew
>
> > > On Sep 21, 2:23 pm, Andrew Armstrong <phpla...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > I have downloaded Orbited2 and have encountered problems under IE
> > > > (like Orbited 0.7x).
>
> > > > I am using the simple IRC example fromhttp://orbited.org/orbited2/intro.html
> > > > and replaced sock.send('NICK mcarter\r\n'); with a simple
> > > > alert('connected'); line.
>
> > > > Under Chrome and Firefox; I get 'connected'. Under IE, nothing
> > > > happens.
>
> > > > I traced the problem somewhere to transports.jsonp.createIframe() (no
> > > > trailing 's' in createIframe()); IE for some reason just breaks out of
> > > > the function. There is no error message or anything like that.
>
> > > > Are you sure orbited2 is working for IE with the TCP Socket? It does
> > > > not appear to work at all for me. I am trying to get orbited2 and
> > > > morbidq working together.
>
> > > > Thanks,
> > > > Andrew
>
> > > > On Aug 7, 11:32 am, Michael Carter <cartermich...@gmail.com> wrote:
>
> > > > > Hi everyone,
>
> > > > > Orbited2 is a rewrite of orbited on top of eventlet; It uses websocket and
> > > > > Comet session protocol as its transport layer. Orbited2 offers both tcp
> > > > > socket and websocket proxying. So if you write a websocket server (using
> > > > > node, eventlet, etc.) and you want it to work with existing browsers, just
> > > > > deploy orbited.
>
> > > > > Check it out:http://orbited.org/orbited2
>
> > > > > The code base is much better structured, and far, far sleeker than the old
> > > > > orbited releases. I'm announcing Orbited2 as a very early Beta. Please test
> > > > > it out against your application and let me know how it goes.
>
> > > > > Its worth noting that Orbited2 is built specifically for those of you who
> > > > > use orbited strictly as a socket proxy. No longer is there a stomp server,
> > > > > or any client-side protocol libraries included. For those of you looking for
> > > > > a web-facing message queue, please check out hookbox.org -- it is a fine
> > > > > choice. If you want to keep using your existing code, you can serve irc2.js
> > > > >  / stomp.js, etc. from your web app and everything should work fine.
>
> > > > > I know there are a lot of you on Orbited 0.7.x, and a couple on the
> > > > > yet-unreleased orbited 0.8.x.  I apologize for the fragmentation of the
> > > > > project, but I will be concentrating all future work on Orbited2, while
> > > > > Matthew Desmarais continues to support/maintain those of you still on the
> > > > > current orbited releases. Hopefully we can all get on board with Orbited2
> > > > > soon and move forward as one.
>
> > > > > Cheers,
>
> > > > > Michael Carter

--
You received this message because you are subscribed to the
Orbited discussion group.
To post, send email to
   <orbite...@googlegroups.com>
To unsubscribe, send email to
   <orbited-user...@googlegroups.com>
For more options, visit
   <http://groups.google.com/group/orbited-users>

Reply all
Reply to author
Forward
0 new messages