citronneur / node-rdpjs

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

Getting Error: Failure code:2. I am not sure why this is coming #46

Open hrishabhkumar opened 3 years ago

hrishabhkumar commented 3 years ago

Error: Failure code:2 (see https://msdn.microsoft.com/en-us/library/cc240507.aspx) at new ProtocolError (C:\Users\QG46159\AppData\Local\Programs\node_modules\node-rdpjs-2\lib\core\error.js:40:8) at Client.recvConnectionConfirm (C:\Users\QG46159\AppData\Local\Programs\node_modules\node-rdpjs-2\lib\protocol\x224.js:221:9) at TPKT. (C:\Users\QG46159\AppData\Local\Programs\node_modules\node-rdpjs-2\lib\protocol\x224.js:202:8) at Object.onceWrapper (events.js:300:26) at TPKT.emit (events.js:210:5) at TPKT.recvData (C:\Users\QG46159\AppData\Local\Programs\node_modules\node-rdpjs-2\lib\protocol\tpkt.js:110:7) at BufferLayer. (C:\Users\QG46159\AppData\Local\Programs\node_modules\node-rdpjs-2\lib\protocol\tpkt.js:101:8) at Object.onceWrapper (events.js:300:26) at BufferLayer.emit (events.js:210:5) at BufferLayer.recv (C:\Users\QG46159\AppData\Local\Programs\node_modules\node-rdpjs-2\lib\core\layer.js:91:8) at Socket. (C:\Users\QG46159\AppData\Local\Programs\node_modules\node-rdpjs-2\lib\core\layer.js:41:9) at Socket.emit (events.js:210:5) at addChunk (_stream_readable.js:308:12) at readableAddChunk (_stream_readable.js:289:11) at Socket.Readable.push (_stream_readable.js:223:10) at TCP.onStreamRead (internal/stream_base_commons.js:182:23) [2020-10-22 16:22:54.299] [info] connection closed