Problem

  • Product Name: VisiBroker
  • Product Version: 8.0
  • Platform/OS Version: All

The log of OSAgent contains the following error.  What does it means?

==>> < date / time >, dsachdlr.C, 0, Err

instance() Invalid client address < IP>. Returning default handler instead. Please verify localaddr entries.

Resolution

The localaddr file can be used to specify the network adapters on which OSAgent will listen. If more than one IP address is specified in the localaddr file, the OSAgent works like a network bridge. This is further described in the VisiBroker help, chapter “Working with multihomed hosts”. For any incoming request, OSAgent takes the IP address of the request source, and compares it against the subnets specified in the localaddr file. Internally the OSAgent has an own handler for each subnet, and needs to determine which handler will take the request. If the IP address does not match any of the subnets, OSAgent takes the first registered handler as default and tries to serve the request. This may be successful or may fail, in any case this is logged as an error and should be fixed to avoid facing unexpected failure in future.

Example:

Content of localaddr file

#entries of format

199.10.9.5 255.255.255.0 199.10.9.255

199.20.0.5 255.255.255.0 199.20.0.255


To solve the problem, review the network configuration and adapt the localaddr file to it.
Incident #2464489