Q:

http://localhost:8000/broadcasting/auth 404 (Not Found)

I am trying to make my app app connect to pusher on a private channel.
But  I am getting the following error:

pusher.js?b3eb:593 POST http://localhost:8000/broadcasting/auth 404
  (Not Found)

What maybe the cause of the error and how to resolve it.

A:

Look in config/app.php if you have uncommented 
App\Providers\BroadcastServiceProvider::class,

A:

There are two Service Providers with Same name but different namespace in config/app.php
Illuminate\Broadcasting\BroadcastServiceProvider::class,

App\Providers\BroadcastServiceProvider::class,

So uncomment both of them. It will work.

A:

Hope your base url is wrong try to hardcore your base url like below
window.Echo = new Echo({
   authEndpoint : 'http://*******/public/broadcasting/auth',
    broadcaster: 'pusher',
    key: '********',
    cluster: '***',
    encrypted: true
});

