cookie-bar icon indicating copy to clipboard operation
cookie-bar copied to clipboard

The Freegeoip service seems to not be available anymore

Open oxayotl opened this issue 2 years ago • 3 comments

The https://freegeoip.app/json/ call fails because of CORS, and trying to open the URL redirects to an error page on https://ipbase.com. It seems ipbase requires an API key for every call : https://ipbase.com/pricing/

oxayotl avatar Apr 26 '22 09:04 oxayotl

Any news on this?

andresga avatar May 04 '22 15:05 andresga

Unfortunately I have no news, as every website owner would have to have their own API key to overcome this problem, and this would not be feasible.

The only temporary solution that comes to mind is to add the configuration parameter "nogeoip", so that the call is skipped altogether, thus not generating the warning.

Do not hesitate to suggest any service that does not have this limitation, if you can.

ToX82 avatar May 04 '22 15:05 ToX82

Thanks for the "nogeoip" suggestion! Will definitely use it, as I currently do not know any suitable service.

oxayotl avatar May 05 '22 01:05 oxayotl

I've finally found another geolocation service and I've updated the cookie-bar accordingly. Thank you ip-api.com!

ToX82 avatar Nov 17 '22 22:11 ToX82

Awesome! I still have a “mixed active content” error because the call is on http://ip-api.com/json/ even when my page is displayed through https. Apparently the https version is restricted to paying members?

oxayotl avatar Dec 16 '22 14:12 oxayotl