i am trying to deploy my laravel app which uses laravel reverb on railway but i keep getting an error related to pusher
Pusher\Pusher::__construct(): Argument #1 ($auth_key) must be of type strin
g, null given, called in /var/www/html/vendor/laravel/framework/src/Illumin
ate/Broadcasting/BroadcastManager.php on line 341
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
i am trying to deploy my laravel app which uses laravel reverb on railway but i keep getting an error related to pusher
Pusher\Pusher::__construct(): Argument #1 ($auth_key) must be of type strin
g, null given, called in /var/www/html/vendor/laravel/framework/src/Illumin
ate/Broadcasting/BroadcastManager.php on line 341
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Share
Improve this question
asked Mar 23 at 11:48
Oseahumen AgboifohOseahumen Agboifoh
1
1 Answer
Reset to default 0Make sure that you have installed Reverb and filled the Reverb variables in your .env
file and that the broadcast driver is set to Reverb.
Install Reverb in Laravel
php artisan install:broadcasting
Configure .env
file
BROADCAST_CONNECTION=reverb
REVERB_SERVER_HOST=127.0.0.1
REVERB_SERVER_PORT=8080
REVERB_APP_ID=app_id
REVERB_APP_KEY=your_key
REVERB_APP_SECRET=your_secret_key
REVERB_HOST=your_server
REVERB_PORT=80
REVERB_SCHEME=http
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744287909a4566887.html
评论列表(0条)