Illuminate \ Broadcasting \ BroadcastException No message

依然范特西╮ 提交于 2020-06-12 04:57:18

问题


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

来源:https://stackoverflow.com/questions/55732030/illuminate-broadcasting-broadcastexception-no-message

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!