Getting country for X failed! (0)Fixed

A couple days ago I started receiving this message for all the players on my server:

[CountryBlock] Getting country for _____ failed! (0)

Didn't notice until now. Tried reloading the plugin/config files, reinstalling Oxide, restarting the server, etc. Still seeing it.

There isn't anything that I can do about that, that means it failed to get the country for some reason...

Generally, the reason would be that the API used could not find a country for that IP address, else the API used was not reachable or unavailable.

I would suggest checking that the API/domain names used in the plugin is accessible from your server, which you can find by opening the plugin.
Well, it seems to be showing it for almost everyone all of a sudden, whereas previously I've never seen this error once. I assume that means the API isn't reachable by the server due to changes made by the host. How would I check this specifically, and is there anything I'd be able to do about it? I'm going to ask them, but I'm not sure they'll have any idea what I'm talking about.

[Sorry for the delayed response.]
04:51 [Warning] [CountryBlock] Getting country for Fanta (220.237.***.***) failed! (0)

I get the same issue for all my users in Reign of Kings...

I do a nslookup for all the IP's and most resolve.

I have checked the API's on the server and they resolve;

$"http://ip-api.com/line/{ip}?fields=countryCode",
$"http://geoip.nekudo.com/api/{ip}",
$"http://ipinfo.io/{ip}/country"


Just note http://geoip.nekudo.com/api/ is no longer accessible, and has been shut down

you can sign up at ipaip.com for free and use the below call

http://api.ipapi.com/{ip}?access_key=<YOUR UNIQUE KEY HERE>&fields=country_code


i also changed the 8.8.8.8 from googles DNS to Cloudflares 1.1.1.1 and same result.

it looks like either it cant read the results of the API call and falls back to failed state, or reads it but cant make sense of it and fails.

In response to DrunkMunki ():
04:51 [Warning] [CountryBlock] Getting country for Fanta (220.237.***.***) failed! (0)I get the sam...
The 8.8.8.8 is just a debug test, not even loaded when it is compiled unless you add #define DEBUG to the top of the plugin. You can try adding that and see what else it says.
I can't seem to get this to work. It tells me
[CountryBlock] Getting country for UserName (xx.xxx.xx.xxx) failed! (0)

for every single user

Locked automatically