Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2168

Node.js appears broken (at least, examples don't work as intended)

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      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.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              codesf Randy Abernethy
              Reporter:
              gonzojive Red Daly

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment