zeropingheroes / lancache-autofill

Automatically fill a Lancache with content
GNU General Public License v3.0
132 stars 24 forks source link

Authentication should be rate limited #23

Closed JasonRivers closed 5 years ago

JasonRivers commented 6 years ago

If a couple of games fail to download (due to not owning them) then steamcmd starts issuing "authentication failed: Rate limit exceeded" - Lancache-autofill should detect this and sleep for a minute before retrying - Currently it appears to remove the item from the queue because it failed, which isn't ideal.

ilumos commented 5 years ago

Thanks Jason.

I couldn't reliably reproduce this - I made a queue of 15 games that I didn't own, and attempted a download over and over, but only ran into this issue once, for a very short time, and it recovered shortly after without needing to re-authorise my Steam account.

In any case I've added a sleep(60) and a login check if a rate limit error is seen.

JasonRivers commented 5 years ago

Yeah, this didn't happen often, but when I did hit this it failed on the next hand full of games until I manually stopped it and started it again. This should sort that though, Thanks!