Skip to content
New issue

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

"Problems in retrieving data from http://freegeoip.net" #2

Open
ctrlaltdylan opened this issue Aug 13, 2014 · 4 comments
Open

"Problems in retrieving data from http://freegeoip.net" #2

ctrlaltdylan opened this issue Aug 13, 2014 · 4 comments

Comments

@ctrlaltdylan
Copy link

This is on a fresh install and calling the getLongitude and getLatitude methods.

@buonzz
Copy link
Owner

buonzz commented Sep 14, 2014

hello, try setting the https://github.com/buonzz/laravel-4-freegeoip/blob/master/src/config/config.php
values, specially make it so like its http instead of https, some users is having issues on retrieving data via https.

@ricardocanelas
Copy link

I did it

  1. php artisan config:publish buonzz/laravel-4-freegeoip
  2. change URL ('freegeoipURL' => 'https://www.freegeoip.net/json/')
  3. composer dumpautoload

My code
captura de tela 2014-09-30 as 13 49 09

But.. But the error continues to appear
captura de tela 2014-09-30 as 13 46 41

@ghost
Copy link

ghost commented Dec 21, 2014

Any updates on this one?

@buonzz
Copy link
Owner

buonzz commented Jan 8, 2015

appears to be the https://freegeoip.net/ online service times out. being a free service, we cannot ensure its uptime.
i would suggest you install it in your own server.
https://github.com/fiorix/freegeoip
then change the url to your own server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants