antonioribeiro / antonioribeiro/tracker
GeoIP localhost
- Dominant language
- PHP
- Stars
- 2.9k
- Forks
- 594
- PR merge metrics
- No merged PRs in 30d
Description
I installed the tracker on my Laravel 5.8 project, the only thing I cannot get to populate is the GeoIP, I keep getting null, and no database entries.
I have
log_geoip' => true
'geoip_database_path' set to storage_path('app/geoip'),
--database is in location; storage/app/geoip with the following files;
GeoLite2-City.md5
GeoLite2-City.mmdb
GeoLite2-City.mmdb.gz
I also have;
'do_not_track_ips' => [
// '127.0.0.0/24', /// range 127.0.0.1 - 127.0.0.255
],
The only thing I considered is maybe because I am testing it locally via Laragon, that it is ignoring the 127.0.0.1 result.
I would like to confirm it works however, and I do not know how to go about this.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported GeoIP lookup with Laravel 5.8, the provided geoip_database_path, and the 127.0.0.1 address. Check whether localhost is intentionally excluded and whether the supplied GeoLite2 files are read; done means identifying the cause of the null result and confirming working population or documenting the localhost limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100