Mayana K. avatar image
Mayana K. asked ·

404 error for dtagents in One-Agent


We are getting the 404 error for dtagents.js in kubernetes Ingress service. Can anyone help us here what could be the reason for this.


Mayana Khan

Dynatrace Managedoneagentjavascriptkubernetes
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Sebastian K. avatar image
Sebastian K. answered ·

You have to configure dynatrace application to serve JS file on proper path. go to application => edit => Advanced configuration.

By default DT is serving JS file on root path, sometimes it is prohibited on WebServer and this is why you have 404 error. If for example regular JS serving path on this app is than you should paste resources/js in proper filed in dynatrace settings. This should help.


2 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.


for example my site is then i need to add the serving path as ?

Also we have below error for web-server process. Can you help with that please.

Activation of deep monitoring was unsuccessful

Code module can not communicate with Dynatrace, likely caused by missing permissions of the process.

0 Likes 0 · ·

1) yes but path depends of your Webserver settings so can be different it was only example.

About second thing you should download support archive from this host. Expand menu on host card and pick support archive that will cover last restart of process in time. Check logs than about detailed message. What technology is behind this web server? Agent was installed with root permissions?

0 Likes 0 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions session replay diagnostic tools permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android