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

"Server is throttling, let's slow down a bit." #2386

Closed
JSchwerberg opened this issue Aug 2, 2016 · 15 comments
Closed

"Server is throttling, let's slow down a bit." #2386

JSchwerberg opened this issue Aug 2, 2016 · 15 comments

Comments

@JSchwerberg
Copy link
Contributor

Expected Behavior

Should not see this error very often.

Actual Behavior

[15:33:44] Moving towards fort Unique Lights At Lemongrass, 0.11km left (attraction of lure 0.19km)
[15:33:45] Server is throttling, let's slow down a bit
[15:33:47] Server is throttling, let's slow down a bit
[15:33:51] Moving towards fort Unique Lights At Lemongrass, 0.10km left (attraction of lure 0.19km)
[15:33:52] Server is throttling, let's slow down a bit
[15:33:55] Server is throttling, let's slow down a bit
[15:33:58] Moving towards fort Unique Lights At Lemongrass, 0.09km left (attraction of lure 0.18km)
[15:33:59] Server is throttling, let's slow down a bit
[15:34:02] Server is throttling, let's slow down a bit
[15:34:05] Moving towards fort Unique Lights At Lemongrass, 0.08km left (attraction of lure 0.17km)
[15:34:06] Server is throttling, let's slow down a bit
[15:34:09] Server is throttling, let's slow down a bit
[15:34:12] Moving towards fort Unique Lights At Lemongrass, 0.07km left (attraction of lure 0.16km)
[15:34:14] Server is throttling, let's slow down a bit
[15:34:16] Server is throttling, let's slow down a bit
[15:34:19] Moving towards fort Unique Lights At Lemongrass, 0.07km left (attraction of lure 0.16km)
[15:34:21] Server is throttling, let's slow down a bit
[15:34:23] Server is throttling, let's slow down a bit
[15:34:26] Moving towards fort Unique Lights At Lemongrass, 0.06km left (attraction of lure 0.15km)
[15:34:27] Server is throttling, let's slow down a bit
[15:34:28] Server is throttling, let's slow down a bit
[15:34:32] Moving towards fort Unique Lights At Lemongrass, 0.05km left (attraction of lure 0.14km)
[15:34:33] Server is throttling, let's slow down a bit
[15:34:35] Server is throttling, let's slow down a bit
[15:34:39] Moving towards fort Unique Lights At Lemongrass, 0.04km left (attraction of lure 0.13km)
[15:34:40] Server is throttling, let's slow down a bit
[15:34:42] Server is throttling, let's slow down a bit
[15:34:43] Server is throttling, let's slow down a bit

Steps to Reproduce

Unknown -- potentially just running bot on this commit

Other Information

OS: Ubuntu 14.04.4 LTS
Git Commit: bdf2e7d
Python Version: Python 2.7.6

@JSchwerberg
Copy link
Contributor Author

Seems to be caused by #2357 as far as I can tell.

@DayBr3ak
Copy link
Contributor

DayBr3ak commented Aug 2, 2016

I knew I shouldn't have put that log line ! That's no problem, just add "map_object_cache_time": 5, in your config

@DayBr3ak
Copy link
Contributor

DayBr3ak commented Aug 2, 2016

and if that doesn't work, just comment the line

@JSchwerberg
Copy link
Contributor Author

Workaround confirmed, thanks :)

@JSchwerberg
Copy link
Contributor Author

Spoke too soon. Still getting the error more often than I should.

[15:41:35] Server is throttling, let's slow down a bit
[15:41:38] Server is throttling, let's slow down a bit
[15:41:42]  Keep 2 best Ekans, based on iv
[15:41:42]  Ekans [CP 270] [Potential 0.87]
[15:41:42]  Ekans [CP 448] [Potential 0.84]
[15:41:42]  Transferring 1 pokemon
[15:41:42]  Exchanging Ekans [CP 139] [Potential 0.49] for candy!
[15:41:46] Moving towards fort Blue Man Display, 0.06km left (attraction of lure 0.06km)
[15:41:48] Server is throttling, let's slow down a bit
[15:41:50] Server is throttling, let's slow down a bit
[15:41:54] Moving towards fort Blue Man Display, 0.05km left (attraction of lure 0.05km)
[15:41:55] Server is throttling, let's slow down a bit
[15:41:57] Server is throttling, let's slow down a bit

@JSchwerberg JSchwerberg reopened this Aug 2, 2016
@fe-ax
Copy link

fe-ax commented Aug 2, 2016

I'm getting this too, one commit ago it seemed to work perfect. Reverting back untill this commit is fixed.

@xSidewinderx
Copy link

Ya did git pull when I got on today, getting the same issue

@JSchwerberg
Copy link
Contributor Author

PR #2388 submitted to resolve.

@fe-ax
Copy link

fe-ax commented Aug 2, 2016

Why is it throttling that much anyway?

@JSchwerberg
Copy link
Contributor Author

@marco208 That's Niantic's rate limiting...the problem isn't the throttle, especially now that MoveToFort is remembering what fort it was last moving past; the problem was honestly just the noise.

@hackenho
Copy link

hackenho commented Aug 2, 2016

Some people on the forums are reporting that Niantic has increased the throttled from 5s to 10s that's why you might see it that often.

@fe-ax
Copy link

fe-ax commented Aug 2, 2016

Shouldn't we be more careful with hamering on the rate limiter?

@JSchwerberg
Copy link
Contributor Author

You're on the [dev] branch -- careful is for [master] :)

@fe-ax
Copy link

fe-ax commented Aug 2, 2016

That doesn't mean we shouldn't make the wait between actions adaptive to the amount of throttling the remote server gives us

@reddivision
Copy link
Contributor

Closing due to #2393

hoanghuynh pushed a commit to hoanghuynh/PokemonGo-Bot that referenced this issue Sep 28, 2016
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

6 participants