Skip to content

Instantly share code, notes, and snippets.

@3rd-Eden
Created October 7, 2010 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3rd-Eden/615009 to your computer and use it in GitHub Desktop.
Save 3rd-Eden/615009 to your computer and use it in GitHub Desktop.
Caught exception: Error: assertion error
[ 'Error: assertion error'
, ' at node.js:30:17'
, ' at Timer.callback (net:150:29)'
, ' at node.js:764:9'
]
Initializing client with transport "flashsocket"
Client 5877707917243242 connected
268 wtf.. clients internally queued.
Initializing client with transport "flashsocket"
Client 7412870274856687 connected
269 wtf.. clients internally queued.
Caught exception: Error: assertion error
[ 'Error: assertion error'
, ' at node.js:30:17'
, ' at Timer.callback (net:150:29)'
, ' at node.js:764:9'
]
Client 6639853832311928 disconnected
Client 9317042354959995 disconnected
Caught exception: Error: assertion error
[ 'Error: assertion error'
, ' at node.js:30:17'
, ' at Timer.callback (net:150:29)'
, ' at node.js:764:9'
]
Client 3484993949532509 disconnected
Client 5395396156236529 disconnected
Caught exception: Error: assertion error
[ 'Error: assertion error'
, ' at node.js:30:17'
, ' at Timer.callback (net:150:29)'
, ' at node.js:764:9'
]
@skillcoder
Copy link

Do I understand correctly you need to edit the file
./Socket.IO-node/lib/socket.io/client.js
on the client side so as not to fall a server?

@3rd-Eden
Copy link
Author

3rd-Eden commented Mar 3, 2011

Hi,

You need to edit the Client.prototype._onConnect in ./Socket.IO-node/lib/socket.io/client.js . I have also pushed the changes to my companies github repo and highlighted the position of the changes.
( Note: this is on socket.io 0.6.15 )
https://github.com/Hotelsnl/Socket.IO-node/blob/63624e5996b2719bb08f38a8af143c2019617da3/lib/socket.io/client.js#L63-103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment