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

rewrite from one amplify site to another and 403 #519

Closed
smakinson opened this issue Mar 16, 2020 · 8 comments
Closed

rewrite from one amplify site to another and 403 #519

smakinson opened this issue Mar 16, 2020 · 8 comments
Labels
archived This issue has been locked. bug Something isn't working investigating
Projects

Comments

@smakinson
Copy link

smakinson commented Mar 16, 2020

** Please describe which feature you have a question about? **
I'm trying to add a rewrite under a main website Amplify app to another that generates a custom rss feed using hugo and I am seeing a 403. Perhaps I am missing something. Is it allowed to proxy between amplify apps this way?

** Provide additional details**
The rewrite:

source: /rss
target address: https://master.some_app_id.amplifyapp.com/index.xml
type: 200(Rewrite)
country code: not set

The rewrite points directly at the url that should come through but I see a 403:
403 ERROR
The request could not be satisfied.
Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

The rss generating site has one rewrite set up:
source: /<*>
target: /index.xml
type: 200(Rewrite)
country code: not set

but I have also tried it with no rules and see the same result.

Am I missing something simple?

@swaminator
Copy link
Contributor

#445

@kahdojay kahdojay added the bug Something isn't working label Mar 17, 2020
@kahdojay
Copy link
Contributor

@smakinson thanks for reporting this - we're actively investigating. Are you able to workaround with a 302 redirect in the meantime?

@smakinson
Copy link
Author

@kahdojay I am able to wait for a bit while its resolved since I am also waiting on #91 Thank you for investigating!

@stefangomez
Copy link

Having same problem here where a redirect won't work for us. we need the domain to stay the same.

@alimoeeny
Copy link

Any updates on this would be very much appreciated :)

@litwicki litwicki added this to To do in Bug Bash via automation Oct 29, 2020
@Athena96
Copy link
Contributor

Hi @smakinson this issue has been fixed, please feel free to re-open if you are still having trouble, thanks!

@shellscape
Copy link

@Athena96 it'd be great to link to the commit or PR that fixed it. otherwise it's not a helpful close.

@github-actions
Copy link

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 Oct 29, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 29, 2022
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 investigating
Projects
Development

No branches or pull requests

7 participants