Closed EdwinDayot closed 5 years ago
Hmm, thanks for the notification, I will check this tomorrow!
Hmm, I tried this both in Laravel 5.4.16 and Lumen 5.4.5 - it worked fine in both.
Where did you get Lumen 5.4.13? I don't see it in releases on GitHub: https://github.com/laravel/lumen-framework/releases
My bad, it was 5.4.5, I'll update the issue.
Maybe I'm not doing the right things to make it work:
bootstrap/app.php
:
$app->register(Dusterio\AwsWorker\Integrations\LumenServiceProvider::class);
My config/queue.php
is properly configured (with env variables) and I use this:
event((new MyEvent($myParams)));
I should probably make some precisions: the MyEvent class implement
s the ShouldBroadcast
interface
since I want this event to be broadcast through Pusher. Following the "Event Broadcasting" section of Laravel's documentation, the event should be pushed to (default or selected) queue.
Maybe I'm not using the right library since it was initially developed for Jobs and not Events ?
Any news about this issue ?
@EdwinDayot well, I couldn't reproduce this :/ maybe it's related to your app or your specific use? Sounds like a recursive loop somewhere?
My Lumen (5.4) also has this problem.
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 8031165417414817424 bytes) in C:\Apache24\htdocs\lirico\vendor\laravel\lumen-framework\src\Concerns\RegistersExceptionHandlers.php on line 47
Hi,
After an update of my composer dependencies (Lumen 5.4.5 and others), it appears that laravel-aws-worker library does not work anymore.
Homestead result
I tried to simulate (including headers and body as expected) the behavior of the SQS and the response leads into the Maximum function nesting level reached:
XDebug disabled
Fatal error: Maximum function nesting level of '512' reached, aborting! in /home/vagrant/my-project/vendor/illuminate/container/Container.php on line 645
Fatal error: Maximum function nesting level of '512' reached, aborting! in /home/vagrant/my-project/vendor/laravel/lumen-framework/src/Concerns/RegistersExceptionHandlers.php on line 53
XDebug enabled
As you can see, 23 to 39 methods calls are making an infinite loop of this:
AWS result
Just an empty response with HTTP 500 Status code (with an execution time of 1700ms probably because of the following logs).
var/log/httpd/error_log
file:Since I don't know where the issue is coming from, I can't fix it nor making a pull request. The issue can also come from my side but it seems that the whole error comes from the core of Lumen and this dependency.
This may be the same issue as #13 except that, in my case, the body is properly filled:
Thank you in advance for your help !