Same issue here. Could you find a solution?
Horizon Job timeout issue
I am having a hard time with queues and horizon on Forge. On localhost everything works as expected. I have the same horizon config for environment where my app is running on Forge. Specifically:
'supervisor' => [
'connection' => 'redis',
'queue' => ['default'],
'balance' => 'simple',
'processes' => 21,
'tries' => 1,
'timeout' => 0,
],
My problem is jobs are throwing MaxAttemptsExceededException. " A queued job has been attempted too many times or run too long. The job may have previously timed out."
I created testing job where I just sleep it for 70 seconds and then throws "I woke up" exception. On localhost after 70s I get the exception, on forge server I get timeout error.
What should I do in order to get rid of this timeouting? Do I need to run a worker? I thought that setting php artisan horizon deamon is enough.
Thanks for your help.
Please or to participate in this conversation.