Try our conversational search powered by Generative AI!

[TrackingPackage]: Value in RemoteAddress is IPv4 throwing exception

Found in

EPiServer.Profiles.Client 1.6.0

Fixed in

EPiServer.Profiles.Client 1.6.0

(Or a related package)

Created

Aug 01, 2018

Updated

Sep 18, 2018

State

Closed, Fixed


Description

Steps to reproduce

1. Configure the tracking in the AlloyMVC site. Remote Address's value is X.X.X.X.
2. Browse the site.
3. Get the trackevent.

Expected:
Display the new trackevent in step 1.

Actual:
No new trackevent is displayed.

Note: Open the log file, see the error:
2018-08-01 09:35:47,220 [11] ERROR EPiServer.Tracking.Core.TrackingValidation: Tracking remote address cannot contain Dot (.).
2018-08-01 09:36:11,318 [11] ERROR EPiServer.Profiles.Client.ProfileTrackingAdapter: tracking of data ({"trackId":null,"deviceId":"354cf436-33eb-43f8-8bc9-5e47dc8b790e","scope":"ScopeNew01","eventType":"Alloy0108","value":"sample-value","pageUri":"http://localhost:62531/","pageTitle":"Title","user":{"name":"","email":"","information":

{"website":"http://a-website.com","facebook":"http://facebook.com/a-fakeid"}

,"info":{"website":"http://a-website.com","facebook":"http://facebook.com/a-fakeid"}},"eventTime":null,"payload":{"value1":"Home Value 1","value2":"Home Value 2","value3":"Home Value 3","user":{"name":"","email":"","information":

{"website":"http://a-website.com","facebook":"http://facebook.com/a-fakeid"}

,"info":

{"website":"http://a-website.com","facebook":"http://facebook.com/a-fakeid"}

}},"remoteAddress":"X.X.X.X"}) failed. Bad Request (BadRequest)