Laravel-5.3-and-Vue-js-2.0-social-network icon indicating copy to clipboard operation
Laravel-5.3-and-Vue-js-2.0-social-network copied to clipboard

Pusher : Couldn't get auth info from your webapp : 404

Open yash2code opened this issue 8 years ago • 7 comments

yash2code avatar Jan 17 '17 17:01 yash2code

Did you activate your BroadcastServiceProvider class ?

bahdcoder avatar Jan 17 '17 18:01 bahdcoder

Sorry, but how to activate?

yash2code avatar Jan 17 '17 18:01 yash2code

In config/app.php , the BoradcastServiceProvider is commented out in the providers array. remove the comments. You should follow the youtube series

bahdcoder avatar Jan 17 '17 18:01 bahdcoder

its already activated :(

yash2code avatar Jan 17 '17 18:01 yash2code

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

yash2code avatar Jan 17 '17 18:01 yash2code

ok, still what maybe the cause?

yash2code avatar Jan 17 '17 18:01 yash2code

@yash2code First make sure you also install the pusher-js package after laravel-echo So, npm install --save pusher-js

Afterwards, you have to go to bootstrap.js and insert import Pusher from 'pusher-js' right below require('noty');

Laravel Mix is a pain.

rtd62 avatar May 03 '17 15:05 rtd62