Private Channels not working #8
Comments
Are you using the private() method? https://laravel.com/docs/5.3/broadcasting#listening-for-events |
Yes I am. |
My server console shows
Sorry, i forgot to add "App\Providers\BroadcastServiceProvider::class" to my config/app.php Providers. |
@MadScripter are you setting up your broadcasting authentication properly in Laravel? The event will be emitted in the Redis console, but you won't be able to listen if you aren't properly authenticated to the private channel. |
Yes I doubled checked everything and it should all be setup correctly. The NodeJS server throws a 302 error everytime I try to broadcast to the private channel :/ The host and the authPath are correct in the options, I even tried to reinstall laravel, but nothing works.. |
I know this doesn't help you @MadScripter but I definitely have private channels working using this script, a laravel 5.3 installation and node 5 (see my other comments about this). There's obviously just some very small detail that needs to be tweaked. |
1.0 is now released, please test that version and if this issue exists reopen. Thanks |
Hello, I'm using this package with Redis. When I use normal channels like
Echo.channel('users').listen('UserSignedUp')
I do receive the event client side, but when I use private channels, nothing happens. Even though I see that the event was fired in the Redis console.I'm not sure if this is a problem with this package or with Echo itself. I wonder if someone else is having the same issue?
The text was updated successfully, but these errors were encountered: