OPNsense Forum

English Forums => 25.7, 25.10 Series => Topic started by: Patrick M. Hausen on November 09, 2025, 11:27:39 AM

Title: After fresh install and config restore GeoIP isn't working anymore
Post by: Patrick M. Hausen on November 09, 2025, 11:27:39 AM
Hi all,

I swapped a dying SSD for a new one, performed a fresh installation and imported a saved configuration.
Everything went smoothly - apart from GeoIP aliases.

It seems I can download neither from ipinfo nor from maxmind.

Any time I click on "Apply" this is the message I get:

(https://forum.opnsense.org/index.php?action=dlattach;attach=49221;image)

Manually fetching the data with the exact URLs I place in the UI of course works.

Any ideas? Version is 25.7.7_4.

Thanks,
Patrick
Title: Re: After fresh install and config restore GeoIP isn't working anymore
Post by: meyergru on November 09, 2025, 03:39:24 PM
I tried a fresh installation and used an URL like "https://ipinfo.io/data/ipinfo_lite.csv.gz?token=xxxxxxxxxx" - this worked fine. You URL start "https://12..." looks a little odd?

BTW: You need to define an alias and actually use it in a rule for the data to be retrieved at all... before that, the number of entries shows up as 0.
Title: Re: After fresh install and config restore GeoIP isn't working anymore
Post by: Lucid1010 on November 09, 2025, 04:24:06 PM
same issue

25.7.7


new fresh install - import config
Title: Re: After fresh install and config restore GeoIP isn't working anymore
Post by: meyergru on November 09, 2025, 05:10:49 PM
Now I got it. Yes, that message pops up after a restore. However, the input field is being restored. When you hit apply, it works if an alias and a rule exist.

Still, it is a bug.
Title: Re: After fresh install and config restore GeoIP isn't working anymore
Post by: Lucid1010 on November 09, 2025, 05:28:39 PM
I'm still getting an error even after changing it to maxmind. Direct download via the URL works fine.

The aliases and rules are set, but they aren't working.
Title: Re: After fresh install and config restore GeoIP isn't working anymore
Post by: Patrick M. Hausen on November 09, 2025, 06:00:51 PM
Quote from: meyergru on November 09, 2025, 03:39:24 PMBTW: You need to define an alias and actually use it in a rule for the data to be retrieved at all... before that, the number of entries shows up as 0.

Opening, saving and applying my already present "Europe" alias resolved the problem.