Jun 24, 2023
0
Level 1
Pusher error: cURL error 35: error:0A000410:SSL routines::sslv3 alert handshake failure
My websocket works perfectly on local, why does it returns this error in my vm/prod?
broadcast.php
'pusher' => [
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
'cluster' => env('PUSHER_APP_CLUSTER'),
'host' => '127.0.0.1',
'port' => 6001,
'scheme' => 'https',
'useTLS' => false,
'curl_options' => [
CURLOPT_SSL_VERIFYHOST => 0,
CURLOPT_SSL_VERIFYPEER => 0,
]
],
'client_options' => [
// for self signed ssl cert
'verify' => false, // <- Added this
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
],
.env
PUSHER_APP_ID=myid
PUSHER_APP_KEY=mykey
PUSHER_APP_SECRET=mysecret
PUSHER_APP_CLUSTER=mt1
Please or to participate in this conversation.