buddhapest Posted February 24, 2017 Report Posted February 24, 2017 hi Doc! i'm calling steamcommunity.acceptConfirmationForObject with the offer id and getting a 429 back. i'm also running steamcommunity.startConfirmationChecker but on a slow schedule (once every 2 minutes) - this is to catch any possibly failed confirmations. the code works in a debug environment, the 429 is only in production (not surprisingly). the weird thing is that all outstanding confirmations go through when the automatic confirmation checker runs, just not the acceptConfirmationForObject call which return 429s every time. i'm using steam-tradeoffers.makeOffer to create the offers and then call acceptConfirmationForObject in makeOffer's callback is it possible that the problem is both calls are made to the web api too quickly? should i put the acceptConfirmationForObject on a timeout? any ideas welcome!~bp Quote
Dr. McKay Posted February 25, 2017 Report Posted February 25, 2017 How many bots are you running on a single IP? Quote
buddhapest Posted February 25, 2017 Author Report Posted February 25, 2017 How many bots are you running on a single IP?15 Quote
Dr. McKay Posted February 25, 2017 Report Posted February 25, 2017 Strange, that really shouldn't be doing that then... How frequently are you sending offers that need confirmation? Also, could you use SteamCommunity's HTTP post hook to see which specific request is failing, whether it's the request to load the confirmation list or the one to actually approve it? Quote
buddhapest Posted February 25, 2017 Author Report Posted February 25, 2017 > How frequently are you sending offers that need confirmation? not really very often - each bot will need to confirm once every 5 minutes at peak so between all of them 3 times per minute? i've added some debug code via the postHttpRequest hook but of course now i'm getting 200s ¯\_(ツ)_/¯ will report back the next time a 429 is encountered thanks!~bp Quote
buddhapest Posted February 25, 2017 Author Report Posted February 25, 2017 ok, got the 429 again, it was on the GET https://steamcommunity.com/mobileconf/conf, so the list. looks it happens from time to time on the automatic checks as well. i restarted the bot and got 200s. maybe i should log out log in and pass new cookies to Steamcommunity from time to time? also, i should note that a few days ago the bots got into an ugly loop for a few hours pounding the hell out of https://steamcommunity.com so perhaps the IP is on some shit list. ~bp Quote
buddhapest Posted February 25, 2017 Author Report Posted February 25, 2017 (edited) more info - this is _super_ weird... got a 429 on the GET https://steamcommuni...mobileconf/conf generated by acceptConfirmationForObject but the following GET https://steamcommuni...mobileconf/conf (and subsequent accept via GET https://steamcommunity.com/mobileconf/ajaxop in the automated check worked. my guess now is that i need to just do the accept on a timeout. gonna try that and will let you know. Edited February 25, 2017 by buddhapest Quote
Dr. McKay Posted February 25, 2017 Report Posted February 25, 2017 You shouldn't need to do the accept on a timeout. You said the confirmation checker is going slow, once every two minutes? That should be fine for 15 accounts, probably even if they all hit it at once. Would it really hurt to try disabling the automatic check for a bit? Quote
buddhapest Posted February 25, 2017 Author Report Posted February 25, 2017 ya, the timeout didn't help so i'll go ahead and turn off the automatic stuff and add logic to retry on a failed accept. to be continued Quote
buddhapest Posted February 26, 2017 Author Report Posted February 26, 2017 for now i haven't seen 429s yet since getting rid of the auto confirmation Quote
TarasDev Posted November 29, 2017 Report Posted November 29, 2017 Sorry for necro posting but I am getting same 429 error only when trying confirm offer. The problem for me is method getTimeOffset(rate limited by steam) in node-steam-totp module. Quote
Baterka Posted March 13, 2018 Report Posted March 13, 2018 Sorry for necro posting but I am getting same 429 error only when trying confirm offer. The problem for me is method getTimeOffset(rate limited by steam) in node-steam-totp module.Same problem. +-5 confirms per minute and 429 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.