magento-2-geoip-library icon indicating copy to clipboard operation
magento-2-geoip-library copied to clipboard

GeoIP Configuration "Download Library" button fails on Magento 2.3.3 'Can't download file.'

Open augrinovska opened this issue 5 years ago • 7 comments

It fails when downloading GeoLite2-City.tar.gz because of the URL [https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz] which is defined as a download_path can't be reached.

Here is the error message: Can't download file. Please try again! Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/vendor/mageplaza/module-geoip/Controller/Adminhtml/System/Config/Geoip.php on line 94

augrinovska avatar Jan 06 '20 10:01 augrinovska

From Dec 30th, it's not possible anymore to download this library without a Maxmind account: https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/

viniciusfabri avatar Jan 06 '20 11:01 viniciusfabri

Will the extension be update to allow entering a Maxmind license key for the download?

ltay13 avatar Feb 14 '20 02:02 ltay13

@ltay13 - I'm wondering the same. I have version 1.0.5, and there is no field in the admin config page to enter the key. Did you manage to solve this issue?

@viniciusfabri - is 1.0.5 the newest version?

princefishthrower avatar Apr 23 '20 17:04 princefishthrower

@princefishthrower unfortunately not, I didn't follow this one up beyond the message here. I'll send a message to mageplaza support and point them to this link.

ltay13 avatar Apr 23 '20 23:04 ltay13

@ltay13 - sounds good. Interested in the answer here!

princefishthrower avatar Apr 23 '20 23:04 princefishthrower

@princefishthrower seems like it: https://github.com/mageplaza/magento-2-geoip-library/releases We worked around this by managing the file manually, but it's a temporary solution until this issue is resolved

viniciusfabri avatar Apr 28 '20 12:04 viniciusfabri

@princefishthrower @viniciusfabri Their support sent me a version which is working. It looks like almost the same thing they sent is available here in the develop branch. So you might want to pull that if you're interested to get something working quickly. I also suggested they do an official release and update the community here. Hope that helps in the mean time.

ltay13 avatar May 01 '20 08:05 ltay13