Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid session when trying to fetch trade confirmations #1048

Open
xagotrunk opened this issue Sep 9, 2016 · 5 comments
Open

Invalid session when trying to fetch trade confirmations #1048

xagotrunk opened this issue Sep 9, 2016 · 5 comments

Comments

@xagotrunk
Copy link

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.

@FrozenHaxor
Copy link
Contributor

FrozenHaxor commented Sep 10, 2016

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.

@scholtzm
Copy link
Contributor

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

@spyfly
Copy link

spyfly commented Sep 19, 2016

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.

@waylaidwanderer
Copy link
Contributor

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.

waylaidwanderer@8fb3879

@FrozenHaxor
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants