You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Job Queue to handle checkout request but it's not working as expected.
When I inject a dependency in the handle method, job failed again and again. Sometimes jobs are silently failed.
Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\CheckOutJob has been attempted too many times. in /var/www/gateway/vendor/laravel/framework/src/Illuminate/Queue/Worker.php:785
--
Stack trace:
#0 /var/www/gateway/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(519): Illuminate\Queue\Worker->maxAttemptsExceededException(Object(Illuminate\Queue\Jobs\RedisJob))
#1 /var/www/gateway/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(428): Illuminate\Queue\Worker->markJobAsFailedIfAlreadyExceedsMaxAttempts('redis', Object(Illuminate\Queue\Jobs\RedisJob), 1)
#2 /var/www/gateway/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(389): Illuminate\Queue\Worker->process('redis', Object(Illuminate\Queue\Jobs\RedisJob), Object(Illuminate\Queue\WorkerOptions))
Show All
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.
Laravel Version
10.4.1
PHP Version
8.2
Database Driver & Version
No response
Description
I am using Job Queue to handle checkout request but it's not working as expected.
When I inject a dependency in the
handle
method, job failed again and again. Sometimes jobs are silently failed.Dispatching Job
CheckOutJob.php
CheckOutAction.php
WalletService.php
Job Failed Error in Horizon
App\Jobs\CheckOutJob
RetryException
Exception Context
Data
Steps To Reproduce
The text was updated successfully, but these errors were encountered: