Skip to content
Advertisement

Illuminate Broadcasting BroadcastException No message

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:

JavaScript

this is my stacktrace screenshot:

stacktrace

I read these questions and issues but nothing worked for me:

Laravel Pusher exception: “IlluminateBroadcastingBroadcastException”

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:

JavaScript

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

Advertisement

Answer

In my case, the problem was solved when I put my cert keys to a path which apache could access to those files.

I did add curl options array with these values:

JavaScript

And then do not forget to:

php artisan cache:clear

php artisan config:clear

Hope this heal your headache because did mine.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement