ipinfo geoip update not working

Started by Lucid1010, October 06, 2025, 04:30:08 AM

Previous topic - Next topic
Yep, pretty sure that's the maxmind one. Make sure the URL works, maybe it's not allowed to fetch.

I tried using curl from the OPNsense shell but I couldn't figure out how to get it to follow the redirect as I got that as the result - it did also needed quotes around the URL to take care of the ? character before the token:

Found. Redirecting to https://dl.ipinfo.io/artifacts/v1/ipinfo_lite.csv.gz?gener<redacted>

But doing the same on my Fedora server, but using wget, the file comes down correctly.

I am using

https://ipinfo.io/data/ipinfo_lite.csv.gz?token=<mytoken>

which seems to work.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Not working for me either

OPNsense 25.7.5-amd64

Went to Firewall:Aliases and entered
https://ipinfo.io/data/ipinfo_lite.csv.gz?token=<mytoken>
Pressed Apply
Rebooted
Waited 5 hours

Last update shows "2025-07-04T10:30:40" - same as Maximind previously
Total ranges: 1282050 - same as Maximind

I downloaded the 25 meg CSV file from ipinfo and it shows expected data.

Thanks.


Check System: Log Files: Backend for clues...


Cheers,
Franco

Mine is working, and im using the same type of Link as Patrick.  There isnt much to see in the logs, but if its working (as mine is) you will see, once per day:

2025-10-13T07:39:12-07:00    Notice    firewall     geoip updated (files: 496 lines: 4550698)
vs, from the maxmind:

2025-10-08T07:34:02-07:00    Notice    firewall     geoip updated (files: 502 lines: 1294241)

Checked again this morning and it eventually worked

Last updated 2025-10-13T22:15:01.504926
Total number of ranges 4550698

So for me, the lack of an "update now" feature hampers any simple diagnosis - perhaps something for the feature list?

Quote from: Bluewind on October 13, 2025, 06:22:32 PMNot working for me either

OPNsense 25.7.5-amd64

Went to Firewall:Aliases and entered
https://ipinfo.io/data/ipinfo_lite.csv.gz?token=<mytoken>
Pressed Apply
Rebooted
Waited 5 hours

Last update shows "2025-07-04T10:30:40" - same as Maximind previously
Total ranges: 1282050 - same as Maximind

I downloaded the 25 meg CSV file from ipinfo and it shows expected data.

Thanks.

Same here.  I've been waiting for 3d - went back to maxmind in the meantime where it's working as expected.

Quote from: Taomyn on October 14, 2025, 06:13:39 AMSo for me, the lack of an "update now" feature hampers any simple diagnosis - perhaps something for the feature list?

Ticket sounds good, even just to dig into the specifics.


Cheers,
Franco

Today at 10:48:07 AM #24 Last Edit: Today at 01:01:06 PM by MoonbeamFrame
When I upgraded a firewall to 25.7.5 I also migrated from Maxmind to IPinfo. It was about 14 hours before I saw the IPinfo data downloaded and it has updated daily since. During the transition I did not notice any issues with GeoIP based rules (which is not to say that there were none).

Yesterday I migrated this firewall to newer hardware. All looked OK when I put it online, but there was no GeoIP data. This lead to the GeoIP rules not being applied and as a result I rolled back to the old hardware.

As noted it would be useful to be able to request a download of the data.






This may be a usable workaround for some.

Having registered an account with IPinfo, entered and saved the URL.

Create a new GeoIP alias. When saving this you should the IPinfo DB downloaded.