ClusterWS / ClusterWS-Client-JS

:fire: JavaScript Client for ClusterWS - lightweight, fast and powerful framework for building scalable WebSocket applications in Node.js.
MIT License
115 stars 10 forks source link

Message parsing error #42

Closed serdyanuk closed 6 years ago

serdyanuk commented 6 years ago

Submitting

Details

  1. 3.0.4 client, 3.0.5 server
  2. Ubuntu 17.10
  3. Hi, I updated from version 2.x -> to 3.x (Server and client). When i restarting my app I got an error in the console on the Chrome "TypeError: t.subarray is not a function at uint8ArrayToString (index.js:9) at WebSocket.websocket.onmessage (index.js:141)"
    As I understood this error appears when we send message to the client. Example server side: socket.send('eventName', 'test message');
goriunov commented 6 years ago

Thank for this error message, i have not notice this small part as i was testing with binary enabled. Should be working fine with new release client 3.0.5

serdyanuk commented 6 years ago

You're welcome. Tnx for good lib.