BUG: Asks for "Steam Guard" despite using Shared_Secret !
See original GitHub issueconsole asks me “Steam Guard:” although I use shared_secret.
doesn’t ask when I start the bot for the first time, but every 30 minutes the bot shuts down and asks? “Steam Guard:”
My logOn Code:
const settings = {
accountName: config.bot.name,
password: config.bot.pass,
twoFactorCode: SteamTotp.generateAuthCode(config.bot.shared_secret)
};
client.logOn(settings);
And websession code;
client.on('webSession', (sessionid, cookies) => {
manager.setCookies(cookies, function(err) {
if (err) {
print(`${auto.log('info')} Err Cookies ${err}`);
process.exit(1); // Fatal error since we couldn't get our API key
}
community.setCookies(cookies);
community.startConfirmationChecker(30000, config.bot.identity_secret);
});
});
setInterval(function() {
if (client.steamID) {
client.webLogOn();
} else {
client.logOn(settings);
console.log("Again Re-Log");
}
}, 1800000); //30Min.
Somebody please help me I’m going crazy I’ve been trying for weeks! i could not find a solution. maybe, this is a bug?.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Steam asking for a verification code on start up and randomly
Hi. Since yesterday's maintenance, Steam has been telling me that I am attempting to log in from a new device (which is not...
Read more >Why do I have to enter a Steam Guard code every time I log in?
If you are being repeatedly asked for a Steam Guard code on the same computer, you will need to ensure your browser has...
Read more >Much time asking for Steam Guard App Code - node-steam-user
Codes change every 30 seconds. In practice, this means that a second login within a 30-second interval will be rejected and ask for...
Read more >Steam's login method is kinda interesting - Hacker News
What if there is a different bug, and so a dev starts logging requests somewhere down the line? You accidentally start logging cleartext ......
Read more >steam-user - npm
Have a question about the module or coding in general? Do not create a GitHub issue. GitHub issues are for feature requests and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
First of all, be careful with your speech;
1- I haven’t asked you this question, I’ve been looking for solutions for weeks, sharing my problem with people, and asking people who are developers, but it’s not clear. 2- I know what debug is, but I can’t get a useful output. 3- I shared the question from the forum, but I have not yet received a clear answer because there are not as many active users as github.
I hope these are enough for you. Because you don’t know what I’ve been doing for weeks.I don’t like to ask people questions without researching the solution of the problem.
And I never use the library without reading the readme section. Thank you.