You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Chamila Dilshan Wijayarathna (JIRA)" <ji...@apache.org> on 2014/05/26 18:50:01 UTC

[jira] [Updated] (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:all-tabpanel ]

Chamila Dilshan Wijayarathna updated THRIFT-2547:
-------------------------------------------------

    Component/s: Test Suite
                 Node.js - Library

> 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.2#6252)