Closed pankaj-mule closed 2 years ago
UI and API are hosted with same server with different subdomains
Hi @pankaj-mule 👋🏽 can you please provide an HAR capture for when you access the API through the redirects with the custom domain?
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.
hloriana, we are still facing issue, as you asked to share HAR, it may have sensitive information due to which we may not able to share any info
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.
Before opening, please confirm:
App Id
d2vlbywok6rbvz
Region
ap-northeast-1
Step
Custom Domain rewrite failing for some ISP
Status
Failed
Issue or question
I have hosted react application using amplify, which is working fine amplify domain, but with custom domain it wasn't working on few places. when we drilled down the issue it seems failing only when api's are called through rewrites added in App Setting.
API added in rewrite is pointing to backend system which is deployed in aws with route 53 configured to elb where it has hosted. Everything works fine with amplify url but failing only through custom domain
Error message
With custom domain,
same app same machine same api we getting ERR_HTTP2_PROTOCOL_ERROR for custom domain and not for amplify domain
Additional information
We didn't find any configurations to use same ssl as used for elb, downgrade http2 to http1.1, disable cors and other cloudfront configs
So tried to create seperate cloudfront which should be mapped to amplify app but it didn't worked as well