Laravel pusher Illuminate \\ Broadcasting \\ BroadcastException No message

爱⌒轻易说出口 提交于 2019-12-06 13:15:23

i solve my problem by : making the encrypted: false

Add curl options to broadcasting.php

`'pusher' => [
                'driver' => 'pusher',
                'key' => env('PUSHER_APP_KEY'),
                'secret' => env('PUSHER_APP_SECRET'),
                'app_id' => env('PUSHER_APP_ID'),
                'options' => [
                    'cluster' => env('PUSHER_APP_CLUSTER'),
                    'encrypted' => true,
                    'curl_options' => [
                        CURLOPT_SSL_VERIFYHOST => 0,
                        CURLOPT_SSL_VERIFYPEER => 0,
                    ]
                ],`
Franz

I solved my problem by setting my .env file

Set:

APP_URL=http://localhost
DB_HOST=localhost

And run

php artisan config:cache
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!