We have setup several JavaScript files in Cloudflare and the Access-Control-Allow-Origin is missing randomly in for different files for different users. And due to this we are getting the above error.
Any help is appreciated on this. We could purge files but its happening so randomly that not sure it will help
Its happening even now, but only randomly. For every new customer who tries to use our website out of about 20 files that we host in Cloudflare about 3 to 4 random files give this error. And if we keep on hitting refresh it eventually comes through, Since these files gets cached we get away with existing users.
Yes I can confirm that I’m experiencing exactly the same issue. Also had some files that failed loading today, until we refresh several times and files finally get cached.
I’m really sorry that you are experiencing this issue.
We believe this issue is an intermittent one that is only affecting a small minority of requests to cdnjs.