GEOIP stopt working

Started by moellerheide, January 02, 2020, 06:47:24 AM

Previous topic - Next topic

If I browse the whole URL including my Licence Key, I get

"Invalid licence key"

Hoooraaayyyy!
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Quote from: chemlud on January 09, 2020, 04:20:47 PM
If I browse the whole URL including my Licence Key, I get

"Invalid licence key"

Hoooraaayyyy!


Did you copy paste it from the document I linked to or mine, because using "licence_key" produces that message, it has to be spelt "license_key" i.e. spelt the American way.

Try this:
Login to: https://www.maxmind.com/en/account/login
Next click on the left menu GeoIP2 - Download Files, Next in Download Databases find file which you want and copy link to GZIP, paste this link in OPNsense and this is working :)

Quote from: Neptunek on January 09, 2020, 04:26:37 PM
Try this:
Login to: https://www.maxmind.com/en/account/login
Next click on the left menu GeoIP2 - Download Files, Next in Download Databases find file which you want and copy link to GZIP, paste this link in OPNsense and this is working :)


Those links are date-stamped, so you will never get an updated file using them.You have to use the licence key version of the URL so it gets you the latest file.

I generated a new key and now it works in the browser. Yaaaeeyyy!

...but not in the OPNsense, get the window that I have to configure Alias...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Quote from: chemlud on January 09, 2020, 04:34:16 PM
I generated a new key and now it works in the browser. Yaaaeeyyy!

...but not in the OPNsense, get the window that I have to configure Alias...


Yes, that's where I am stuck as well  :(

Maxmind updated the updater. Maybe opnsense is outdated? Nice trick...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Quote from: chemlud on January 09, 2020, 04:41:01 PM
Maxmind updated the updater. Maybe opnsense is outdated? Nice trick...


The latest 19.7.9 was meant to be the update for this.

January 09, 2020, 05:45:30 PM #39 Last Edit: January 09, 2020, 05:58:13 PM by dcol
I also just get the message pop-up. Using the URL in a browser works
Reboot also did not work. We need a patch

I let it sit there for some time and now:

Last updated
2020-01-06T23:45:56
Total number of ranges
433499


..on the GeoIP page for "Aliases"

***scratchhead***
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Quote from: chemlud on January 09, 2020, 06:07:25 PM
I let it sit there for some time and now:

Last updated
   2020-01-06T23:45:56   
Total number of ranges
   433499


..on the GeoIP page for "Aliases"

***scratchhead***


I left work and just got home and mine has done the same - so it's not quick then, and could need some better feedback for the next release. But at least it works now.

So how long did it take. Mine has been sitting for about 45 minutes

... checked the first time after 90 min or so.
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

The documentation here is wrong:
https://github.com/opnsense/docs/blob/master/source/manual/how-tos/maxmind_geo_ip.rst

The URL is not licence_key=My_Licence_key&suffix=zip

it shouold be

license_key=My_Licence_key&suffix=zip