1

I'm using Laravel echo locally hence using the

forceTLS: false

in bootstrap.js

window.Echo = new Echo({
    broadcaster: 'pusher',
    key: 'local',
    cluster: process.env.MIX_PUSHER_APP_CLUSTER,
    encrypted: true,
    disableStats: true,
    wsHost: window.location.hostname,
    wsPort: 6001,
    forceTLS: false,
});

but when I add the

forceTLS: false

code in the above code block I'm getting an error

InvalidArgumentException: Auth guard [admin] is not defined.

and when I comment it out, that error is not there anymore. I have tried

php artisan config:clear and php artisan config:cache

but I'm still getting the same error.

user3714932
  • 1,253
  • 2
  • 16
  • 29

0 Answers0