-
Notifications
You must be signed in to change notification settings - Fork 115
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
503 ERROR on paths with parameters inside #2083
Comments
App ARN: |
Hi, thanks for your information. Could you check Lambda@Edge logs in your account? For SSR app, we'll rewrite the request to the distribution in your account (You can get details from logs in |
Hi, Thanks for the reply. You want the logs from cloudfront? From what I see, I only have one log group that has lambda edge inside its name, and it is I may be completly off track here. If so, could you provide me some steps to reproduce to see the logs? Thanks! |
In the deploy phase, here are my logs:
|
Hi, I think you might need to go to region us-east-2 and the log group is |
I'm getting this same error as well, I checked cloudwatch logs and this is the error I see
|
@victorccccc I don't have logs since august 😞 I'm not sure if these are the right logs though |
For customers with deployed Amplify apps that are using Next.js 11 and earlier, we have an FAQ guide for how to find the Lambda Edge logs: https://github.com/aws-amplify/amplify-hosting/blob/main/FAQ.md#access-lambda-edge-logs We've since launched support for Next.js 12 and 13: https://aws.amazon.com/about-aws/whats-new/2022/11/aws-amplify-hosting-support-next-js-12-13/ If you are using later versions of Next.js, please take advantage of our new launched support by migrating your application: https://docs.aws.amazon.com/amplify/latest/userguide/update-app-nextjs-version.html |
|
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. |
Please describe which feature you have a question about?
I am using a custom domain with amplify (https://dev.sportfolios.app/), and all my routes that are well specified in my router works well. However, whenever there is a param inside, it seems to break. For example,
https://dev.sportfolios.app/:id
, or with this actual route: https://dev.sportfolios.app/7f2cfa7e-d561-4b95-be13-0c37c3623bc5.This leads me to this view.
From the logs, I see two options:
Provide additional details
This is a next.js project, using React + react-router. My application is SSR.
My amplify.yml.
This is my current redirect configuration
I've also tried this redirect configuration
Which leads me to this view instead
What AWS Services are you utilizing?
I am using Amazon Amplify, which should be the only thing necessary here. I also have a working environment on EC2 (which I am trying to migrate from) and it all works well there.
Provide additional details e.g. code snippets
Let me know if there are additional details needed here!
The text was updated successfully, but these errors were encountered: