SteamBot icon indicating copy to clipboard operation
SteamBot copied to clipboard

Invalid session when trying to fetch trade confirmations

Open xagotrunk opened this issue 9 years ago • 5 comments

There seems to be an issue with mobile trade confirmations. Whenever my bot runs Bot.AcceptAllMobileTradeConfirmations(); more often than not the error "Invalid session when trying to fetch trade confirmations" is shown

www.steamstat.us is also showing Steam Community 100.0% Failed Trades quite frequently that could also be related to the problem.

xagotrunk avatar Sep 09 '16 23:09 xagotrunk

I confirm this issue. Users are reporting problems with trade confirmations on bot's end.

Exception Invalid session when trying to fetch trade confirmations is thrown upon confirmation attempt.


Did some more digging, this is the data we're receiving when the exception is thrown: d2016-09-10_t15-41-19 1

So obviously they introduced throttling. Need to adjust stuff accordingly.

FrozenHaxor avatar Sep 10 '16 13:09 FrozenHaxor

Yes, indeed they introduced throttling to several old pages including the main trade offers page. Adjusting your settings will fix this.

scholtzm avatar Sep 10 '16 21:09 scholtzm

How frequently can you confirm offers now without getting issues? I had to switch back to the built in confirmations in SteamTradeOffersBot, as calling Bot.AcceptAllMobileConfirmations() barely resulted in an Invalid Session.

spyfly avatar Sep 19 '16 13:09 spyfly

Someone told me that if you wait 10s between fetching the confirmations list, you can avoid being throttled.

I added a commit over on SteamTradeOffersBot to fix this issue, but I'm hesitant to create a pull request for SteamBot because there are probably more elegant ways to code it.

https://github.com/waylaidwanderer/SteamTradeOffersBot/commit/8fb3879a40c0cfbdc5a5abf55901ba5ddca3eeea

waylaidwanderer avatar Oct 04 '16 01:10 waylaidwanderer

Looks can be deceiving, I'd say go for it as long as it solves the problem ;)

FrozenHaxor avatar Oct 04 '16 16:10 FrozenHaxor