Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
09-11-2024 04:09 AM
Dears,
I'm getting an error after loading the adrum.js:
Refused to frame https://cdn.appdynamics.com/ because it violates the following Content Security Policy directive: frame-src 'self' www.google.comwww.google.com
The EUM is reachable.EUM-processor: version-'24.4.0.0', commit-cd:XXXXXXXXXXXXXXb, build-release/24.4.0.next #24.4.0-35342, timestamp=2024-05-02 01:18:33
The backend is Microsoft SharePoint. CSP has added both the CDN and EUM servers.
Regards,
Khalid
Solved! Go to Solution.
09-12-2024 01:40 PM
Hi @Khalid.Rehan,
I found this AppDynamics Docs page that I think would be helpful. Please have a read and let me know if it helped.
https://docs.appdynamics.com/appd/22.x/latest/en/end-user-monitoring/browser-monitoring/browser-real...
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
10-20-2024 04:17 AM
Hi Ryan,
unfortunately, it did not work applying what is recommended in the doc you shared:
C:\inetpub\wwwroot\wss\VirtualDirectories\{your-site}
Add the CSP Header to the <httpProtocol> section of the Web.config file.
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Content-Security-Policy" value="script-src 'unsafe-inline' cdn.appdynamics.com; connect-src peum.kaska.com; img-src cdn.appdynamics.com; child-src cdn.appdynamics.com;" />
</customHeaders>
</httpProtocol>
</system.webServer>
The application crashed and we had to rollback.
Notes: the agent is loaded successfully.
Any other suggestions? Where else to look?
10-22-2024 08:52 AM
Hi @Khalid.Rehan,
If I find any new info, I'll share it here. If you find any new information or a solution, please share it here.
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
11-19-2024 02:27 AM
Hi @Ryan.Paredez ,
We were able to fix the problem by disabling the config.xd in the EUM snippet
config.xd = {enable : false};
Example:
<script charset='UTF-8'>
window['adrum-start-time'] = new Date().getTime();
(function(config){
config.appKey = 'EUM-XYZ-ABC';
config.adrumExtUrlHttp = 'https://cdn.appdynamics.com';
config.adrumExtUrlHttps = 'https://cdn.appdynamics.com';
config.beaconUrlHttp = 'https://eum.myappd.com';
config.beaconUrlHttps = 'https://eum.myappd.com';
config.xd = {enable : false};
})(window['adrum-config'] || (window['adrum-config'] = {}));
</script>
<script src='https://cdn.appdynamics.com/adrum/adrum-latest.js'></script>
Regards,
Khalid
11-19-2024 08:51 AM
Hi @Khalid.Rehan,
Thank you for sharing the solution!
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form