Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Use the Steam Mobile App to confirm your sign in" is not being accepted #516

Open
coffandro opened this issue Jul 27, 2024 · 7 comments
Open
Labels

Comments

@coffandro
Copy link

What did you expect to happen?

Hallo, I'm the developer behind the Fallout: London Downgrader and in there we run
DepotDownloader(.exe depending on OS) -username "USERNAME" " -password "PASSWORD" -remember-password -app 377160 -depot 377162 -dir FOLON-Downgrader-Files/SteamFiles
to login to steam and check if the user own's Fallout 4, If steam guard is needed on the mobile app we rerun this after the users confirmed, on email we simply send that to the cmd running the exe.
we then go through two lists containing like just below

Depot, Manifest
377161, 7497069378349273908
377162, 5847529232406005096
377163, 5819088023757897745
377164, 2178106366609958945
435880, 1255562923187931216
435870, 1691678129192680960
435871, 5106118861901111234

and run this
DepotDownloader(.exe depending on OS) -username "USERNAME" -remember-password -app 377160 -depot DEPOT -manifest MANIFEST -dir "" -validate

Now what should happen is the downgrader runs everything and downloads the depots to the location

Instead of that, what actually happened?

What actually happens is that in rare cases it gives the following output instead of just downloading the depots

Which operating system are you running on?

Other

Version

2.6.0

Relevant log output

Logging 'USERNAME' into Steam3...
STEAM GUARD! Use the Steam Mobile App to confirm your sign in...
Logging 'USERNAME' into Steam3...
STEAM GUARD! Use the Steam Mobile App to confirm your sign in...
Logging 'USERNAME' into Steam3...
STEAM GUARD! Use the Steam Mobile App to confirm your sign in...

Additional Information

I personally think this is either a failure on how we run this or somewhere else in the stack where steam guard sessions don't get saved.
here's the code if you'd like to take a look
Login
https://github.com/Fallout-London/FOLON-FO4Downgrader/blob/main/FOLON-Downgrader.py#L427
Download list
https://github.com/Fallout-London/FOLON-FO4Downgrader/blob/main/FOLON-Downgrader.py#L722
Download command
https://github.com/Fallout-London/FOLON-FO4Downgrader/blob/main/FOLON-Downgrader.py#L777

@coffandro coffandro added the bug label Jul 27, 2024
@xPaw
Copy link
Member

xPaw commented Jul 29, 2024

I suspect the prompt is being denied, or the response is taking too long so it reconnects. Do you have a proper repro for this with timing?

And does the login never succeed even if you accept the prompt with these logs?

@coffandro
Copy link
Author

The repo i have attached in the message with like numbers and everything. the prompt succeeds most of the time which is why its odd, It seems almost random

@xPaw
Copy link
Member

xPaw commented Jul 29, 2024

I am specifically asking if the prompt is accepted and the login eventually succeeds when you get the repeated messages. The log you are providing is not an indication of a problem by itself.

Since the code you link has a timeout of 120 seconds, I am thinking the login is just not accepted, and DD is reconnecting to Steam (the connection is kicked off after like 60 seconds), causing the repeated log message.

@Fantasillion
Copy link

I can reproduce it with FOLON-FO4Downgrader. When I get to the step where I am asked to confirm sign in, in the Steam Android app, I confirm within 5 seconds. It is therefore unlikely to be a timeout since we're nowhere near 60 seconds. Trying to confirm repeatedly only results in being throttled and not being able to login using the DepotDownloader for the next 1-2 hours.

@xPaw
Copy link
Member

xPaw commented Jul 31, 2024

Can you repro when using DD directly?

@xPaw xPaw changed the title Steam guard random "Use the Steam Mobile App to confirm your sign in" is not being accepted Jul 31, 2024
@xPaw
Copy link
Member

xPaw commented Jul 31, 2024

Also how consistently does this problem happen, is it everytime and you can't login at all?

Can you try reproducing this on https://steamdb.info/tokendumper/ (it uses the same SteamKit authentication code)

@coffandro
Copy link
Author

That's the worse part, I haven't been able to reproduce it at all but it happens semi constantly for the users of my downgrader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants