Third party Turnstile connection error: Server error

Nirjonadda

Well-known member
Affected version
2.2.12
Getting lot of Server error log:

Code:
GuzzleHttp\Exception\ServerException: Turnstile connection error: Server error: `POST https://challenges.cloudflare.com/turnstile/v0/siteverify` resulted in a `500 Internal Server Error` response: {"success":false,"error-codes":["internal-error"]} src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113

Generated by: Unknown account Dec 10, 2022 at 12:49 AM

Stack trace

#0 src/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 src/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 src/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
#3 src/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 src/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run(true)
#5 src/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 src/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#7 src/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 src/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 src/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttp\Promise\Promise->wait()
#10 src/vendor/guzzlehttp/guzzle/src/Client.php(95): GuzzleHttp\Client->request('post', 'https://challen...', Array)
#11 src/XF/Captcha/Turnstile.php(71): GuzzleHttp\Client->__call('post', Array)
#12 src/XF/Mvc/Controller.php(954): XF\Captcha\Turnstile->isValid()
#13 src/XF/Pub/Controller/LostPassword.php(27): XF\Mvc\Controller->captchaIsValid()
#14 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\LostPassword->actionIndex(Object(XF\Mvc\ParameterBag))
#15 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:LostPassword', 'Index', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\LostPassword), NULL)
#16 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\LostPassword), NULL)
#17 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#18 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#19 src/XF.php(524): XF\App->run()
#20 index.php(20): XF::runApp('XF\\Pub\\App')
#21 {main}

Request state

array(4) {
  ["url"] => string(15) "/lost-password/"
  ["referrer"] => string(37) "/lost-password/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(6) {
    ["_xfToken"] => string(8) "********"
    ["email"] => string(23) "@gmail.com"
    ["cf-turnstile-response"] => string(432) "0.0h8IGv1iZJxJq2HJ26-bglXCboM2TUHSKV7qPlt2ZCzPTpT2PzmMkJHpxvnQIorPCsNFmkRpHgfGzobCsUEp4dSyCD6p62gvp6_6WuQ-h53tYJYh3PqRJ13JApaC3UPweygxoTRYUwYjB5vDCSLLJxhCRjnTjYfEnF9fAQBYjZAvNPLxmD2xmhiyUchimpeUIwKX0UdhWnQ2t159ArEKND92ro5-SsdoqFIm-p3s908tMfHwagkWiU-SPYe3P4DeHbXMjq0pbOum3t4lF0Owq7WQRBN_Whnmx7nQfp1TuU6Tcecz9iBSe8g2MWVol7ujg3qAqWNd0L42w7nG3G4GHA.cAbbmKVWo8teKqefeKuEVg.a135b6c944847b8122ddb33b78de2dee1bfe8255e7f2ad663eeefade7c5f6f9f"
    ["_xfRequestUri"] => string(15) "/lost-password/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
None happening here but even so these are errors on the CF side so nothing we can do.

Contacting CF support would be the best course of action.
 
Back
Top Bottom