SQS timeout
#1110
Replies: 1 comment 3 replies
-
|
Seeing your previous question about RDS, I suppose your web lambda function is in a VPC with your RDS instance. When in a VPC, a Lambda function cannot access the internet which it needs to reach the SQS API to post a message to the queue. The timeout you're seeing is probably because you haven't configured a NAT gateway to enable internet access for your Lambda function. See this link for more information on this: https://bref.sh/docs/environment/database.html#accessing-the-internet |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using the laravel from queue example (https://github.com/brefphp/examples/tree/master/Laravel/queues).
Try to access the route but hit the timeout.
When I checked the cloudwatch:
Check on the SQS but there is no messages.
I think the job function is very basic but why I still got the timeout.
for the IAM policy, already give full access to the SQS and lambda.
Pls help, thanks
Beta Was this translation helpful? Give feedback.
All reactions