[ZendTo] ReCaptcha not showing

Jules Jules at Zend.To
Fri May 8 18:09:18 BST 2020


That's okay, the site is working and resolving. I don't think it has a 
"home" page as such.

Did you find a Content-Security-Policy header set in your Apache config?

On 08/05/2020 17:01, Scott Silva via ZendTo wrote:
>
> I get a 404 error from here… California, US
>
> *From:*ZendTo <zendto-bounces at zend.to> *On Behalf Of *Jules via ZendTo
> *Sent:* Friday, May 8, 2020 1:37 AM
> *To:* ZendTo Users <zendto at zend.to>
> *Cc:* Jules <Jules at Zend.To>
> *Subject:* Re: [ZendTo] ReCaptcha not showing
>
> Can you browse to
> https://www.recaptcha.net
> okay from a web browser?
>
> If so, the thing to check is your
> /etc/httpd/conf.d/zendto-ssl.conf
> or
> /etc/apache2/sites-available/001-zendto-ssl.conf
> file.
>
> In that file, look for this setting:
>     Header set Content-Security-Policy
> If that setting does not include recaptcha.net at all, then replace 
> that line with this line:
>   Header set Content-Security-Policy "default-src 'none'; script-src 
> 'self' 'unsafe-inline' https://www.google.com https://www.gstatic.com 
> <https://www.gstatic.com> https://www.recaptcha.net; connect-src 
> 'self' 'unsafe-inline'; img-src * ; font-src 'self' 'unsafe-inline' 
> https://fonts.googleapis.com https://fonts.gstatic.com 
> <https://fonts.gstatic.com>; style-src 'self' 'unsafe-inline' 
> https://fonts.googleapis.com <https://fonts.googleapis.com>; frame-src 
> 'self' 'unsafe-inline' https://www.google.com <https://www.google.com> 
> https://www.gstatic.com"
>
> Then restart Apache with
>     systemctl restart httpd
> or
>     systemctl restart apache2
>
> Let me know if that fixes it for you.
>
> Cheers,
> Jules.
>
> On 08/05/2020 00:03, Chris Venter via ZendTo wrote:
>
>     Hi
>
>     After upgrading to the latest version I noticed that the
>     Re-captcha was not showing (Using V2 Checkbox), after digging
>     around in the page source I noticed that the site is now using
>     <script
>     src="https://www.recaptcha.net/recaptcha/api.js?hl=en-GB&onload=onloadCallback&render=explicit"
>     async defer></script> changing this back to <script
>     src="https://www.google.com/recaptcha/api.js?hl=en-GB&onload=onloadCallback&render=explicit"
>     async defer></script> fixed the issue.
>
>     I know that using the recaptcha.net <http://recaptcha.net> has
>     something to do with global use and allowing recaptcha in
>     countries where google.com <http://google.com> is not accessible,
>     I think, but as I do not know too much about google captcha could
>     this be a setting I have wrong on the google side of things I was
>     looking in the admin console and there does not seem to be too
>     many settings though?
>
>     Thanks for the great product any help would be appreciated,
>
>     Regards
>
>     Chris
>
>
>
>     _______________________________________________
>
>     ZendTo mailing list
>
>     ZendTo at zend.to  <mailto:ZendTo at zend.to>
>
>     http://jul.es/mailman/listinfo/zendto
>
>
>
> Jules
> -- 
> Julian Field MEng CEng CITP MBCS MIEEE MACM
> 'What happened in the past that was painful, has a great deal to
>   do with what we are today.' - William Glasser
> www.Zend.To  <http://www.Zend.To>
> Twitter: @JulesFM
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://jul.es/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'Probability factor of one to one. We have normality. I repeat, we
  have normality. Anything you still can't cope with is therefore
  your own problem.' - Trillian, The Hitch Hikers Guide to the Galaxy

www.Zend.To
Twitter: @JulesFM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200508/8ca73d8f/attachment.html>


More information about the ZendTo mailing list