User_ipaddress field is 2405


#1

When I am firing events from external network in mobile app,user_ipaddress is coming 2405 whch is not right IP.I am using scala stream collector and stream enricher.Can anyone help me to solve this?


#2

The Scala Stream Collector picks up what the value of the X-Forwarded-For, Remote-Address, or X-Real-IP headers is. So if one was to manually specify one of those headers, it would be picked up.


#3

from internal network I am getting ipaddress 219.91.244.102
and from external network 2405:204:2126:f4ae:4827:6b3f:68dd:c408 but from snowplow enricher I am only getting 2405,not complete Ip address.


#4

does it support IPv6 for Scala common enrich? If no, Will it support anytime in coming release


#5

Support for IPv6 addresses will be added in release 103, which should drop this week, you can follow our progress in https://github.com/snowplow/snowplow/pull/3699


#6

thanks BEN…and how can I integrate enterprise version of max mind with snowplow?


#7

You need to make them available either through http (or S3 if you’re running on AWS) and add them to your ip_lookups.json enrichment file.

An example enrichment file can be found here, the schema can be found in iglu-central.

If you’re using GeoIP2 databases, you’ll need to wait on release 103.


#8

I am facing a similar issue. There are many events with user_ipaddress as 2, 2001, 2003, 2401, 2402, 2405, 2406, 2407, 2409, 2600, 2601, 2604, 2620, and 2804.

Will this be fixed in the upcoming 103 release?


#9

yes, heads up that it has been released: https://snowplowanalytics.com/blog/2018/04/17/snowplow-r103-paestum-released-with-ip-lookups-enrichment-upgrade/


#10

hey @BenFradet I upgraded snowplow which has been released in r103,now its working fine.thanks…!!


#11

How can I override user_ipaddress in javascript tracker?


#12

At the moment it’s not possible as the ip address being picked up is the one which made the request when using the javascript tracker.

However it’s possible with other trackers such as the scala tracker.