Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Echo.private() does not subscribe to the channel #28

Closed
Francismori7 opened this issue Aug 17, 2016 · 2 comments
Closed

Echo.private() does not subscribe to the channel #28

Francismori7 opened this issue Aug 17, 2016 · 2 comments

Comments

@Francismori7
Copy link

Here is my test case:

        Echo.private('App.User.' + this.user.id)
            .notification((notification) => {
                console.log(notification.type);
            });

        Echo.channel('test')
            .listen('Test', () => {
                console.log('Hi');
            });

In my dashboard, I can only see this:
image

The test channel is successfully subscribed as you can see. The private-App.User.2 is not. I am authenticating the request too using the default Broadcast::channel() call, the auth call is made by Echo properly too.

@Francismori7
Copy link
Author

My bad. Debugbar was appending some crap on the broadcasting/auth/ route response, which screwed with Pusher's authorization process...

@farshid-ahmadian
Copy link

@Francismori7 hi bro how you subscribe to privateChannel?
i have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants