Closed mathewparet closed 4 years ago
Wondering if anyone got a chance to look into this?
You specified the scheme as https
in broadcasting, but you are not using HTTPS by providing the certificates in the websockets.php
?
Yes I have configured the certificates in the .env file and it is detected just fine.
I can see Echo is able to connect to the webservice. The problem I am facing is that when the event with broadcast is raised, it get the below error
Failed to connect to Pusher when using WebSockets
This issue is not related to the package itself, it's just some misconfiguration for the broadcasting driver. Make sure your configuration is not cached: php artisan config:clear
Yes I have configured the certificates in the .env file and it is detected just fine.
I can see Echo is able to connect to the webservice. The problem I am facing is that when the event with broadcast is raised, it get the below error
Failed to connect to Pusher when using WebSockets
I got the same problem, did you resolved it?
This issue is not related to the package itself, it's just some misconfiguration for the broadcasting driver. Make sure your configuration is not cached:
php artisan config:clear
You literally just confirmed it wasn't the configuration problem you thought it was. Then went ahead and close the issue?
Issue When invoking event with broadcast enabled, it fails with "Failed to connect to Pusher when using WebSockets"
config/broadcasting.php
config/websockets.php
Websocket receives connection, and subscription is success:
Event with broadcast:
The event is triggered, but I get the below error: