[HORIZON 4.3.3] Redis connection [horizon] not configured. #37998
Unanswered
Jonathanm10
asked this question in
Q&A
Replies: 1 comment
-
For anyone else debugging this, the horizon connection is created dynamically by copying the redis configuration set for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have some trouble understanding something about Horizon.
I have a Docker setup with basically three images, one with apache2, one with mysql and one with redis.
My
queue.php
,database.php
andhorizon.php
have all the defaults, just the REDIS_HOST is set to my docker redis host.The thing is that when trying to connect to horizon (
/horizon/api/masters
), I always get the error mentioned in the title. When looking up the code, I see that for instanceRedisMasterSupervisorRepository.php
, it forces the connectionhorizon
:Does it mean I should configure a horizon redis database in
database.php
? It doesn't say so in any documentation. Though I tried but unsuccessfully. The error disappear, but the connection stays "inactive".If I force the connection in
RedisManager.php
to bedefault
, I have everything working.Does any of you would know why is wrong with my setup?
Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions