Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

kurento-client always crashes on node.js >=6.3 (dependency bug) #116

@bschmitlin

Description

@bschmitlin

using node 6.4 with [email protected] connected to latest master branch kurento-server.

Due to (from my understanding) an incompatibility of the ws library with node.js 6.3, when opening the websocket kurento-client crashes the node app:

2016-08-19T09:13:32.432Z - error: RangeError: out of range index
at RangeError (native)
at fastCopy (/Users/benoit/git/rtc/node_modules/ws/lib/Receiver.js:317:24)
at Receiver.add (/Users/benoit/git/rtc/node_modules/ws/lib/Receiver.js:78:3)
at Socket.firstHandler (/Users/benoit/git/rtc/node_modules/ws/lib/WebSocket.js:663:22)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:177:18)
at Socket.Readable.push (_stream_readable.js:135:10)
at TCP.onread (net.js:542:20)

seems to be websockets/ws#778
which would affect [email protected] used by kurento-client. This bug is apparently fixed in [email protected].

Metadata

Metadata

Assignees

Labels

enhancementPotential improvement or feature requestjs-api

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions