ReCaptcha long time authorisation to admin panel

ausmann

New Member
License Active
Hello.
Thank you for adding a captcha for the login form
Have problem to login ../admin/ - refresh page, and dont login.

allow_url_fopen: on

See log:
Code:
[Mon Jul 06 14:16:11.68.637 2020] [cgi:error] [pid 6041] [client 94.46.168.31:42518] Script timed out before returning headers: php, referer: https://tempweb.top/admin/
[Mon Jul 06 14:16:11.610309 2020] [cgi:error] [pid 6041] [client 94.46.168.31:42518] AH01215: PHP Warning:  file_get_contents(https://www.google.com/recaptcha/api/siteverify?secret=xxxxxxxxxx&remoteip=94.46.168.31&v=php_1.0&response=03AGdBq25-PPnk2SnpK5G5H8eFTY1QAJtocXwkp0v0mxMqguzADqh5pYAYZI2AFSvfP3bxh9vZ6cYreEHCmLSwcQ3WuMcugNtoj_lIq0s1bUagy9rEIRYjE0zTg6da5ijYzctScR1oKKpE57R-2PtAiIAgn84QpwoluKnaBp01Nhhc1RRuwsDFpINnC8OQz1CdX6XsaZYBZ6MIHqQakLftZN-FREfSjUrpMzgdJQewyA9naS2w7zHf6Rj98iiIAjR_4sc7iQZzSB7jDWQIbDYAwMasrc4NpmTb1DlPz8t6jdc9n_38L3uCp9UIfw-kqcEbJxKVr2WxzUBPWiNF_NdROQ0Jb03RgdIrrVaOb87lWzet8ZGkXCnCR0Xl2i6FQx9J7VX34v3BxS41): failed to open stream: Connection timed out in /var/www/xxxxxx/data/www/tempweb.top/sources/recaptchalib.php on line 173, referer: https://tempweb.top/admin/
In ../sources/recaptchalib.php
PHP:
   private function _submitHTTPGet($path, $data)

    {

        $req = $this->_encodeQS($data);

        $response = file_get_contents($path . $req); // this a 173 line

        return $response;

    }
p.s. On other hosting, there is no such problem.
 
Last edited by a moderator:

Basti

Administrator
Staff member
That recaptcha lib is ooold as ****. That version seems to fail from time to time. Dunno the exact reason, but it does sometime.
Do you get that error always? or only sometimes?

ill push in the newer recaptcha lib for 1.9, which works with curl instead of file_get_contents

Your web url in the error log doesnt work though, so you might as well simply have an unresponsive webserver at times
 

Basti

Administrator
Staff member
Do you have the same issue on the join page?
P.s I edited your post, your secret key was exposed in the log, I suggest you setup a new key also
 
Top