citronneur / node-rdpjs

Remote Desktop Protocol for Node.js
GNU General Public License v3.0
895 stars 154 forks source link

Not able to run #19

Open rajeshdude0 opened 8 years ago

rajeshdude0 commented 8 years ago

I am getting following error whenever i try to make a simple rdp connection.

[node-rdpjs]` INFO: screen 800x600 [node-rdpjs] INFO: english keyboard layout [node-rdpjs] INFO: connect to 192.168.2.179:3389 [node-rdpjs] INFO: SSL standard security selected (node) crypto.createCredentials is deprecated. Use tls.createSecureContext instead. [node-rdpjs] ERROR: ECONNRESET(socket hang up) Error: socket hang up at SecurePair.options.ssl.onclienthello.ssl.onnewsession.ssl.onocspresponse.SecurePair.error (_tls_legacy.js:821:23) at EncryptedStream.CryptoStream._done (_tls_legacy.js:469:22) at CleartextStream.read as _read at CleartextStream.Readable.read (_stream_readable.js:336:10) at EncryptedStream.onCryptoStreamFinish (_tls_legacy.js:111:47) at EncryptedStream.g (events.js:260:16) at emitNone (events.js:72:20) at EncryptedStream.emit (events.js:166:7) at finishMaybe (_stream_writable.js:481:14) at endWritable (_stream_writable.js:491:3) D:\NodeApp\test\app.js:18 throw err; ^

Error: socket hang up at SecurePair.options.ssl.onclienthello.ssl.onnewsession.ssl.onocspresponse.SecurePair.error (_tls_legacy.js:821:23) at EncryptedStream.CryptoStream._done (_tls_legacy.js:469:22) at CleartextStream.read as _read at CleartextStream.Readable.read (_stream_readable.js:336:10) at EncryptedStream.onCryptoStreamFinish (_tls_legacy.js:111:47) at EncryptedStream.g (events.js:260:16) at emitNone (events.js:72:20) at EncryptedStream.emit (events.js:166:7) at finishMaybe (_stream_writable.js:481:14) at endWritable (_stream_writable.js:491:3)