Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
augrinovska opened this issue Jan 6, 2020 · 7 comments

Comments

@augrinovska
Copy link

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 augrinovska changed the title GeoIP Configuration "Download Library" button fails on Magento 2.3.3 GeoIP Configuration "Download Library" button fails on Magento 2.3.3 'Can't download file.' Jan 6, 2020
@viniciusfabri
Copy link

viniciusfabri commented Jan 6, 2020

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
Copy link

ltay13 commented Feb 14, 2020

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

@princefishthrower
Copy link

@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
Copy link

ltay13 commented Apr 23, 2020

@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
Copy link

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

@viniciusfabri
Copy link

@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
Copy link

ltay13 commented May 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants