AppD Archive

End User Experience: browser refuses to load adrum JS

CommunityUser
Splunk Employee
Splunk Employee

Hi all,

manually instrumented my PHP application with the adrum snippet in the page, the following snippet is inserted fine just after the head opening tag:

<script type="text/javascript" src="/adrum.js"></script>

I further copied the adrum-extXX.js script to my host and edited adrum.js to refer to that local copy instead the cdn.appdynamics.com hosted JS.

However, I still see a CSP violation in the javascript console on every load of the page:

Refused to load the script 'https://xxx/adrum-ext.63e9f33be79086444fbb75051659bdae.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'"

It fails both on Chrome 42 and Firefox 37 (on Mac OS).

Any chance to get this working?

Regards, Tobias

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Update: seems Firefox actually works, but Chrome does not.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...