You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Red Daly (JIRA)" <ji...@apache.org> on 2013/09/05 09:22:51 UTC

[jira] [Updated] (THRIFT-2168) Node.js appears broken (at least, examples don't work as intended)

     [ https://issues.apache.org/jira/browse/THRIFT-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Red Daly updated THRIFT-2168:
-----------------------------

    Description: 
The Node.js implementation seems to be somewhat broken.

I execute the example server.js as instructed:
thrift/lib/nodejs/examples $ NODE_PATH=../lib:../lib/thrift node server.js


Then I execute the example client.js as instructed:
thrift/lib/nodejs/examples $ NODE_PATH=../lib:../lib/thrift node client.js

the server outputs "server stored: 1"
the client outputs nothing.  Expected output is "client stored: 1".  This indicates that the client is never receiving a response back from the server, or at least the callback is not being fired when the response is received.

I'm not sure how to debug.

  was:
The Node.js implementation seems to be somewhat broken.

I execute the example server.js as instructed:
$ NODE_PATH=../lib:../lib/thrift node server.js


Then I execute the example client.js as instructed:

the server outputs "server stored: 1"
the client outputs nothing.  Expected output is "client stored: 1".  This indicates that the client is never receiving a response back from the server, or at least the callback is not being fired when the response is received.

I'm not sure how to debug.

    
> Node.js appears broken (at least, examples don't work as intended)
> ------------------------------------------------------------------
>
>                 Key: THRIFT-2168
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2168
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Compiler, Node.js - Library
>            Reporter: Red Daly
>
> The Node.js implementation seems to be somewhat broken.
> I execute the example server.js as instructed:
> thrift/lib/nodejs/examples $ NODE_PATH=../lib:../lib/thrift node server.js
> Then I execute the example client.js as instructed:
> thrift/lib/nodejs/examples $ NODE_PATH=../lib:../lib/thrift node client.js
> the server outputs "server stored: 1"
> the client outputs nothing.  Expected output is "client stored: 1".  This indicates that the client is never receiving a response back from the server, or at least the callback is not being fired when the response is received.
> I'm not sure how to debug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira