T1MOXA Posted July 9, 2018 Report Share Posted July 9, 2018 (edited) My code: client.on('disconnected', (eresult, msg) => { console.log(`Eresult: ${eresult}\nMsg: ${msg}`); setTimeout(() => client.logOn({ "accountName": client.username, "password": client.password }), 10e3); }); Edited July 9, 2018 by T1MOXA Quote Link to comment Share on other sites More sharing options...
T1MOXA Posted July 9, 2018 Author Report Share Posted July 9, 2018 Eresult: 20Msg: ServiceUnavailable Quote Link to comment Share on other sites More sharing options...
T1MOXA Posted July 9, 2018 Author Report Share Posted July 9, 2018 (edited) I so understand I need to remove "client.logOn" so as there is "autoRelogin" option Edited July 9, 2018 by T1MOXA Dr. McKay 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.