maxmind / geoipupdate

GeoIP update client code
Apache License 2.0
713 stars 143 forks source link

Since 7.0.1 reaching accountlimits #309

Closed svbroeker closed 4 months ago

svbroeker commented 5 months ago

We currently use a free account for the geoipupdate. Since the release of version 7.0.1, we have been exceeding the limit of 30 requests per day with the same usage. Is this behavior intentional?

image

Config: GEOIPUPDATE_EDITION_IDS="GeoLite2-ASN GeoLite2-City GeoLite2-Country" GEOIPUPDATE_FREQUENCY=72

oschwald commented 5 months ago

We did some testing on our side and looked at a number of different accounts that have switched over and we have not seen similar patterns elsewhere. Would you please email your account ID to goschwald@maxmind.com so that I can take a closer look at your account?

oschwald commented 5 months ago

I mentioned this in an email, but I am adding it here as well. I suspect what is happening in this particular case is that the redirects are failing and geoipupdate is retrying, causing repeated requests. In 7.0.0, we started to redirecting to mm-prod-geoip-databases.a2649acb697e2c09b632799562c076f2.r2.cloudflarestorage.com for the downloads. If there is a firewall or proxy that is blocking the requests to this host, geoipupdate would likely retry the requests up to the limit in the config. Each of these would be seen as a separate download on the server side.

svbroeker commented 4 months ago

we found out that there is a paid account at our company too, so we changed the account and everthing works now. Thanks for your help.