Description:
Currently my queue worker using bref is getting:
Fatal error: Illuminate\Container\EntryNotFoundException: Bref\LaravelBridge\Queue\QueueHandler in /var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php:841
constructs:
jobs:
type: queue
worker:
handler: Bref\LaravelBridge\Queue\QueueHandler
runtime: php-84
timeout: 300
memorySize: 2048
using php-84 layer version 19
bref version 2.4.1
laravel bridge 2.5.6
2025-04-11T14:59:43.565+01:00
INIT_REPORT Init Duration: 1272.80 ms Phase: init Status: error Error Type: Runtime.NoSuchHandler
2025-04-11T14:59:44.172+01:00
Fatal error: Illuminate\Container\EntryNotFoundException: Bref\LaravelBridge\Queue\QueueHandler in /var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php:841
2025-04-11T14:59:44.172+01:00
{"message":"Bref\LaravelBridge\Queue\QueueHandler","type":"Illuminate\Container\EntryNotFoundException","stackTrace":["#0 /var/task/vendor/bref/laravel-bridge/src/HandlerResolver.php(46): Illuminate\Container\Container->get('Bref\\LaravelBri...')","#1 /var/task/vendor/bref/bref/src/FunctionRuntime/Main.php(30): Bref\LaravelBridge\HandlerResolver->get('Bref\\LaravelBri...')","#2 /opt/bref/bootstrap.php(21): Bref\FunctionRuntime\Main::run()","#3 {main}"]}
2025-04-11T14:59:44.172+01:00
The function failed to start. AWS Lambda will restart the process, do not be surprised if you see the error message twice.
2025-04-11T14:59:44.188+01:00
INIT_REPORT Init Duration: 560.32 ms Phase: invoke Status: error Error Type: Runtime.NoSuchHandler