Unable to instrument one of the Public Website through automatic tag injection. I found the below message in the developer’s mode.
The key “” is not recognized and ignored.
[Deprecation] Setting cookies via `<meta http-equiv=‘Set-Cookie’ …>` no longer works, as of M65. Consider switching to `document.cookie = …`, or to `Set-Cookie` HTTP headers instead. See Chrome Platform Status for more details.
Blocked setting the `domain=XXXXXXXXXX.com.com; path=/;httponly;` cookie from a `<meta>` tag.
In the documentation, I found the following information.
RUM correlation requires that the dtCookie and dtPC cookies be on web requests in order to link them to user actions. However, because dtCookie is part of the beacon and because the JavaScript library sets and modifies these cookies, these cookies don’t support the HTTPOnly flag. See cookies for complete details.
Is there any relevance between the error and the above information?
Ok and without rum injected there is no issue, yes? I’ve never seend setting cookies via metatag in dynatrace. This is something that is strange for me.
is not related to RUM, but this may be issue. I think that, script is doing something with cookies and in such case has problem? This may be case for support.
You should edit the url hotlink or remove it, since is redirecting to the real uat page. Also, as @sebastian k. said the manual injection is kinda weird. It should end with a .js for the extension of the file. And the rb_5e8dab8f of the callback beacon shouldnt be there.
But when I test that the monitor signal passes through my infrastructure (as we are not receiving any UEM data) with the following method then I am getting HTTP Error 404.0 - Not Found and also Requested URL is automatically changing to the .aspx
As I understand, webserver below this application is instrumented by oneagent? If yes I think you chould play with beacon url configuration in application settings, because such origin on js path may be blocked by webserver.
I had a similar problem, that when sending the callback (post) didn’t go since the app server / security will not allow post, since the app itself didn’t need it, obvisuly that was a 403 and not a 404, but to make it short, since this is a managed enviroment? do you have a cluster activegate?
What I did was change the beaconurl at the app settings, so it would not back to the app server, but to the cluster Activegate.
Obviusly there is some rule at the appserver that adds the aspx extension.
For me 404 means that web server is blocking your beacon. I’ve had such scenarios. Check on what path is your webserver receiving xhr’s and try to modify beacon url to make it the same for agent.
I wanted to share the drop seen of this issue. There was a blunder from our side which is overlooked while installing the OneAgent.
The same server was instrumented by AppMon agent in the past and without uninstalling the AppMon Web Server Agent we installed the OneAgent on top of it which simply stopped the AppMon Web Agent Service but the Native Module information was still intact.
In short, after removal of AppMon and restarting the server beacon data started receiving as expected.