take a look  at this :

io.sockets.on('connection', function (socket) {
  console.log(socket.id);

socket.on('some-event' , function(some_data){

socket.emit(socket.id);

})

 });


when this error occurs, if i call the event 'some-event' the socket is 
undefined, so i cant get the id that and i recieve a error, because i cant 
get the propriety id of undefined.
newbie question, can i leave it with xhr-polling forever? whats the 
downside? how i do it =p.

Em quarta-feira, 23 de janeiro de 2013 00h12min44s UTC-2, Guillermo Rauch 
escreveu:
>
> This is harmless. It occurs with certain proxies that break the websocket 
> protocol, and can't really be avoided. The client will just fall back to 
> xhr-polling.
>
>
> On Tue, Jan 22, 2013 at 5:52 PM, <[email protected] <javascript:>>wrote:
>
>> Hello, i made a medium size app, the server was running for 2 days(with 
>> some tests and no hard work) and then i started to use it on the company 
>> that requested it, but after 4 hours of work(several request from 4 
>> different machines), the following error pops up:
>>
>> warn: websocket parser error: continuation frame cannot follow current 
>> opcode
>>
>>
>> i have no clue why, some stuff still works, i dont know where is the 
>> error, it doesn't make any sense, 1 event no error, on another event the 
>> error happens, i triggered the same event with the same data on another 
>> machine it worked, but on the one connected for 4 hours it crashed, but its 
>> odd because other events worked while that one failed, any clue why?
>> i guess i messed up my explanation, but you get the idea(i hope) =p
>>
>> thanks you all for reading that bad English,
>> bb
>>
>> -- 
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines: 
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>
>
>
> -- 
> Guillermo Rauch
> LearnBoost CTO
> http://devthought.com
>  

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to