laravel-geoip
laravel-geoip copied to clipboard
Incorrect location for ip address
"103.66.96.83" this is Indian IP address, but showing China instead.
Torann\GeoIP\Location Object ( [attributes:protected] => Array ( [ip] => 103.66.96.83 [continent_code] => AS [continent_name] => Asia [country_code2] => CN [country_code3] => CHN [country_name] => China [country_capital] => Beijing [state_prov] => Tianjin [district] => [city] => [zipcode] => [latitude] => 39.10956 [longitude] => 117.22337 [is_eu] => [calling_code] => +86 [country_tld] => .cn [languages] => zh-CN,yue,wuu,dta,ug,za [country_flag] => https://ipgeolocation.io/static/flags/cn_64.png [geoname_id] => 6527845 [isp] => Yuanwang Technology (Tianjin) Co. Ltd. [connection_type] => [organization] => Balaji Services [currency] => Array ( [code] => CNY [name] => Yuan Renminbi [symbol] => ¥ )
[time_zone] => Array
(
[name] => Asia/Shanghai
[offset] => 8
[current_time] => 2021-08-06 20:26:21.880+0800
[current_time_unix] => 1628252781.88
[is_dst] =>
[dst_savings] => 0
)
[default] =>
)
)
Hi, if you using maxmind geolite db, make sure its updated.
Unable to fix this issue. Switched to another paid api.
Thank You, Akshay Bokade Tel - +91 78753 82416 E-mail - @.*** Web Address - www.mirackle.com Web Developer | Mirackle Solutions
-------- Original Message -------- Subject: Re: [Torann/laravel-geoip] Incorrect location for ip address (#206) Date: 2022-01-05 19:45 From: Shigeki @.> To: Torann/laravel-geoip @.>
Have you fixed this issue? @akshaymirackle [1]
I am having the same problem.
Torann\GeoIP\Location {#1850 ▼ #attributes: array:14 [▼ "ip" => "222.8.176.90" "iso_code" => "GB" "country" => "United Kingdom" "city" => "London" "state" => "NA" "state_name" => "NA" "postal_code" => "NA" "lat" => "NA" "lon" => "NA" "timezone" => "Europe/London" "continent" => "NA" "currency" => "NA" "default" => true "cached" => false ] }
222.8.176.90 is a Japanese ip address
-- Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. Triage notifications on the go with GitHub Mobile for iOS [4] or Android [5]. You are receiving this because you were mentioned.Message ID: @.***>
Links:
[1] https://github.com/akshaymirackle [2] https://github.com/Torann/laravel-geoip/issues/206#issuecomment-1005721722 [3] https://github.com/notifications/unsubscribe-auth/ALGIQDVQEYF5BBZWBKOLKZDUURHBDANCNFSM5BV2OWSA [4] https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 [5] https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub