Pages

Wednesday, March 22, 2017

Failed to perform MaxMind lookup

In our CD server we are recelving lots of log errors related with MaxMind lookups as
 
ManagedPoolThread #17 00:37:24 ERROR Failed to perform MaxMind lookup
ManagedPoolThread #17 00:37:24 ERROR Failed to perform GeoIp lookup for 192.168.0.74
Exception: Sitecore.Analytics.Lookups.CannotParseResponseException
Message: Unexpected format. Cannot parse the MaxMind response for IP address: 192.168.0.74
Source: Sitecore.Analytics
   at Sitecore.Analytics.Lookups.MaxMindProvider.GetInformationByIp(String ip)
   at Sitecore.Analytics.Lookups.GeoIpManager.GetDataFromLookupProvider(GeoIpHandle geoIpHandle)

We want to stop this MaxMind lookup functionality as we are not using this in our project.

Solution:

We can disable MaxMind lookup operation by editing “Sitecore.Analytics.config” file and by making “false” entry to “Analytics.PerformLookup” key as

<!--  ANALYTICS PERFORM LOOKUP
      Determines if this server performs the lookups (DNS and URLs). Only one server should be responsible for performning the lookup.
      Default: true
-->
<setting name="Analytics.PerformLookup" value="false" />

After this change we didn’t find any MaxMind related errors in Sitecore log file.

I hope you like this Sitecore tip. Stay tuned for more Sitecore related articles.

Till that happy Sitecoring :)
 
Please leave your comments or share this tip if it’s useful for you.

No comments:

Post a Comment