Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting today, Next.js deployed with amplify is showing an internal server error #3468

Closed
jangmang opened this issue May 8, 2023 · 6 comments
Labels
archived This issue has been locked. bug Something isn't working compute pending-triage

Comments

@jangmang
Copy link

jangmang commented May 8, 2023

No description provided.

@jangmang jangmang added bug Something isn't working pending-triage labels May 8, 2023
@jangmang jangmang changed the title Starting today, the site deployed with amplify is showing an internal server error Starting today, Next.js deployed with amplify is showing an internal server error May 8, 2023
@espenbye
Copy link

espenbye commented May 8, 2023

We have the same issue. Tried downgrading Next.js version, but that did not help.

Tried the following:

export NEXT_PRIVATE_STANDALONE=true
npm run build
cp -r .next/static .next/standalone/.next/static
cp -r public .next/standalone/public

node .next/standalone/server.js

It runs successfully locally, but not when deployed to Amplify Hosting.

AppId: d3pgmzdoktuvon
Environment: develop

Logs:

Field | Value
-- | --
@ingestionTime | 1683545776456
@log | 052097004422:/aws/amplify/d3pgmzdoktuvon
@logStream | develop/2023/05/08/80fb0d8d83e54c348a7c7467effb0013
@message | [x-amplify-log][INFO] app response status_code=500 Internal Server Error headers=date: Mon, 08 May 2023 11:36:12 GMT, connection: keep-alive, keep-alive: redacted (9), content-length: 21, x-amplify-internal-request-id: 8bc97529-bd84-4f38-aaf8-6e23736942f1, x-amplify-internal-metrics: RuntimeTotal;dur=302, RuntimeInitialization;dur=254, CustomerServerReadinessCheck;dur=244, CustomerServerCall;dur=44
@timestamp | 1683545772422

image

@abepuentes
Copy link

Same test and same results as @espenbye.

@Lezzio
Copy link

Lezzio commented May 8, 2023

What's your package manager ? Using pnpm with symlinks broke our apps. We're now using another mode to avoid symlinks as a hot fix #3467

@ghost ghost added the compute label May 8, 2023
@ghost ghost self-assigned this May 8, 2023
@ghost
Copy link

ghost commented May 8, 2023

This appears to be a duplicate of #3466. Please continue any further engagements on that issue. We will provide an update there shortly. Thank you for your patience!

@ghost ghost closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2023
@github-actions
Copy link

github-actions bot commented May 8, 2023

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@github-actions
Copy link

github-actions bot commented May 8, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the archived This issue has been locked. label May 8, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 8, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. bug Something isn't working compute pending-triage
Projects
None yet
Development

No branches or pull requests

4 participants