I have a project that's hosted on AWS behind a load balancer that uses a Redis cluster. When trying to enable horizontal scaling and starting the reverb server, I'm getting this error:
Since the config uses a cluster setup (database.redis.clusters.default and database.redis.clusters.cache), the database.redis.default key doesn't exist, which is causing the null errors.
Reverb Version
1.0.0-beta7
Laravel Version
11.4.0
PHP Version
8.3.6
Description
I have a project that's hosted on AWS behind a load balancer that uses a Redis cluster. When trying to enable horizontal scaling and starting the reverb server, I'm getting this error:
Since the config uses a cluster setup (
database.redis.clusters.default
anddatabase.redis.clusters.cache
), thedatabase.redis.default
key doesn't exist, which is causing thenull
errors.Any help/guidance on this would be appreciated!
Steps To Reproduce
.env
:Since we use an AWS endpoint for the cluster, there is no
REDIS_URL
key.config/database.php
:Run
php artisan reverb:start