When calling the data endpoint (e.g. https://URL_TO_SERVER/api/1/urn:ca:tenantId:APM-USERSTORE/urn:ca:appId:APP/profile) we get the following Message displayed in the browser:
Profiles not received from Read Server
In the logs (…/aoPlatform/AxC/logs/DigitalExperienceCollector.log) we see only the following two error lines:
[XNIO-2 task-6] ERROR c.c.a.c.processor.cache.ProfileCache - Profiles not received from Read Server
[XNIO-2 task-6] ERROR c.c.a.c.p.h.e.RestResponseEntityExceptionHandler - error caught: Profiles not received from Read Server
Looking at kafka topic maaReadServer, we could see that requests to ListApps and ListProfiles were sitting there, but the read server was not looking at them.
Release : 17.3
Component : APP EXPERIENCE ANALYTICS ENGINE
The Kafka configuration was using incorrect hostnames derived from multiple NICs on the machine.
This was checked using telnet on the machine to port 9092, it would respond on one hostname but not another.
This is a list of files and locations where the kafka configuration would need to be checked. They are all relative paths to CA_EMM_HOME. The properties in files marked mdo and dxc (the last three in this list) are key to resolving the error but the other files should be checked as it will affect how the data is processed from AXA mobile sessions:
config/axa-crash-handler_instance.properties:axa.kafka.broker.list=KAFKA_HOST:9092
config/axa-crash-handler_instance.properties:kafka.servers.bootstrap=KAFKA_HOST:9092
config/axa-crash-symbolicator_instance.properties:axa.kafka.broker.list=KAFKA_HOST:9092
config/axa-crash-symbolicator_instance.properties:kafka.servers.bootstrap=KAFKA_HOST:9092
config/axa-transformer_instance.properties:axa.kafka.broker.list=KAFKA_HOST:9092
config/mdo-aggregator_instance.properties:dxa.kafka.broker.list=KAFKA_HOST:9092
config/mdo-server_instance.properties:dxa.kafka.broker.list=KAFKA_HOST:9092
AxC/conf/dxc.properties:bootstrap.servers.hostandport=KAFKA_HOST:9092
All AXA services must be stopped and restarted after making this change.