Replies: 8 comments 20 replies
-
Can you make sure you are using the latest versions of Bref and the Laravel bridge? This should be the first version btw, not the second. |
Beta Was this translation helpful? Give feedback.
-
I'm using:
I've just tested again with this code:
Then I've fetched the logs with
|
Beta Was this translation helpful? Give feedback.
-
Does this information help?
|
Beta Was this translation helpful? Give feedback.
-
All the problems above were solved after downgrading aws-sdk-php from |
Beta Was this translation helpful? Give feedback.
-
We are using PHP 7.3 and can't migrate to PHP 8 soon. The compatible versions for PHP 7.3 are As per the documentation, in serverless.yml, we have to provide below is my serverless.yml file provider: package: functions: constructs: plugins: What could be the issue? |
Beta Was this translation helpful? Give feedback.
-
@dnl4 I am seeing the same issue migration from bref v1. to v2. How did downgrading the PHP SDK help here, the page you linked returns a 404. Thanks! Bref: 2.1.3 |
Beta Was this translation helpful? Give feedback.
-
I'm hitting this issue at the moment and it has completely stumped me. What's really strange is that I have SQS queues working fine on another project with the same setup, and very similar versions of laravel/bref and laravel-bridge. I've compared these projects, as far as doing diffs on files like serverless-state.json, and the config of the queues really appears the same. I can successfully put a job on to the queue, but then when it gets processed I see in the Cloudwatch logs:
I'm pretty sure bref-init.php is running, as the logs include before the error
The rest of the application in general is working fantastically in production. I'm doing this work on a staging copy, but the setup is pretty much identical (and the staging application works fine too, it's just the queue handling). I can't think what else to check/upgrade/compare. |
Beta Was this translation helpful? Give feedback.
-
I had the same error message for another reason. So the problem in my case was my dockerfile was wrongly extending the Hope this will save some time to somebody else. |
Beta Was this translation helpful? Give feedback.
-
The docs example bellow give me an error:
Error:
Then I changed it to
Now I get the error:
Handler
/var/task/Bref\LaravelBridge\Queue\QueueHandlerdoesn't exist
Beta Was this translation helpful? Give feedback.
All reactions