21 Sep 2019 07:18 AM - last edited on 15 Dec 2021 02:19 PM by MaciejNeumann
Hi,
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.
Regards,
Mayana Khan
Solved! Go to Solution.
21 Sep 2019 08:03 AM
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 www.example.com/resources/js/ than you should paste resources/js in proper filed in dynatrace settings. This should help.
Sebastian
21 Sep 2019 09:31 AM
Ok,
for example my site is www.google.com then i need to add the serving path as www.google.com/resources/js ?
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.
21 Sep 2019 09:58 AM
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?