Smart Analytics Connection Problems

  • KM03163518
  • 18-May-2018
  • 17-Aug-2018

This document is under revision.

Summary

This document provides the steps to solve the error messages "Client IP address is not allowed to execute this action" when testing the Smart Analytics Connection with SM

Question

Getting an error message when try to test the connection with the Smart Analytics server, the CFS serve and Image Server. The error messages:

Smart Analytics Server connection failed.
Client IP address is not allowed to execute this action
CFS connection failed.
Client IP address is not allowed to execute this action
Image Server connection failed.
Client IP address is not allowed to execute this action

Answer

The problem was caused due to to the IP addresses listed in the IDOL.cfg, CFS.cfg and ImageServer1.cfg. Service Manager was running on a Horizontal scaling implementation using 2 apps servers balanced by a load balancer, the IP address of one application server was set in the Smart Analytics files but the other one was missing.

To solve the problem, add the missing IP address to the SmartAnalytics files IDOL.cfg, CFS.cfg and ImageServer1.cfg, as example:

Let's say we have the following IPs

App Server 1 IP: 12.3.4.56 -> Already listed in the Smart Analytics files
App Server 2 IP: 12.3.4.67 ->Missing IP address

Add the Missing IP address:


IDOL.cfg:

ServiceStatusClients=12.3.4.56,127.0.0.1,12.3.4.67,::1,
ServiceControlClients=12.3.4.56,127.0.0.1,::1,

QueryClients=12.3.4.56,127.0.0.1,::1,
AdminClients=12.3.4.56,127.0.0.1,::1,
IndexClients=12.3.4.56,127.0.0.1,::1,

Add the IP 12.3.4.67 to the lists before "::1" like ->12.3.4.56,127.0.0.1,12.3.4.67,::1,

CFS.cfg:

ServiceStatusClients=12.3.4.56,,127.0.0.1,::1
ServiceControlClients=12.3.4.56,,127.0.0.1,::1
QueryClients=12.3.4.56,,127.0.0.1,::1
AdminClients=12.3.4.56,,127.0.0.1,::1

Add the IP 12.3.4.67 to the lists before "::1" like ->12.3.4.56,127.0.0.1,12.3.4.67,::1,

ImageServer1.cfg:

ServiceStatusClients=12.3.4.56,127.0.0.1,,::1
ServiceControlClients=12.3.4.56,127.0.0.1,,::1
adminclients=12.3.4.56,127.0.0.1,,::1
queryclients=12.3.4.56,127.0.0.1,,::1

Add the IP 12.3.4.67 to the lists before "::1" like ->12.3.4.56,127.0.0.1,12.3.4.67,::1,

Save the changes and restart smart analytics IDOL, CFS and Image Servers then test again.