Open pknad505 opened 4 years ago
https://stackoverflow.com/questions/57360229/cant-remove-laravel-database-prefix-from-channel
Try removing the prefix worth a shot. Also after I clear pretty much every cache the app picks up the change of channel name when start up the server. https://tecadmin.net/clear-cache-laravel-5/
I'm attempting to use laravel-echo-server however I'm getting a roadblock where the client-side doesn't appear to be getting any broadcasted events.
Everything seems to be connected fine and socket.io server is reporting that it's connecting and authorising the user however when I broadcast a message nothing seems to happen. The event is appearing on Laravel Horizon but otherwise, nothing happens. Here is my code:
server.js to run the laravel-echo-server:
My channel in channel.php
My event:
My event listener within app.js
Lastly the route sending the message:
It does out put in the laravel-echo-server console this: