lancachenet / steamcache-site-license

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

2FA fails when using IP instead of hostname #5

Open wormoworm opened 5 years ago

wormoworm commented 5 years ago

My steamcache-authcode server is running at 10.0.7.20 and my steamcache-site-license server us running on my Docker host at 10.0.1.1.

Setting STEAM_AUTHCODE_URL to http://10.0.7.20 gives the error "Two-factor code:FAILED with result code 85", but if I set it to my external public hostname (http://myname.co.uk:12480) it works just fine. I'd rather not go this route though, as this exposes the 2FA service to the internet.

I have tried adding a rule in /etc/hosts but it had no effect.