admin管理员组文章数量:1401777
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
本文标签: phpDeploying Laravel app with reverb on railwayStack Overflow
版权声明:本文标题:php - Deploying Laravel app with reverb on railway - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744287909a2598969.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论