Chamila Dilshan Wijayarathna created THRIFT-2547: ----------------------------------------------------
Summary: nodejs servers and clients fails to connect with cpp using compact protocol Key: THRIFT-2547 URL: https://issues.apache.org/jira/browse/THRIFT-2547 Project: Thrift Issue Type: Bug Reporter: Chamila Dilshan Wijayarathna Nodejs servers give following error. BAD: -2111766528 events.js:74 throw TypeError('Uncaught, unspecified "error" event.'); ^ TypeError: Uncaught, unspecified "error" event. at TypeError (<anonymous>) at Server.EventEmitter.emit (events.js:74:15) at /home/chamila/gsoc/1/thrift/node_modules/thrift/lib/thrift/server.js:54:16 at Socket.<anonymous> (/home/chamila/gsoc/1/thrift/node_modules/thrift/lib/thrift/transport.js:185:5) at Socket.EventEmitter.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:746:14) at Socket.EventEmitter.emit (events.js:92:17) at emitReadable_ (_stream_readable.js:408:10) at emitReadable (_stream_readable.js:404:5) at readableAddChunk (_stream_readable.js:165:9) Nodejs Client gives following errors. write set 8 3 assert.js:92 throw new assert.AssertionError({ ^ AssertionError: Error: write EPIPE at testDriver (/home/chamila/gsoc/1/thrift/lib/nodejs/test/client.js:70:3) at EventEmitter.emit (events.js:95:17) at Socket.<anonymous> (/home/chamila/gsoc/1/thrift/node_modules/thrift/lib/thrift/connection.js:59:12) at Socket.EventEmitter.emit (events.js:95:17) at onwriteError (_stream_writable.js:235:10) at onwrite (_stream_writable.js:253:5) at WritableState.onwrite (_stream_writable.js:97:5) at fireErrorCallbacks (net.js:438:13) at Socket._destroy (net.js:472:3) at Object.afterWrite (net.js:718:10) -- This message was sent by Atlassian JIRA (v6.2#6252)