Qatar is not in the EU according to current GeoLite2-Country-CSV database. Verification with the GeoLite2-Country MMDB and Python code
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.
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.