# Maxmind GeoIP2 not working

**URL:** <https://forum.mautic.org/t/maxmind-geoip2-not-working/2704>\
**Category:** Product Support\
**Created:** [November 5, 2015, 10:46am UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704 "2015-11-05T10:46:23Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![katalysis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/katalysis/32/38_2.png) [@katalysis](https://forum.mautic.org/u/katalysis)\
**Post date:** [November 5, 2015, 10:46am UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/1 "2015-11-05T10:46:23Z")

</div>

To try and get more accurate geo info. I’ve switched to the Maxmind GeoIP2 precision service but I am now not even getting country information for new visitors.  
  
I’ve added the User ID:Licence key combination to Mautic’s IP lookup service authentication in Config and updated the Maxmind files to the latest in Github which seem to have a recent fix but it’s still not working.  
  
  
  
Any ideas?

---

<div class="post-metadata">

**Author:** ![katalysis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/katalysis/32/38_2.png) [@katalysis](https://forum.mautic.org/u/katalysis)\
**Post date:** [November 5, 2015, 10:46am UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/2 "2015-11-05T10:46:23Z")

</div>

To try and get more accurate geo info. I’ve switched to the Maxmind GeoIP2 precision service but I am now not even getting country information for new visitors.  
I’ve added the User ID:Licence key combination to Mautic’s IP lookup service authentication in Config and updated the Maxmind files to the latest in Github which seem to have a recent fix but it’s still not working.

Any ideas?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [November 5, 2015, 12:12pm UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/3 "2015-11-05T12:12:46Z")

</div>

Any error message in Matuic logs or server logs? Are you talking about this bug fix?

[https://github.com/mautic/mautic/pull/1077](https://github.com/mautic/mautic/pull/1077)

---

<div class="post-metadata">

**Author:** ![katalysis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/katalysis/32/38_2.png) [@katalysis](https://forum.mautic.org/u/katalysis)\
**Post date:** [November 6, 2015, 12:06pm UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/4 "2015-11-06T12:06:37Z")

</div>

I was updating to the code found here: [https://www.openhub.net/p/mautic/commits/397325078](https://www.openhub.net/p/mautic/commits/397325078). I’ve now also updated with pull 1077 but still no IP location info. or error messages in either the Mautic or server logs.

---

<div class="post-metadata">

**Author:** ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)\
**Post date:** [November 12, 2015, 4:35am UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/5 "2015-11-12T04:35:46Z")

</div>

@katalysis, I’m afraid we don’t have access to Maxmind credentials to test so went with the documentation; it’s very possible we missed something in the conversion to the GeoIP 2 formats. If you’re willing to “loan” us a set of credentials, I’d be glad to test to see if we can figure out what’s going on. You can private conversation me here, email me at alan.hartless@this domain or find me as @alanhartless on Slack ([https://mautic.org/slack](https://mautic.org/slack)).

Thanks!  
Alan

---

<div class="post-metadata">

**Author:** ![milescantley](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@milescantley](https://forum.mautic.org/u/milescantley)\
**Post date:** [December 11, 2015, 10:48am UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/6 "2015-12-11T10:48:44Z")

</div>

Alan

I have written you a message including our specific credentials as we have exactly the same error. Please could you check and reply?

---

<div class="post-metadata">

**Author:** ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)\
**Post date:** [December 11, 2015, 9:22pm UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/7 "2015-12-11T21:22:21Z")

</div>

Hi @milescantley This should be resolved with [https://github.com/mautic/mautic/pull/1167](https://github.com/mautic/mautic/pull/1167).

Thanks,  
Alan

---

<div class="post-metadata">

**Author:** ![milescantley](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@milescantley](https://forum.mautic.org/u/milescantley)\
**Post date:** [January 19, 2016, 3:44pm UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/8 "2016-01-19T15:44:16Z")

</div>

Alan this is still not working for us despite upgrading to the latest version of Mautic. Please could you test yourself with our credentials?

---

<div class="post-metadata">

**Author:** ![danwaterloo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danwaterloo/32/77_2.png) [@danwaterloo](https://forum.mautic.org/u/danwaterloo)\
**Post date:** [May 12, 2016, 11:50am UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/9 "2016-05-12T11:50:22Z")

</div>

I just upgraded to v 1.4, and the geoip has stopped working altogether. The old settings from version 1.3 were retained, and what used to work now does not work anymore… My account at Maxmind say my subscription is for ‘GeoIP2 Precision: Insights’, which does not match any of the selections in the Mautic menu.

---

<div class="post-metadata">

**Author:** ![danwaterloo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danwaterloo/32/77_2.png) [@danwaterloo](https://forum.mautic.org/u/danwaterloo)\
**Post date:** [May 12, 2016, 1:25pm UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/10 "2016-05-12T13:25:58Z")

</div>

When I changed the IP lookup service to “MaxMind - Insights (formerly Omni)”, then it has started working with my MaxMind “GeoIP2 Precision: Insights” account.

---

<div class="post-metadata">

**Author:** ![milescantley](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@milescantley](https://forum.mautic.org/u/milescantley)\
**Post date:** [March 10, 2016, 12:45pm UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/11 "2016-03-10T12:45:48Z")

</div>

I have solved this now. The issue is that the drop down in Configuration, System Settings to select the IP data provider was set to ‘MaxMind - GeoIP2 Precision’, and should have been set to ‘MaxMind Insights - formerly Omni’. The actual name of the service is ‘GeoIP2 Precision Insights’ so I am not sure what the duplication is for.

---

<div class="post-metadata">

**Author:** ![mellsaid](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@mellsaid](https://forum.mautic.org/u/mellsaid)\
**Post date:** [November 8, 2016, 10:21am UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/12 "2016-11-08T10:21:24Z")

</div>

Hi guys,

I noticed that some of you encountered issue with MaxMind IP lookups. We are experiencing this issue here ourselves. we have service based Maxmind geoIP2 account and Maxmind Insights. No matter what we choose from both insights in settings or geoIP2, we aren’t getting correct lookups.

We are using the license key in the IP Lookup service authentication

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:56pm UTC](https://forum.mautic.org/t/maxmind-geoip2-not-working/2704/13 "2020-02-02T22:56:29Z")

</div>


