I'm using Laravel websocket written by beyoundcode.
After couple of days, I've connected to myDomain.com/laravel-websockets
and first step solved.
But now, when I trigger an event
, laravel has error at this point:
/public_html/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php
**at line 117-(in my case)-**
this is my stacktrace screenshot:
I read these questions and issues but nothing worked for me:
Laravel Pusher exception: “Illuminate\Broadcasting\BroadcastException”
Exception: Illuminate \ Broadcasting \ BroadcastException No message in PusherBroadcaster.php:119
Laravel pusher Illuminate \ Broadcasting \ BroadcastException No message
But none of them did help to me.
I saw these issue
too:
PusherBroadcaster exception "Failed to connect to Pusher" when running in queue
and based on this comment, I updated my php.ini
file with this:
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
curl.cainfo ="/etc/pki/tls/certs/ca-bundle.crt"
these options tested too:
curl.cainfo ="/etc/pki/tls/cert.pem"
curl.cainfo ="/etc/pki/tls/certs/ca-bundle.crt"
I did test the scenario in localhost and everything seems to be good, I guess I have a problem with my ssl, so just for more detail I have to say I'm using a vps
that use linux centos7
and my control panel is directadmin
and I used letsencrypt
with my control panel to use https
.
Does anyone you know what's my problem?
Thanks in Advance