We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, echoip with a current GeoLite2-Country database considers Qatar to be a member of the EU.
echoip
GeoLite2-Country
Example IP: 45.83.136.12
Current JSON response from a local instance with fully updated GeoLite2-Country:
{ "ip": "45.83.136.12", "ip_decimal": 760449036, "country": "Qatar", "country_iso": "QA", "country_eu": true, }
Qatar is not in the EU according to current GeoLite2-Country-CSV database. Verification with the GeoLite2-Country MMDB and Python code
GeoLite2-Country-CSV
import geoip2.database with geoip2.database.Reader('/tmp/geoip/GeoLite2-Country.mmdb') as reader: response = reader.country('45.83.136.12'); print(response.country.is_in_european_union)
$ python geoip.py False
At this point I have to assume an error in echoip code.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently,
echoip
with a currentGeoLite2-Country
database considers Qatar to be a member of the EU.Example IP: 45.83.136.12
Current JSON response from a local instance with fully updated
GeoLite2-Country
:Qatar is not in the EU according to current
GeoLite2-Country-CSV
database. Verification with theGeoLite2-Country
MMDB and Python codeAt this point I have to assume an error in
echoip
code.The text was updated successfully, but these errors were encountered: