FelixINX
4 months ago
858
7
Servers

Horizon is active but jobs not processing

Posted 4 months ago by FelixINX

Hi,

Since the last update to my app, my Horizon instance is not processing jobs, while being active. I have tried everything that I could think: change in config, reinstalling PHP, PHPredis, Redis but it just dosen't work. There is also no errors or information in my logs file.

Here is the variable I have set in my .env :

QUEUE_CONNECTION=redis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=[...]
REDIS_PORT=6379
REDIS_CLIENT=phpredis

Here is my Horizon configuration :

'environments' => [
        'production' => [
            'supervisor-1' => [
                'connection' => 'redis',
                'queue' => ['vehicles', 'notifications'],
                'balance' => 'simple',
                'processes' => 10,
                'tries' => 1,
            ],
        ],

        'local' => [
            'supervisor-1' => [
                'connection' => 'redis',
                'queue' => ['default'],
                'balance' => 'simple',
                'processes' => 3,
                'tries' => 1,
            ],
        ],
    ],

My config/database.phpand config/queue.php are the same as the original one. I am using PHP 7.4.4, Laravel 7.5.2, Horizon 4.2.1, Redis 5.0.8 and PhpRedis 5.2.1

Any ideas?

Thanks!

Please sign in or create an account to participate in this conversation.