php - Deploying Laravel app with reverb on railway - Stack Overflow

i am trying to deploy my laravel app which uses laravel reverb on railway but i keep getting an error r

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
Add a comment  | 

1 Answer 1

Reset to default 0

Make 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

相关推荐

  • php - Deploying Laravel app with reverb on railway - Stack Overflow

    i am trying to deploy my laravel app which uses laravel reverb on railway but i keep getting an error r

    7天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信