aws-solutions / connected-mobility-solution-on-aws

Accelerate development and deployment of connected vehicle assets with purpose-built, deployment-ready accelerators, and an Automotive Cloud Developer Portal (ACDP)
Apache License 2.0
18 stars 8 forks source link

Blank page on "CMS Vehicle Simulator on AWS" Cloudfront URL after setting up the implementation guide #21

Closed XsarfrazX closed 8 months ago

XsarfrazX commented 8 months ago

What is your question? After following the guide to deploy ACDP and installing the CMS Vehicle Simulator on AWS - which shows successful deployment [1] in the portal. Upon clicking the link to service and accessing the cloudfront url for vehicle simulator, a blank page appears [2].

Are there any additional steps to properly install and view the frontend for this module?

[1] cms_error_1

[2] cms_error_2

mttwise commented 8 months ago

Hi @XsarfrazX, thanks for reporting the issue.

We have recently been made aware of this issue for anyone not based in the United States.
I first want to verify if you are in the US or not. If you are in the US, we can look further into what could be causing this error.

If you are not in the US, please go to the CloudFront distribution and update the geographical restrictions to include the country you are trying to access from.

image

If this does not resolve your issue, please let me know which AWS region you are deploying to so we can try to replicate it on our side.

Thanks, Matt

XsarfrazX commented 8 months ago

Hi @XsarfrazX, thanks for reporting the issue.

We have recently been made aware of this issue for anyone not based in the United States. I first want to verify if you are in the US or not. If you are in the US, we can look further into what could be causing this error.

If you are not in the US, please go to the CloudFront distribution and update the geographical restrictions to include the country you are trying to access from.

image

If this does not resolve your issue, please let me know which AWS region you are deploying to so we can try to replicate it on our side.

Thanks, Matt

Hi, Thanks for the reply. The whole solution is not deployed in US, but EU - to be exact in the AWS region eu-central-1

XsarfrazX commented 8 months ago

It was indeed the geographic location restriction, which was set to USA even with the deployment region being eu-central-1. Once removed, the page loads properly. Thanks for your help

mttwise commented 8 months ago

No problem! We will update our documentation with this information in the next release to help prevent this issue for others in the future.