cURL error 35: Unknown SSL protocol error in connection
-
I have a website using the ConstantContact plugin for WordPress.
While I was developing the website in a test server, the plugin was working fine. But once we moved the website to the production server, the plugin stopped working, but additionally generated an error in the website breaking everything.
The server error log was full of this messages:
[05-Mar-2019 19:03:00 UTC] PHP Fatal error: Uncaught GuzzleHttp\Ring\Exception\ConnectException: cURL error 35: Unknown SSL protocol error in connection to api.constantcontact.com:443 in wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/ringphp/src/Client/CurlFactory.php:126 Stack trace: #0 wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/ringphp/src/Client/CurlFactory.php(91): GuzzleHttp\Ring\Client\CurlFactory::createErrorResponse(Array, Array, Array) #1 wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/ringphp/src/Client/CurlHandler.php(96): GuzzleHttp\Ring\Client\CurlFactory::createResponse(Array, Array, Array, Array, Resource id #558) #2 wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/ringphp/src/Client/CurlHandler.php(68): GuzzleHttp\Ring\Client\CurlHandler->_invokeAsArray(Array) #3 wp-content/plugins/consta in wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Exception/RequestException.php on line 49
The test website had SSL enabled, but not the production website. So I disabled SSL on Test and the plugin still worked. So I think that’s not the issue.
As the connection to ConstantContact had been done from Test, I disconnected ConstantContact in Production, and while disconnected, the production website started working normally, but obviously the email address on the subscription form was not being sent to ConstantContact. I connected it again, this time directly from Production, and it didn’t work because the error persists.
I think the issue is related with the server software, maybe PHP, maybe curl, maybe a missing extension… but I can’t identify what is generating the problem.
- The topic ‘cURL error 35: Unknown SSL protocol error in connection’ is closed to new replies.