Application is Archived and Not Reporting Data

  • Updated

Issue

The Contrast agent was installed and your application is functioning correctly; however, the agent is not reporting any data or onboarding your application into the Contrast UI.

Cause

Your application may be Archived in the Contrast UI causing the agent to not report application data.

You may see the following messages from the Contrast agent.

Java agent:

WARN - Received "Invalid archived application" for the APPCREATE-NG request. Application with name "yourApplicationName" will be disabled.

Node agent:

{"level":50,"time":1738087491251,"tid":0,"pid":74849,"hostname":"LTAN-J3F9DMVWFF","name":"contrast","err":{"type":"Error","message":"An error occurred while onboarding to /agents/startup","stack":"Error: An error occurred while onboarding to /agents/startup\n at ContrastUIReporter.onboard (/app/Downloads/NodeTestBenches/express/node_modules/@contrast/reporter/lib/reporters/contrast-ui/index.js:91:23)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async ContrastUIReporter.install (/app/Downloads/NodeTestBenches/express/node_modules/@contrast/reporter/lib/reporters/contrast-ui/index.js:194:9)\n at async Object.install (/app/Downloads/NodeTestBenches/express/node_modules/@contrast/reporter/lib/index.js:33:17)\n at async install (/app/Downloads/NodeTestBenches/express/node_modules/@contrast/agentify/lib/index.js:140:11)\n at async agentify (/app/Downloads/NodeTestBenches/express/node_modules/@contrast/agentify/lib/index.js:117:7)\n at async file:///app/Downloads/NodeTestBenches/express/node_modules/@contrast/agent/lib/esm-loader.mjs:22:14"},"msg":"An error prevented the Contrast agent from installing. The application will be run without instrumentation."}

.NET Agents:

2025-01-09 10:45:44.685 ALWAYS 9336:15 SensorsInitializer Application 'WebGoatCore' is archived and will not be analyzed.

Resolution

The Archived application can be found by clicking on the Applications tab and filtering by "Archived".

Screenshot 2025-01-28 at 12.19.44 PM.png


After filtering by "Archived", the Archived application may be Unarchived and will continue reporting.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request