latest version fails with ie8 (socketio problems?)
I see this in the logs:
I'm on a local network with ip-address while testing this.
It takes forever to connect. Chrome/Firefox work fine - just IE8 is having this problem.
11 Jul 16:02:56 - Initializing client with transport "jsonp-polling" 11 Jul 16:02:56 - Client 395031118998304 connected 11 Jul 16:02:56 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:56 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:56 - Initializing client with transport "xhr-polling" 11 Jul 16:02:56 - Client 8955525632482022 connected 11 Jul 16:02:56 - Received: {"type":"subscribe","channel":"allpoetry_reads"} 11 Jul 16:02:56 - Client subscribing to: allpoetry_reads 11 Jul 16:02:56 - Received: {"type":"subscribe","channel":"166a9c1adac3dc8f51d8ce3d22a5d7a6"} 11 Jul 16:02:56 - Client subscribing to: 166a9c1adac3dc8f51d8ce3d22a5d7a6 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:04 - Client 7418751909863204 disconnected
11 Jul 16:03:16 - Client 5521897536236793 disconnected 11 Jul 16:03:46 - Initializing client with transport "jsonp-polling" 11 Jul 16:03:46 - Client 3793639016803354 connected 11 Jul 16:03:46 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:46 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785"
Your using the npm or Github version? If not the latter - can you try it. It has SocketIO 0.7 support.
Thanks, Alex
On Mon, Jul 11, 2011 at 6:08 PM, inspire22 < [email protected]>wrote:
I see this in the logs:
I'm on a local network with ip-address while testing this.
It takes forever to connect. Chrome/Firefox work fine - just IE8 is having this problem.
11 Jul 16:02:56 - Initializing client with transport "jsonp-polling" 11 Jul 16:02:56 - Client 395031118998304 connected 11 Jul 16:02:56 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:56 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:56 - Initializing client with transport "xhr-polling" 11 Jul 16:02:56 - Client 8955525632482022 connected 11 Jul 16:02:56 - Received: {"type":"subscribe","channel":"allpoetry_reads"} 11 Jul 16:02:56 - Client subscribing to: allpoetry_reads 11 Jul 16:02:56 - Received: {"type":"subscribe","channel":"166a9c1adac3dc8f51d8ce3d22a5d7a6"} 11 Jul 16:02:56 - Client subscribing to: 166a9c1adac3dc8f51d8ce3d22a5d7a6 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:04 - Client 7418751909863204 disconnected
11 Jul 16:03:16 - Client 5521897536236793 disconnected 11 Jul 16:03:46 - Initializing client with transport "jsonp-polling" 11 Jul 16:03:46 - Client 3793639016803354 connected 11 Jul 16:03:46 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:46 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785"
Reply to this email directly or view it on GitHub: https://github.com/maccman/juggernaut/issues/86
Alex MacCaw
+12147175129 @maccman
http://alexmaccaw.co.uk | http://www.leadthinking.com | http://socialmod.com
Yeah i was just realizing my npm upgrade hadn't gotten the latest, as the included socketio is behind still. I'll give it a shot in a minute.
How do I install the npm submodules again?
Ciao, Kevin Watt
On Jul 11, 2011, at 4:12 PM, maccman wrote:
Your using the npm or Github version? If not the latter - can you try it. It has SocketIO 0.7 support.
Thanks, Alex
On Mon, Jul 11, 2011 at 6:08 PM, inspire22 < [email protected]>wrote:
I see this in the logs:
I'm on a local network with ip-address while testing this.
It takes forever to connect. Chrome/Firefox work fine - just IE8 is having this problem.
11 Jul 16:02:56 - Initializing client with transport "jsonp-polling" 11 Jul 16:02:56 - Client 395031118998304 connected 11 Jul 16:02:56 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:56 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:56 - Initializing client with transport "xhr-polling" 11 Jul 16:02:56 - Client 8955525632482022 connected 11 Jul 16:02:56 - Received: {"type":"subscribe","channel":"allpoetry_reads"} 11 Jul 16:02:56 - Client subscribing to: allpoetry_reads 11 Jul 16:02:56 - Received: {"type":"subscribe","channel":"166a9c1adac3dc8f51d8ce3d22a5d7a6"} 11 Jul 16:02:56 - Client subscribing to: 166a9c1adac3dc8f51d8ce3d22a5d7a6 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:04 - Client 7418751909863204 disconnected
11 Jul 16:03:16 - Client 5521897536236793 disconnected 11 Jul 16:03:46 - Initializing client with transport "jsonp-polling" 11 Jul 16:03:46 - Client 3793639016803354 connected 11 Jul 16:03:46 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:46 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785"
Reply to this email directly or view it on GitHub: https://github.com/maccman/juggernaut/issues/86
Alex MacCaw
+12147175129 @maccman
http://alexmaccaw.co.uk | http://www.leadthinking.com | http://socialmod.com
Reply to this email directly or view it on GitHub: https://github.com/maccman/juggernaut/issues/86#issuecomment-1550831
Npm dependencies?
git clone git://github.com/maccman/juggernaut.git cd juggernaut npm install .
On Mon, Jul 11, 2011 at 6:38 PM, inspire22 < [email protected]>wrote:
How do I install the npm submodules again?
Ciao, Kevin Watt
On Jul 11, 2011, at 4:12 PM, maccman wrote:
Your using the npm or Github version? If not the latter - can you try it. It has SocketIO 0.7 support.
Thanks, Alex
On Mon, Jul 11, 2011 at 6:08 PM, inspire22 < [email protected]>wrote:
I see this in the logs:
I'm on a local network with ip-address while testing this.
It takes forever to connect. Chrome/Firefox work fine - just IE8 is having this problem.
11 Jul 16:02:56 - Initializing client with transport "jsonp-polling" 11 Jul 16:02:56 - Client 395031118998304 connected 11 Jul 16:02:56 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:56 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:56 - Initializing client with transport "xhr-polling" 11 Jul 16:02:56 - Client 8955525632482022 connected 11 Jul 16:02:56 - Received: {"type":"subscribe","channel":"allpoetry_reads"} 11 Jul 16:02:56 - Client subscribing to: allpoetry_reads 11 Jul 16:02:56 - Received: {"type":"subscribe","channel":"166a9c1adac3dc8f51d8ce3d22a5d7a6"} 11 Jul 16:02:56 - Client subscribing to: 166a9c1adac3dc8f51d8ce3d22a5d7a6 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:02:57 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:04 - Client 7418751909863204 disconnected
11 Jul 16:03:16 - Client 5521897536236793 disconnected 11 Jul 16:03:46 - Initializing client with transport "jsonp-polling" 11 Jul 16:03:46 - Client 3793639016803354 connected 11 Jul 16:03:46 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:46 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785" 11 Jul 16:03:49 - Couldnt find client with session id "6642279957886785"
Reply to this email directly or view it on GitHub: https://github.com/maccman/juggernaut/issues/86
Alex MacCaw
+12147175129 @maccman
http://alexmaccaw.co.uk | http://www.leadthinking.com | http://socialmod.com
Reply to this email directly or view it on GitHub: https://github.com/maccman/juggernaut/issues/86#issuecomment-1550831
Reply to this email directly or view it on GitHub: https://github.com/maccman/juggernaut/issues/86#issuecomment-1550952
Alex MacCaw
+12147175129 @maccman
http://alexmaccaw.co.uk | http://www.leadthinking.com | http://socialmod.com
Seems to be working really well.
I've still never seen firefox or IE connect with flash sockets, but xhr-polling seems to be working fine for them. I'm setting window.WEB_SOCKET_SWF_LOCATION = "/images/WebSocketMain.swf" in my document head before I load juggernaut's application.js.
--silent still doesn't disable log output
Thanks!
also jug.state doesn't seem to be set anymore, but I can approximate it I think with jug.io.socket.connected & connecting
Don't set WEB_SOCKET_SWF_LOCATION - you don't need to anymore.
Yup, --silent needs to be implemented.
Yes, jug.state isn't needed either - event handlers should do all you need.
On Mon, Jul 11, 2011 at 7:03 PM, inspire22 < [email protected]>wrote:
Seems to be working really well.
I've still never seen firefox or IE connect with flash sockets, but xhr-polling seems to be working fine for them. I'm setting window.WEB_SOCKET_SWF_LOCATION = "/images/WebSocketMain.swf" in my document head before I load juggernaut's application.js.
--silent still doesn't disable log output
Thanks!
Reply to this email directly or view it on GitHub: https://github.com/maccman/juggernaut/issues/86#issuecomment-1551031
Alex MacCaw
+12147175129 @maccman
http://alexmaccaw.co.uk | http://www.leadthinking.com | http://socialmod.com
It was working great with websocket @ chrome, but sometimes that falls through still (websocket sucks?) Then I get these errors:
It seems to send 'Welcome to socket.io.' @ each connection - seems like a waste of bandwidth, and gives this error: Resource interpreted as Script but transferred with MIME type text/plain. 0:1Uncaught SyntaxError: Unexpected identifier
Then it fails & doesn't try anything else (like jsonP polling). Looks like jug.socket.options has "reconnect: false" - maybe thats why it doesn't try the next transport method?
I've also gotten this a few times @ chrome XMLHttpRequest cannot load http://site.com:8080/socket.io/xhr-polling//1310517530166. Origin http://site.com is not allowed by Access-Control-Allow-Origin.
XHR-polling is working fine on firefox despite the port difference
I'm using Juggernaut 2 (2.0.3 I think) with Node 0.49, socket.io 0.73.
It appears that websockets is working on Chrome 12. It's a bit difficult to tell ... I see a lot of websocket upgrade handshakes and 101's (always of type 'pending') but I don't see any 'socket_io/1/xhr-polling' type requests.
Firefox 6 seems to be all XHR-polling in Firebug. Same on IE9.
Am I doing something wrong or is that the current state of affairs?