Trying to get reCAPTCHA working:
The authentication phase seems to go thru, including ZoneMinder credentials, but the server returns HTTP ERROR 500.
sudo tail -f /var/log/apache2/error.log :
[php7:error] [pid 855] [client 10.1.1.1:42170] PHP Fatal error: Uncaught Exception: Problem with https://www.google.com/recaptcha/api/siteverify, Array\n(\n [type] => 2\n [message] => fopen(https://www.google.com/recaptcha/api/siteverify): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution\n [file] => /usr/share/zoneminder/www/includes/functions.php\n [line] => 2466\n)\n in /usr/share/zoneminder/www/includes/functions.php:2468\nStack trace:\n#0 /usr/share/zoneminder/www/includes/actions/login.php(40): do_post_request('https://www.goo...', 'secret=********')\n#1 /usr/share/zoneminder/www/index.php(228): require_once('/usr/share/zone...')\n#2 {main}\n thrown in /usr/share/zoneminder/www/includes/functions.php on line 2468, referer: https://*********/zm/
Works fine without the reCAPTCHA (configured to use SSL/HTTPS [Let's Encrypt / Certbot]).
Google reCAPTCHA (v3) not working
-
- Posts: 7
- Joined: Sun Jan 19, 2020 4:19 pm
Re: Google reCAPTCHA (v3) not working
There really was an issue in name resolution...Harold Marshall wrote: ↑Sat Jan 25, 2020 10:32 am Trying to get reCAPTCHA working:
The authentication phase seems to go thru, including ZoneMinder credentials, but the server returns HTTP ERROR 500.
sudo tail -f /var/log/apache2/error.log :
[php7:error] [pid 855] [client 10.1.1.1:42170] PHP Fatal error: Uncaught Exception: Problem with https://www.google.com/recaptcha/api/siteverify, Array\n(\n [type] => 2\n [message] => fopen(https://www.google.com/recaptcha/api/siteverify): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution\n [file] => /usr/share/zoneminder/www/includes/functions.php\n [line] => 2466\n)\n in /usr/share/zoneminder/www/includes/functions.php:2468\nStack trace:\n#0 /usr/share/zoneminder/www/includes/actions/login.php(40): do_post_request('https://www.goo...', 'secret=********')\n#1 /usr/share/zoneminder/www/index.php(228): require_once('/usr/share/zone...')\n#2 {main}\n thrown in /usr/share/zoneminder/www/includes/functions.php on line 2468, referer: https://*********/zm/
Works fine without the reCAPTCHA (configured to use SSL/HTTPS [Let's Encrypt / Certbot]).
