Troubleshoot APM Node.js Agent Deployment

Installation Issues

Certificate log errors while deploying APM Node.js Agent

If you see a warning message in the logs with the following content, then delete the file emcs.cer from NODE_PATH/oracle_apm/data/.

Warning:

Failed to call hostname: <registry_server>, port: <path>l, path: /registry/instances?status=UP&serviceName=SecurityService&version=1.0%2B, method: GET, header: X-USER-IDENTITY-DOMAIN-NAME=<tenant_id>, header: Content-Type=application/json ,failure message: certificate not trusted

Unable to get OAuth Token from IDCS Server

If the agent startup log shows that it cannot get the initial OAuth authentication token, preceded by a warning showing a failure to reach the IDCS server, check to ensure that there is no firewall blocking access to the IDCS server. If there is a firewall, you will need to allow access to the IDCS server.