Laravel-WebSockets-Chat-Example
Laravel-WebSockets-Chat-Example copied to clipboard
problem in websockets key
why when i serve the websockets its give me this error
Exception BeyondCode\LaravelWebSockets\WebSockets\Exceptions\UnknownAppKey
thrown: Could not find app key
anyKey.
Unknown app id: exception BeyondCode\LaravelWebSockets\WebSockets\Exceptions\UnknownAppKey
thrown: Could not find app key
anyKey.
.
Hi,
- Check to make sure your public/js/app.js find anyKey world , and replace anyKey to PUSHER_APP_KEY
You need to check your .env and change:
BROADCAST_DRIVER=log
to
BROADCAST_DRIVER=pusher
what should i do with this issue? Please help Illuminate \ Broadcasting \ BroadcastException auth_key should be a valid app key.
Hi every one. I had this problem. I suggest you to try this: https://github.com/qirolab/Laravel-WebSockets-Chat-Example/issues/5#issuecomment-718097138 it may help you!
Thank you modavidc now it works for me
You need to check your .env and change:
BROADCAST_DRIVER=log
to
BROADCAST_DRIVER=pusher
Thank you modavidc now it works for me