lancachenet / steamcache-site-license

SteamCache for use with Valve Site License
MIT License
45 stars 10 forks source link

Two-factor code:FAILED with result code 85 #3

Closed n0deserve closed 5 years ago

n0deserve commented 5 years ago

Hi,

Having issues running this docker on CentOS7. I've set up this docker along with the authenticator docker but it doesn't seem to be pulling the auth token at all. My logs show result code 85 AccountLoginDeniedNeedTwoFactor

The URL for the auth token is visible publicly and generates the correct code for login, however it still fails. I've manually set the timezones in both dockers too incase it was a time mismatch which didn't help.

docker logs -f steamcache-server

2018-07-30T02:37:59.824669134Z Steam>2018-07-30T02:38:00.075662482Z Updating steamcmd 2018-07-30T02:38:02.303008811Z WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work. 2018-07-30T02:38:02.303060312Z Redirecting stderr to '/root/Steam/logs/stderr.txt' 2018-07-30T02:38:02.303072911Z Looks like steam didn't shutdown cleanly, scheduling immediate update check 2018-07-30T02:38:02.303100790Z [ 0%] Checking for available updates... 2018-07-30T02:38:02.303109933Z [----] Verifying installation... 2018-07-30T02:38:02.303119254Z Steam Console Client (c) Valve Corporation 2018-07-30T02:38:02.303132256Z -- type 'quit' to exit -- 2018-07-30T02:38:02.303144437Z Loading Steam API...OK. 2018-07-30T02:38:02.554932679Z Fetching Steam Guard Auth Code 2018-07-30T02:38:02.883431175Z Auth Code: 2018-07-30T02:38:02.883579712Z Launching Site License Server 2018-07-30T02:38:04.621665385Z WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work. 2018-07-30T02:38:04.621719615Z Redirecting stderr to '/root/Steam/logs/stderr.txt' 2018-07-30T02:38:04.621854366Z [ 0%] Checking for available updates... 2018-07-30T02:38:04.621872436Z [----] Verifying installation... 2018-07-30T02:38:04.621900265Z Steam Console Client (c) Valve Corporation 2018-07-30T02:38:04.621912101Z -- type 'quit' to exit -- 2018-07-30T02:38:04.621922521Z Loading Steam API...OK. 2018-07-30T02:38:04.621932694Z 2018-07-30T02:38:04.621943014Z Running as Site License provider 2018-07-30T02:38:04.621956838Z 2018-07-30T02:38:07.411194327Z Logging in user 'n0decachetest' to Steam Public... 2018-07-30T02:38:07.411273341Z Enter the current code from your Steam Guard Mobile Authenticator app 2018-07-30T02:38:07.411298157Z Two-factor code:FAILED with result code 85 2018-07-30T02:38:07.411319733Z 2018-07-30T02:38:07.411332866Z You must login to Steam for the Site License functionality to work.

n0deserve commented 5 years ago

Fixed.

I entered $STEAM_AUTHCODE_URL as the full URL including /index.php/code/username

Change $STEAM_AUTHCODE_URL to just the domain name and it works.