I've prepared some scripts on my local, and everything works properly... but when I just upload all files on server, and run script I have following error:
*Fatal error: Uncaught ActiveCollab\SDK\Exceptions\CallFailed: Unknown SSL protocol error in connection to project.*****.com:443 in ......./activecollab/src/Connector.php:208........*
On server is php 7.1 , and cURL is also installed...
do you have any suggestions what could be a problem?
Thank you in advance!
ActiveCollab SDK uses cURL to execute HTTP requests. “Unknown SSL protocol error in connection” is error thrown by cURL, and there are plenty of articles online that offer advice how to troubleshoot it (for example: http://blog.techstacks.com/2010/03/3-common-causes-of-unknown-ssl-protocol-errors-with-curl.html). Just search for the error message up to the project.w-em.com ("Unknown SSL protocol error in connection to"), and you’ll find a lot of resources that cover this class of cURL errors.
Related
I'm using a extension of my PHP website for SSO which uses guzzle. It gives this error when running it.
Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 35: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in.....
When I went to the website mentioned in the error for error 35 it says:
CURLE_SSL_CONNECT_ERROR (35)
A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read
the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths,
permissions), passwords, and others.
Top of the website tells this.
No matter what, using the curl_easy_setopt option CURLOPT_ERRORBUFFER is a good idea as it will
give you a human readable error string that may offer more details about the cause of the error
than just the error code.
As mentioned in the website how do I use CURLOPT_ERRORBUFFER in guzzle.
Any answers are appreciated.
Please let me know what I should do.
Enabled app insights on php project, it is working on host machine. However, during running the same code on local box getting following error: [seems some IIS config issue or update not sure]
Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 0: The cURL request was retried 3 times and did not succeed. The most likely reason for the failure is that cURL was unable to rewind the body of the request and subsequent retries resulted in the same error. Turn on the debug option to see what went wrong. See https://bugs.php.net/bug.php?id=47204 for more information. (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in ....\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 186
and
Warning: curl_setopt_array(): Unable to create temporary file. in ....\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 56
Trace:
trace while running an application from IIS
check the plugins and look through the debug.log file in wp-content and most likely it is a plugin that is causing this issue. I found that Mailjet causes this issue when unconfigured. Simply activate the plugins found in the error log and this will help solve it. The Microsoft version of cURL in PHP will throw the error and the Linux variant will not.
It is possible to use the AWS SQS (php) in mac(apache2 server).
I got the below error when try locally,
Uncaught exception 'cURL_Exception' with message 'cURL resource: Resource id #44; cURL error: Could not resolve host: https (cURL error code 6). See http://curl.haxx.se/libcurl/c/libcurl-errors.html for an explanation of error codes.https://' in...
Yes, its definitely possible to use SQS from localhost - I do it all the time.
I am new to using google calendar api and I need help with this issue. I worked on a php code, let us call this cal.php, and I opened it up on my website. On my website, I get this error, Fatal error: Uncaught exception 'Exception' with message 'Google CurlIO client requires the CURL PHP extension' in my directory.
To fix this issue, I downloaded curl and in my command line, when I type 'curl', I don't get an error message. However, the problem occurs when I ssh into my website and try typing in the word curl. I get this message curl: command not found. I tried putting my curl.exe and libssh2.dll in my website directory but that didn't work out. Any help is appreciated.
I have a windows 8 and I have php but I use iis 8.
Have you checked the php.ini file - make sure there is not a semi colon before the following line.
extension=php_curl.dll
So i'm using MongoLab as my DB Host and recently I have been running into this issue. Whenever I load up my application for the first time with a cleared cache on the first run, I receive this error message:
Fatal error: Uncaught exception 'MongoCursorException' with message
'couldn't send query: Connection reset by peer'
After I refresh the page again and the application loads without any issues. I was wondering if anyone knew the reason for this error or had any fixes to resolve this.
Thanks and Happy Holidays.
Where are you hosting your app code?
What is likely happening is that the first connection is taking a while (longer than the set timeout) to connect to the MongoLab host. The connection is then established so that the second request uses it.