You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing the two lines in FreegeoipProvider.java from
private static final String SERVICE_URL_INDEX = "http://freegeoip.net/json/";
private static final String RESPONSE_NOT_FOUND = "not found";
To
private static final String SERVICE_URL_INDEX = "https://freegeoip.app/json/";
private static final String RESPONSE_NOT_FOUND = "404 page not found";
Fixes the problem, as freegeoip.net is now dead, and the .app is a great replacement (free and 15,000 requests per hour allowed with no account rego crap).
I've implemented as a custom provider (nice docs and interface on that!), to make us more agile in the future, but thought you might like to know this can be rescued easily :)
Cheers, and thanks for a very nicely written plugin!
Hey there, not sure if you are still maintaining this, but looks like it's about to break!
Will require a API key and a new endpoint.
curl -s http://freegeoip.net/json/14.200.56.93
{"deprecation_message":"This API endpoint is deprecated and will stop working on July 1st, 2018. For more information please visit: https://github.com/apilayer/freegeoip#readme","ip":"14.200.56.93","country_code":"AU","country_name":"Australia","region_code":"NSW","region_name":"New South Wales","city":"Marrickville","zip_code":"2204","time_zone":"Australia/Sydney","latitude":-33.9032,"longitude":151.1518,"metro_code":0}
The text was updated successfully, but these errors were encountered: