mageplaza / magento-2-geoip-library

Magento 2 GeoIP extension is an optimal solution for generating awesome customers’ experiences. It records the customers’ IP addresses then use it for navigating them to the suitable store locations, languages and currencies promptly.
Other
18 stars 7 forks source link

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

Open augrinovska opened 4 years ago

augrinovska commented 4 years ago

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

viniciusfabri commented 4 years ago

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/

ltay13 commented 4 years ago

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

princefishthrower commented 4 years ago

@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?

ltay13 commented 4 years ago

@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.

princefishthrower commented 4 years ago

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

viniciusfabri commented 4 years ago

@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

ltay13 commented 4 years ago

@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.