I've made it log all debug events and this is the log: https://pastebin.com/EZRG8xm3 It repeats every 2 minutes, until it finally works. Sometimes it works at first try, but often it takes several tries. loggedOnSteam only gets logged on loggedOn event. And signedIntoBarter only gets logged ONCE websession. This is my login config (un and pass omitted) { accountName: 'xxx', password: 'xxx', twoFactorCode: 'XXX', logonID: 1551653434369, rememberPassword: true, dontRememberMachine: false, autoRelogin: true, machineName: 'BOT@CLIENT' }: WebSocket disconnected with error: Ping timeout This seems to cause it, or at least be related with it.