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

Nodejs servers and clients does not work properly with -ssl

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              codesf Randy Abernethy
              Reporter:
              cdwijayarathna Chamila Dilshan Wijayarathna
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: