Page MenuHomeVyOS Platform

GeoIP database update does not work
In progress, NormalPublic

Description

GeoIP database update never seems to succeed:

vyos@vyos-a# run update geoip 
Downloaded GeoIP database
Error: GeoIP failed to update firewall
[edit]
vyos@vyos-a#

On a second attempt:

vyos@vyos# run update geoip 
Unable to download "https://download.db-ip.com/free/dbip-country-lite-2024-10.csv.gz": HTTPSConnectionPool(host='download.db-ip.com', port=443): Max retries exceeded with url: /free/dbip-country-lite-2024-10.csv.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fd0f2b52bd0>: Failed to establish a new connection: [Errno 16] Device or resource busy'))
Error: Failed to download GeoIP database

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

dmbaturin triaged this task as Normal priority.

Can't reproduce on my end:

vyos@vyos# run update geoip
Downloaded GeoIP database
[edit]
vyos@vyos#

I was able to replicate this when I didn't have a system dns server set. It is failing because it can't resolve the URL

Can you check in configuration mode that you have something set when running

show system name-server

If you do not have something here, from configuration mode run:

set system name-server 8.8.8.8

Then try again

update geoip

@sarthurdev - Can you replicate the issue if you "delete system name-server" and try to run "update geoip" with no nameserver defined?

sarthurdev changed the task status from Open to In progress.Fri, Nov 28, 1:26 PM
sarthurdev claimed this task.