OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: omrij on July 12, 2024, 11:07:49 PM

Title: GeoIP alias problem
Post by: omrij on July 12, 2024, 11:07:49 PM
Hi
fresh new install of 24.1, updated to 24.1.10_2
when trying to create alias for a country, I get this error:
Entry "[object HTMLOptionElement]" is not a valid country code.
never had problems before
any help would be appreciated
Title: Re: GeoIP alias problem
Post by: meyergru on July 13, 2024, 12:08:20 AM
Confirmed. Editing entries is also impossible.

I filed a github bug here (https://github.com/opnsense/core/issues/7614).

If absolutely needed, you could try reverting to 24.1.9, then edit the entries and upgrade afterwards, since existing entries work fine with 24.1.10_2.
Title: Re: GeoIP alias problem
Post by: Ben S on July 13, 2024, 12:12:59 AM
I came up with this fix which works, but might be a bit crude - it's on the github bug too.
Title: Re: GeoIP alias problem
Post by: meyergru on July 14, 2024, 03:04:27 PM
Ad Schellevis patched the issue. It can be applied/tested before the next release via 'opnsense-patch 4569d04'.
Title: Re: GeoIP alias problem
Post by: omrij on July 14, 2024, 05:14:26 PM
Thank you
It seems to work now as before 24.1.10_2
Title: Re: GeoIP alias problem
Post by: nuke on July 15, 2024, 04:26:21 PM
I can confirm that the 24.1.10_3 update fixes this issue. Thank you for reporting here, reporting the bug and fixing.  :)