GEOIP download problem sice update to 3.0.1.8

Report bugs and workarounds
Post Reply
Pukkeltje
Posts: 11
Joined: 08 Sep 2016 08:32

GEOIP download problem sice update to 3.0.1.8

Post by Pukkeltje »

Since the upgrade to 3.0.1.8, I get this error while updating de GEOIP databases:
Downloading file, please wait...
Error occurred while downloading GeoIP IPv4 data file: cURL error 7: Failed to connect to 2400:cb00:2048:1::6810:262f: Network is unreachable
Error occurred while downloading GeoIP IPv6 data file: cURL error 7: Failed to connect to 2400:cb00:2048:1::6810:262f: Network is unreachable
Download complete, unpacking files...

GeoIP IPv4 data file successfully unpacked
GeoIP IPv6 data file successfully unpacked
Process completed!

The files in the directory are 0 bytes:

drwxrwxr-x 2 root apache 4096 Feb 9 14:45 .
drwxr-xr-x 6 root root 4096 Feb 7 23:52 ..
-rw-r--r-- 1 apache apache 0 Feb 9 14:45 GeoIP.dat
-rw-r--r-- 1 apache apache 0 Feb 9 14:45 GeoIPv6.dat
-rw-r--r-- 1 root root 70 Jan 10 16:51 .gitignore

It looks like IP resolving is only to IPv6 address. I only have a IPv4 network connection.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: GEOIP download problem sice update to 3.0.1.8

Post by shawniverson »

Odd. I am able to resolve to ipv4 addresses on 3.0.1.8.

What are getting when you resolve the following?

Code: Select all

dig dev.maxmind.com
kettchenkuno
Posts: 5
Joined: 23 Apr 2014 13:40

Re: GEOIP download problem sice update to 3.0.1.8

Post by kettchenkuno »

Same here... :think:

Code: Select all

[admin@SMX2 ~]$ [b]dig dev.maxmind.com[/b]

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> dev.maxmind.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54235
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;dev.maxmind.com.               IN      A

;; ANSWER SECTION:
dev.maxmind.com.        1152    IN      CNAME   maxminddev.wpengine.com.
maxminddev.wpengine.com. 119    IN      A       104.197.225.108

;; Query time: 71 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Mar 22 10:04:46 2017
;; MSG SIZE  rcvd: 83

Code: Select all

[admin@SMX2 ~]$ [b]dig geolite.maxmind.com[/b]

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> geolite.maxmind.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24794
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;geolite.maxmind.com.           IN      A

;; ANSWER SECTION:
geolite.maxmind.com.    15      IN      CNAME   geolite.maxmind.com.cdn.cloudflare.net.
geolite.maxmind.com.cdn.cloudflare.net. 299 IN A 104.16.38.47
geolite.maxmind.com.cdn.cloudflare.net. 299 IN A 104.16.37.47

;; Query time: 73 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Mar 22 10:05:49 2017
;; MSG SIZE  rcvd: 121
Already tried to add the ip's to host file but this results in

Code: Select all

Downloading file, please wait...
Error occurred while downloading GeoIP IPv4 data file: cURL error 7: couldn't connect to host
Error occurred while downloading GeoIP IPv6 data file: cURL error 7: couldn't connect to host
Download complete, unpacking files...

GeoIP IPv4 data file successfully unpacked
GeoIP IPv6 data file successfully unpacked
Process completed!
Tried to manually download the file via curl with

curl -O http://geolite.maxmind.com/download/geo ... oIP.dat.gz

That works. :think: :think:
w_bufffet
Posts: 12
Joined: 27 Mar 2016 15:32

Re: GEOIP download problem sice update to 3.0.1.8

Post by w_bufffet »

And now they discontinued their free service.


on their website:

Code: Select all

GeoLite Legacy databases were discontinued on January 2, 2019. Learn more

any ideas on what should be done, except deleting the GeoIP files?
Last edited by w_bufffet on 23 Jan 2019 19:17, edited 1 time in total.
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: GEOIP download problem sice update to 3.0.1.8

Post by henk »

ideas? At least one: Search this forum :oops:

How? : viewtopic.php?f=5&t=2974

Result: viewtopic.php?f=13&t=3311
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Post Reply