The specified IP address was incorrectly formatted
Hi Andy
Just ran some high level testing through my site. I noticed the following thought I would send on
System.Exception: Exception while creating a value. --->
MaxMind.GeoIP2.Exceptions.GeoIP2Exception: The specified IP address was incorrectly formatted: '
at MaxMind.GeoIP2.DatabaseReader.Execute[T](String ipAddress, Boolean hasTraits, String type)
at MaxMind.GeoIP2.DatabaseReader.Country(String ipAddress)
at Zone.UmbracoPersonalisationGroups.Providers.GeoLocation.MaxMindGeoLocationProvider.<>c__DisplayClass3_0.<GetCountryFromIp>b__0()
System.Exception: Exception while creating a value. ---> MaxMind.GeoIP2.Exceptions.GeoIP2Exception: The specified IP address was incorrectly formatted: xxxx='
at MaxMind.GeoIP2.DatabaseReader.Execute[T](String ipAddress, Boolean hasTraits, String type)
at MaxMind.GeoIP2.DatabaseReader.Country(String ipAddress)
at Zone.UmbracoPersonalisationGroups.Providers.GeoLocation.MaxMindGeoLocationProvider.<>c__DisplayClass3_0.<GetCountryFromIp>b__0()
System.Exception: Exception while creating a value. ---> MaxMind.GeoIP2.Exceptions.GeoIP2Exception: The specified IP address was incorrectly formatted: '%22
at MaxMind.GeoIP2.DatabaseReader.Execute[T](String ipAddress, Boolean hasTraits, String type)
at MaxMind.GeoIP2.DatabaseReader.Country(String ipAddress)
at Zone.UmbracoPersonalisationGroups.Providers.GeoLocation.MaxMindGeoLocationProvider.<>c__DisplayClass3_0.<GetCountryFromIp>b__0()
at Umbraco.Core.Cache.DictionaryCacheProviderBase.<>c__DisplayClass10_0.<GetSafeLazy>b__0(
Thanks for letting me know about this Lori and sorry for the delay in responding. I'm not really sure where that "xxxx" value comes from, but in any case have added a bit tighter checks and error handling so this will no longer through an exception, and will be treated as a geographical match that can't be located.
The specified IP address was incorrectly formatted
Hi Andy Just ran some high level testing through my site. I noticed the following thought I would send on
System.Exception: Exception while creating a value. --->
Thanks for letting me know about this Lori and sorry for the delay in responding. I'm not really sure where that "xxxx" value comes from, but in any case have added a bit tighter checks and error handling so this will no longer through an exception, and will be treated as a geographical match that can't be located.
This is in the latest version: 0.3.5.
Andy
Thanks so much Andy fantastic package.
is working on a reply...