I has an error when I try to broadcast on channel
Pusher error: cURL error 35: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://127.0.0.1:6001/apps/1234/events?auth_key=1234&auth_timestamp=1657903485&auth_version=1.0&body_md5=8dc41d7541776abcec80f03003969cf1&auth_signature=c55045c13d8186478889252fcecc021542b3e73854771a1f5bca0c870613eb3f. {"exception":"[object] (Illuminate\Broadcasting\BroadcastException(code: 0): Pusher error: cURL error 35: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://127.0.0.1:6001/apps/1234/events?auth_key=1234&auth_timestamp=1657903485&auth_version=1.0&body_md5=8dc41d7541776abcec80f03003969cf1&auth_signature=c55045c13d8186478889252fcecc021542b3e73854771a1f5bca0c870613eb3f. at /var/www/obelisk/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php:128)
I already started the server
enter image description here
When I try to connect to it it isn’t work if I used ssl configuration
enter image description here
I used for configuration
'local_cert' => '/etc/letsencrypt/live/obeliskapp.com/fullchain.pem',
'local_pk' => '/etc/letsencrypt/live/obeliskapp.com/privkey.pem',
Conclusion :
It is working if I didn’t use ssl certificate and when I try make it secure it isn’t work , can you help me for this issue.
hint: I updated the curl and when I try to use the full domain instead off 127.0.0.1 it can’t connect from the start .
Thanks
I have a form with google recaptcha (if it does anything to do with this error) in my website. I'm running this project locally and sometimes get this error:
ConnectException in CurlFactory.php line 186:
cURL error 28: SSL connection timeout (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
When I refresh the form this error disappears. I checked some solution on stackoverflow and added set_time_limit(0); in my form handling controller but it didn't work
I am trying to setup Instant Payment Notifications in paypal and am having trouble with POSTing back to tls://www.sandbox.paypal.com during the verification phase.
I am using the code found here: https://developer.paypal.com/docs/classic/ipn/gs_IPN/
Yet, when I try to connect I am receiving these errors:
PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure in /htdocs/test.php
fsockopen(): Failed to enable crypto in /htdocs/test.php
I have read the info here and it seems that I am trying to connect using the wrong protocol or I have the wrong cert installed. My OpenSSL is version 1.0.1e.
Unfortunately, I have no idea how to debug this or install the correct cert if necessary
You don't need to install an SSL certificate. It's just that the software stack on your server needs to be updated.
Check this guide on the POODLE Vulnerability for more details.
I am making following request which resulted empty reply from server.
Originate server : AWS ec2 / PHP 5.4 / Guzzle
Remote server : AWS ec2 through elb
CURL info :{
"url":"https:\/\/xxx\/xxx",
"content_type":null,
"http_code":0,
"header_size":0,
"request_size":5292,
"filetime":-1,
"ssl_verify_result":0,
"redirect_count":0,
"total_time":120.987057,
"namelookup_time":0.000277,
"connect_time":0.001504,
"pretransfer_time":0.014271,
"size_upload":2430,
"size_download":0,
"speed_download":0,
"speed_upload":20,
"download_content_length":-1,
"upload_content_length":2430,
"starttransfer_time":60.998147,
"redirect_time":59.988895,
"certinfo":[],
"primary_ip":"54.169.126.111",
"primary_port":443,
"local_ip":"192.168.2.111",
"local_port":39522,
"redirect_url":""
}
CURL error : [curl] 52: Empty reply from server [url] https:\/\/xxx\/xxx
Pls note that this does not happen all the time.
It seems like the request has not even reach the destination(elb) since there was no logs relate to the request
1. Is the issue with originate server or remote server ?
2. "starttransfer_time":60.998147 Could this be the root cause ?
Solutions,workarounds,suggestions are welcome.Thanks!
As it seems request never reached the server,
Check for network errors. Any TCP re-transmission/timeout or any errors. As you mentioned no reply means is it TCP timeout?
Run a tcpdump and analyse traces based on that you can decide.
Additionally you can enable log level in both applications in Originate and Remote servers.
Check for error patterns, ex: is it because of high load?
In my case "empty answer from server" was caused by exhausted memory on the remote server. In this case fatal error was thrown and request was terminated.
Debugging cURL with curl_setopt($h, CURLOPT_VERBOSE, true); did not help since there was only "Connection died, retrying a fresh connect" and then "Empty reply from server". We had to debug it on remote server's side.
I just follow same code from Facebook SDK example.
If FB App point to my local desktop, it will get Facebook uid and user basic information (ex email) if APP get permission from OAUTH request.
But when I upload files to server, executing $facebook->api('/me');
Fatal error: Uncaught CurlException: 28: connect() timed out! thrown in
/xxx/src/facebook.php on line 622
I still can't figure out why. It comes from CURL or SSL setting?
My remote server support SSL and CURL is enabled. My local is only CURL but no SSL support.
I think my Facebook SDK is old version, only facebook.php without base_facebook.php.
I try to use new version but can't run any program because crt error.
You get this error because your host cannot access the Facebook API. It might have an old version of Open SSL, can you check the current version on the server?
Try to connect using SSL from your local setup as well as it might be easier to debug on your local machine.
Also, see about that crt (CRC?) error and try to fix that first (don't shave too many Yak's though).