Skip to content
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.

503 Error when first deploy #849

Closed
levu304 opened this issue Dec 18, 2020 · 2 comments
Closed

503 Error when first deploy #849

levu304 opened this issue Dec 18, 2020 · 2 comments

Comments

@levu304
Copy link

levu304 commented Dec 18, 2020

Describe the bug

Hi i'm new with serverless-next.js. Today I tried to first deploy using serverless
When i created new create-next-app and deployed, it worked well
Then i tried deploy in my company Next application, it throws 503 error page

Steps to reproduce

1- Config serverless.yml
2- Set .env AWS key
3- Try npx serverless
3- Deploy success
4- Click on cloudfront URL response 503 error page

Screenshots/Code/Logs

yml
env
next_config
packagejson
503

  • OS/Environment: Windows 10 - Nodejs 12
  • @sls-next/serverless-component version: 1.18.0
  • Next.js version: 10.0.0
@dphang
Copy link
Collaborator

dphang commented Dec 18, 2020

Please look in CloudWatch logs and post the details of the error - The CloudFront 503 error page is very generic and won't tell why it is failing. I suspect it may be related to next-i18next package not able to find files. If so, please see here for more details on how to fix: #767

@dphang
Copy link
Collaborator

dphang commented Jan 10, 2021

Closing stale issue, please let us know in case there are further issues. Thanks!

@dphang dphang closed this as completed Jan 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants