meepen / salien-bot

Steam Summer Sale 2018 "Salien" minigame bot - runs in console or browser
MIT License
418 stars 104 forks source link

Suddenly getting 403 #103

Closed gaspardip closed 6 years ago

gaspardip commented 6 years ago

So I was working on a PR using ES6 Promises for this repo, and I suddenly started getting 403 on this endpoint: https://community.steam-api.com/ITerritoryControlMinigameService/GetPlayerInfo/v0001/

I can only suspect this is some sort of soft ban

Can anyone confirm?

gaspardip commented 6 years ago

Okay, confirmed its some soft ban since after roughly 5 mins it let me in. Reducing the amount of requests to a minimum should be a priority, Unfortunately not possible while doing dev.

meepen commented 6 years ago

it's not a ban, it's usually when a planet is finished

gaspardip commented 6 years ago

I don't really think so, constantly getting the same response for about 40 mins.

meepen commented 6 years ago

well then it's still not a ban as far as anyone else knows.

callmenemo491 commented 6 years ago

i believe this was when the game crashed... earlier. even in steam client, playing the game, login was not successful.

meepen commented 6 years ago

that would explain it.

gaspardip commented 6 years ago

Sorry to bother but after running the bot for, say, 2 days I effectively got an IP ban from Steam altogether, I can't access any steam domain (store, community, etc) nor API, I get a 403 everytime.

The legend reads

Access Denied You don't have permission to access "http://steamcommunity.com/saliengame/play" on this server. Reference #<reference number>

I don't know exactly what triggered it, but using a VPN takes the problem away, at least momentarily.

Edit: as I was working on #106 I sent quite a few requests to their api. while I don't know if this had to do with the ban its worth mentioning, beware.

Js41637 commented 6 years ago

How much r u spamming them bro.

gaspardip commented 6 years ago

Not that much and I stopped roughly 12 hours ago, one would think Steam could handle a couple of hundred requests.

Now I don't know for sure, but at the time GetPlanets() was returning 50~ results, the culprit may be this line

EoD commented 6 years ago

@gaspardip so, as far as I understood you got the banned from using the API (and the game) for a 12-hour duration already? Consistently? I doesn't really explain why a VPN will help. Are you using the same token on the VPN?

gaspardip commented 6 years ago

I got an IP ban from Steam, not an account ban. I can't even enter https://store.steampowered.com/. Every Steam request fails with a 403 status code.

Access Denied You don't have permission to access "http://store.steampowered.com/?" on this server.

Using a VPN helps since you get a different IP, so I was able to i.e. explore my discovery queue, etc.

Edit: to be clear, I stopped spamming their api as soon as I finished #106 (roughly 12 hours ago) and im still banned