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 19:48:01 UTC

[jira] [Created] (THRIFT-2548) Nodejs servers and clients does not work properly with -ssl

Chamila Dilshan Wijayarathna created THRIFT-2548:
----------------------------------------------------

             Summary: Nodejs servers and clients does not work properly with  -ssl
                 Key: THRIFT-2548
                 URL: https://issues.apache.org/jira/browse/THRIFT-2548
             Project: Thrift
          Issue Type: Bug
          Components: Node.js - Library, Test Suite
            Reporter: Chamila Dilshan Wijayarathna


When trying to run lib/nodejs/test/client.js with 'ssl', it gives following error.

chamila@chamila-Aspire-5742:~/gsoc/1/thrift/test$ node ${NODE_TEST_DIR}/client.js -p binary -t buffered --ssl

/home/chamila/gsoc/1/thrift/lib/nodejs/test/client.js:62
  connection = thrift.createSSLConnection('localhost', 9090, options);
                      ^
TypeError: Object #<Object> has no method 'createSSLConnection'
    at Object.<anonymous> (/home/chamila/gsoc/1/thrift/lib/nodejs/test/client.js:62:23)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:902:3

When trying to connect to node server with ssl using another client, server does not receive requests from client.



--
This message was sent by Atlassian JIRA
(v6.2#6252)