PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

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

Open JSchwerberg opened this issue 10 years ago • 15 comments

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: bdf2e7d9cc0b2fa5fb04bb9dc4f9f09f967cd9ea Python Version: Python 2.7.6

JSchwerberg avatar Aug 02 '16 19:08 JSchwerberg

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

JSchwerberg avatar Aug 02 '16 19:08 JSchwerberg

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 avatar Aug 02 '16 19:08 DayBr3ak

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

DayBr3ak avatar Aug 02 '16 19:08 DayBr3ak

Workaround confirmed, thanks :)

JSchwerberg avatar Aug 02 '16 19:08 JSchwerberg

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 avatar Aug 02 '16 19:08 JSchwerberg

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

fe-ax avatar Aug 02 '16 19:08 fe-ax

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

xSidewinderx avatar Aug 02 '16 19:08 xSidewinderx

PR #2388 submitted to resolve.

JSchwerberg avatar Aug 02 '16 19:08 JSchwerberg

Why is it throttling that much anyway?

fe-ax avatar Aug 02 '16 19:08 fe-ax

@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.

JSchwerberg avatar Aug 02 '16 20:08 JSchwerberg

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.

hackenho avatar Aug 02 '16 22:08 hackenho

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

fe-ax avatar Aug 02 '16 22:08 fe-ax

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

JSchwerberg avatar Aug 02 '16 22:08 JSchwerberg

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

fe-ax avatar Aug 02 '16 22:08 fe-ax

Closing due to #2393

reddivision avatar Aug 03 '16 02:08 reddivision