Welcome to Centmin Mod Community
Become a Member

Xenforo Strange problems with reCaptcha

Discussion in 'Forum software usage' started by upgrade81, May 17, 2018.

  1. upgrade81

    upgrade81 Premium Member Premium Member

    221
    14
    18
    Sep 5, 2016
    Switzerland
    Ratings:
    +20
    Local Time:
    2:19 PM
    1.17
    10.3
    Today and yesterday I have several notices from XENFORO like this

    Code:
    Zend_Http_Client_Adapter_Exception: ReCAPTCHA (No CAPTCHA) connection error: Unable to Connect to ssl://www.google.com:443. Error #0: php_network_getaddresses: getaddrinfo failed: System error - library/Zend/Http/Client/Adapter/Socket.php:235
    Generated By: ivantaggi, Yesterday at 18:34
    Should I update something at the vm software level?


    and I also have errors related to shell_exec
    Code:
    ErrorException: shell_exec() has been disabled for security reasons - library/phc/AttachmentPlus/Helper/Helper.php:457
    Generated By: Unknown Account, Today at 06:34
    The latter is enabled by #fpmconfig ... is there anything else to do?

    Code (Text):
    ; catch_workers_output = yes
    php_admin_value[error_log] = /var/log/php-fpm/www-php.error.log
    php_admin_value[disable_functions] = shell_exec
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:19 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    comment out that line with semi-colon in front
    Code (Text):
    ;php_admin_value[disable_functions] = shell_exec
    

    restart nginx + php-fpm
    Code (Text):
    nprestart
    


    network connectivity issues Xenforo - OpenSSL & XenForo 1.5 Issues maybe IPv6 related

    Are you using IPv6 on your server, if so ensure IPv6 is working

    IPv4
    Code (Text):
    ping -c4 www.google.com
    

    IPv6
    Code (Text):
    ping6 -c4 www.google.com
    
     
  3. upgrade81

    upgrade81 Premium Member Premium Member

    221
    14
    18
    Sep 5, 2016
    Switzerland
    Ratings:
    +20
    Local Time:
    2:19 PM
    1.17
    10.3
    Hi, I do not use ipv6 on this vhost yet.

    that line in the conf of php is already like that.

    Code:
    php_admin_value [disable_functions] = shell_exec

    Code:
    ping -c4 www.google.com
    PING www.google.com (172.217.17.68) 56 (84) bytes of data.
    64 bytes from ams16s30-in-f68.1e100.net (172.217.17.68): icmp_seq = 1 ttl = 54 time = 15.0 ms
    64 bytes from ams16s30-in-f68.1e100.net (172.217.17.68): icmp_seq = 2 ttl = 54 time = 15.0 ms
    64 bytes from ams16s30-in-f68.1e100.net (172.217.17.68): icmp_seq = 3 ttl = 54 time = 15.0 ms
    64 bytes from ams16s30-in-f68.1e100.net (172.217.17.68): icmp_seq = 4 ttl = 54 time = 15.1 ms
    
    --- www.google.com ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3003ms
    rtt min / avg / max / mdev = 15.089 / 15.103 / 15.128 / 0.014 ms
    # ping6 -c4 www.google.com
    connect: Network is unreachable
     
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:19 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    that line disabled shell_exec, commenting it out re-enables shell_exec which your web app needs
     
    • Like Like x 1