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

Error 502 after adding storage and functions #13535

Closed
2 tasks done
ianclark84 opened this issue Jan 15, 2024 · 2 comments
Closed
2 tasks done

Error 502 after adding storage and functions #13535

ianclark84 opened this issue Jan 15, 2024 · 2 comments
Labels
pending-triage Issue is pending triage

Comments

@ianclark84
Copy link

How did you install the Amplify CLI?

NPM

If applicable, what version of Node.js are you using?

21.5.

Amplify CLI Version

12.10.1

What operating system are you using?

Windows

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No

Describe the bug

On two separate projects now I've suddenly seen Error 502 when loading the site hosting with Ampilfy hosting, seemingly out of nowhere. I just started a new project this morning to and was adding basic features like functions and storage. Hosting was working perfectly fine beforehand, and then after adding a couple of Functions and Storage I started getting Error 502 again. I removed those resources but the issue with Hosting remains.

Expected behavior

I expected no compromise to the Hosting service after adding Storage and Functions.

Reproduction steps

I don't know what caused this. One minute everything was fine, then after making very ordinary updates to project I started getting Error 502 on the hosting.

Project Identifier

57bedee65270cb8b99ef67b917be3c38

Log output

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.
@ianclark84 ianclark84 added the pending-triage Issue is pending triage label Jan 15, 2024
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please 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.

@ianclark84
Copy link
Author

This had something to do with rewrites and redirects. I removed those and it resolved. I had

</^[^.]+$|.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|woff2|ttf|map|json|webp)$)([^.]+$)/> redirectng to ./index.html which has never been an issue in the past but something is different with this project, presumably requiring a new redirect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-triage Issue is pending triage
Projects
None yet
Development

No branches or pull requests

1 participant