'Google Recaptcha is intermittently throwing a client side error

We have an issue with an implementation of the Google Recaptcha(enterprise) as part of a registration workflow. It is working consistently for our dev sub domain, but for our prod sub domains we are are mostly getting the following error message on the client side

 Refused to load the script 'https://www.google.com/recaptcha/enterprise.js?render=explicit' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 
when we get this error the Captcha control is not rendered and our members cannot continue through the registration workflow

This isn't happening in all conditions : for example if I connect to a VPN I can see the Captcha control some of the time. We have tried add the explicit sub domains to the Recaptacha config, but this hasn't had any impact. We are seeing this across browser types and in the mobile space as well. Could we get some guidance on how to troubleshoot this issue?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source