function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bruno Di Bello 10Bruno Di Bello 10 

Refused to connect to '...' because it violates the following Content Security Policy directive: "connect-src 'self'

I was having that problem by using a js from a static resource. I called the script like this:

<ltng:require scripts="{'resource/AdapterSR/adapter-master/src/js/adapter_core.js'}"
                  afterScriptsLoaded="{!c.doInit}"/>

I dont know what is happening. If its because of the lockerservice or what. 
Rowan  ChristmasRowan Christmas
Most assuredly a Locker Service problem. I have needed to fork nearly every 3rd party library due to obscure Locker Service issues. Unfortunately Salesforce doesn't seem to be responding in a cooridnated manner to LockerService problems (or I'm posting in the wrong places? who knows... ), and since they removed the ability to catch errors via $A.logger, the only way to see what the problems are is watching the screen (I reccomend recording a video to watch in slow motion) as errors pop into the Aura error box.