T1MOXA Posted July 9, 2018 Report 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
T1MOXA Posted July 9, 2018 Author Report Posted July 9, 2018 Eresult: 20Msg: ServiceUnavailable Quote
T1MOXA Posted July 9, 2018 Author Report 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
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.