speicher Posted April 3, 2016 Report Posted April 3, 2016 i have the problem, that my bots will stop confirming trades (mobile auth) when they are running for a while. it is completed random, the bots can work for hours sometimes even days without problems and then they will stop to confirming the mobile auth trades. when i shutdown the bots and start them again, then they will confirm the open mobile auth confirmations. so it looks like that the steam servers are not answering or answering with an error or something? is there an debug function, so that i can see an error message why they stop confirming the trades? thank you! Quote
Dr. McKay Posted April 3, 2016 Report Posted April 3, 2016 You need to re-logon every so often to refresh your session. Using steam-user all you need to do is call webLogOn() periodically (or when stuff starts to break). Quote
speicher Posted April 3, 2016 Author Report Posted April 3, 2016 i have updated your plugins to the newest versions few minutes ago, because i have seen you have added a new event called "sessionExpired". so you mean like this?community.on('sessionExpired', function(err) { if (err) { console.log('sessionExpired: '+err); } community.stopConfirmationChecker(); client.webLogOn(); }); Quote
speicher Posted April 3, 2016 Author Report Posted April 3, 2016 i am using your plugins in 12 bots and i really appreciate your work and support. so i have send you a paypal donation as "friend" (should be without paypal fees). keep up the good work! Quote
Dr. McKay Posted April 3, 2016 Report Posted April 3, 2016 i am using your plugins in 12 bots and i really appreciate your work and support. so i have send you a paypal donation as "friend" (should be without paypal fees). keep up the good work! Thanks! Quote
speicher Posted June 15, 2016 Author Report Posted June 15, 2016 i need to re-open this thread. the fix is not working anymore. it was working for about 2 months flawless. today, i have updated nodejs and all plugins to the newest versions and my bots are crashing frequently with this fatal error below. log:Logged into Steam We have 19 friends. Got web session Got API key sessionExpired: Error: Not Logged In /home/nodejs/node/node_modules/steam-user/components/web.js:9 throw new Error("Cannot log onto steamcommunity.com without first being connected to Steam network"); ^ Error: Cannot log onto steamcommunity.com without first being connected to Steam network at SteamUser.webLogOn (/home/nodejs/node/node_modules/steam-user/components/web.js:9:9) at SteamCommunity.<anonymous> (/home/nodejs/node/csgopoints.js:95:9) at emitOne (events.js:77:13) at SteamCommunity.emit (events.js:169:7) at SteamCommunity._notifySessionExpired (/home/nodejs/node/node_modules/steamcommunity/components/http.js:79:7) at /home/nodejs/node/node_modules/steamcommunity/components/confirmations.js:21:10 at /home/nodejs/node/node_modules/steamcommunity/components/confirmations.js:162:4 at SteamCommunity._checkHttpError (/home/nodejs/node/node_modules/steamcommunity/components/http.js:84:3) at Request._callback (/home/nodejs/node/node_modules/steamcommunity/components/http.js:50:61) at self.callback (/home/nodejs/node/node_modules/steamcommunity/node_modules/request/request.js:200:22) code:community.on('sessionExpired', function(err) { if (err) { console.log('sessionExpired: '+err); } community.stopConfirmationChecker(); client.webLogOn(); }); Quote
Dr. McKay Posted June 15, 2016 Report Posted June 15, 2016 Cannot log onto steamcommunity.com without first being connected to Steam network You aren't connected to Steam. Today is Tuesday. Steam goes down every Tuesday. Quote
speicher Posted June 15, 2016 Author Report Posted June 15, 2016 yes, but your plugin (steam-user // downloaded 04 april) was making an auto reconnect on default for almost 2 months without any problems. since i have installed today the newest versions from steam-user, it crashed already 2 times. it should auto-reconnect instead of crashing with an fatal error. in worst case the bots would be offline for hours or even days, until i see it. what should i do now? its enough when i add to the "sessionExpired" event an client.logOn(); or how can fix this problem? thanks Quote
Dr. McKay Posted June 15, 2016 Report Posted June 15, 2016 It is reconnecting. It just hasn't yet when you try to log onto the website, which doesn't work if it isn't connected. Quote
speicher Posted June 17, 2016 Author Report Posted June 17, 2016 yes, but the bot is running for hours. making hundred trades. randomly the sessionExpired is fired and then the the bot is crashing with "Cannot log onto steamcommunity.com without first being connected to Steam network". so i have added additionally client.logOn(); and guess what happens now? bot crash with "Already logged on, cannot log on again". Quote
speicher Posted June 17, 2016 Author Report Posted June 17, 2016 ok, that should work based on your wiki.community.on('sessionExpired', function(err) { if (err) { console.log('sessionExpired: '+err); } community.stopConfirmationChecker(); if (client.steamID) { client.webLogOn(); } else { client.logOn(logon_details); } }); Revadike and T1MOXA 2 Quote
Revadike Posted May 13, 2018 Report Posted May 13, 2018 Would relog work too instead of logon? Assuming autoRelog is enabled. Quote
Dr. McKay Posted May 13, 2018 Report Posted May 13, 2018 Would relog work too instead of logon? Assuming autoRelog is enabled. No, you need to be connected to use relog. 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.