You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Randy Abernethy (JIRA)" <ji...@apache.org> on 2014/11/18 22:39:35 UTC
[jira] [Commented] (THRIFT-2547) nodejs servers and clients fails
to connect with cpp using compact protocol
[ https://issues.apache.org/jira/browse/THRIFT-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14216832#comment-14216832 ]
Randy Abernethy commented on THRIFT-2547:
-----------------------------------------
test/test.sh reports nodejs client -> cpp server ok but other way around is still a problem.
> 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
> Components: Node.js - Library, Test Suite
> Reporter: Chamila Dilshan Wijayarathna
> Labels: gsoc2014
>
> 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.3.4#6332)