Jump to content
McKay Development

Steam guard prompted at random time/account


Recommended Posts

I have this app that allows user/bot to login via web interface, and store the loginKey in db for subsequent logins.

Most of the time it works fine, but it will still prompt steam guard for some accounts for the subsequent logins. (Around 16 accounts tested, 2 requires steam guard. Of these two, one tried to login another time with password+steam guard combo, and the subsequent logins worked again without steam guard. All these 2 acc are authenticated by email steam guard.

The first time login options are as follow:

const logOnOptions = {
accountName: msg.data.username,
password: msg.data.password,
rememberPassword: true
};

The subsequent login options are as follow:

const logOnOptions = {
accountName: steam_username,
loginKey: loginKey,
rememberPassword: true
};

All these accounts are logged-in to the server without proxy options, under the same IP.

Daily login is around 5 unique accts. Each account will be logged-in for a short awhile every 30mins or so, with interval of 5 seconds per login.

 

Any possible issue for the random steam guard prompt? Must I use proxy? Sentry file?

Edited by minosviel
Link to post
Share on other sites

That's pretty strange. I've never heard of anyone being prompted for a Steam Guard code when they use a loginKey; only loginKeys expiring and getting InvalidPassword back.

That said, the way Steam handles loginKeys is kind of weird and they're prone to being rejected. I personally recommend that you just use passwords wherever possible.

Link to post
Share on other sites
57 minutes ago, Dr. McKay said:

That's pretty strange. I've never heard of anyone being prompted for a Steam Guard code when they use a loginKey; only loginKeys expiring and getting InvalidPassword back.

That said, the way Steam handles loginKeys is kind of weird and they're prone to being rejected. I personally recommend that you just use passwords wherever possible.

Thank you for your reply!

Using password failed as well, still required steam guard when I tested it on the 2nd case.

The 2nd case was:

Seq 1: Logged-in with password, prompted steam guard, successful, loginKey updated to db.

Seq 2: Tried logging in with loginKey, no invalidpassword error, but prompted steam guard.

Seq 3: Logged-in again with password, still prompted steam guard, successful, loginKey updated.

Seq 4: Subsequent logins with loginKey works fine and good.

I am guessing is it something to do with sentry files writing/corruption/permission? I have multiple instances of Steam User running at the same time, will it affect?

Maybe I will setup the script with another server and environment and test it out.

Link to post
Share on other sites

By default, each account gets its own sentry file, so having multiple instances running should make no difference. Although if something in your environment is preventing the sentry files from being written, that could potentially cause some issues.

Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...