Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle timeout ? #41

Open
MeriemBo opened this issue Jun 20, 2019 · 0 comments
Open

How to handle timeout ? #41

MeriemBo opened this issue Jun 20, 2019 · 0 comments

Comments

@MeriemBo
Copy link

MeriemBo commented Jun 20, 2019

I'm using the packge from a nodejs application , and it doesn't connect to the remote deskrop and I get this error in the console :

[node-rdpjs] ERROR:     ETIMEDOUT(connect ETIMEDOUT 106.162.16.143:9602)
Error: connect ETIMEDOUT 106.162.16.143:9602
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1054:14)

here is the config I'm using :

rdp.createClient({ 
domain : '106.162.16.143:9602', 
userName : 'username',
password : 'password',
enablePerf : true,
autoLogin : true,
decompress : false,
screen : { width : 800, height : 600 },
locale : 'en',
logLevel : 'INFO'
}).on('connect', function () {
console.log('connected!!');
}).on('close', function() {
}).on('bitmap', function(bitmap) {
}).on('error', function(err) {
  }).connect('106.162.16.143', 9602);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant