Reputation: 2050
I successfully deployed an app on AWS with Laravel Vapor.
==> Ensuring Storage Exists
==> Ensuring Cache Table Is Configured
==> Updating Function Configurations
==> Updating Function Code
==> Running Deployment Hooks
==> Ensuring Rest API Is Configured
==> Ensuring Custom Domains Exist
==> Ensuring DNS Records Exist
==> Ensuring Mail Is Configured
==> Ensuring Scheduled Tasks Are Configured
==> Ensuring Queues Are Configured
==> Updating Function Aliases To New Version
Project deployed successfully. (1m26s)
=============== ===================================================
Deployment ID Environment URL (Copied To Clipboard)
=============== ===================================================
38261 https://clean-kyiv-40wzwvz1sutk.vapor-farm-a1.com
=============== ===================================================
However, when I go on the given link https://clean-kyiv-40wzwvz1sutk.vapor-farm-a1.com
I am getting 502 Error
After requesting the link I can see, on Vapor, in the Log
tab inside the staging environment next message.
What else should I check to resolve that issue?
Upvotes: 0
Views: 1468
Reputation: 337
Try increasing your deployment timeout if for some reason your code runs for longer than the default 10sec you will get this error from aws Lambda
environments:
production:
memory: 1024
cli-memory: 512
timeout: 120
Upvotes: 0