ks888 / LambStatus

[Maintenance mode] Serverless Status Page System
https://lambstatus.github.io
Apache License 2.0
1.3k stars 120 forks source link

I can't add Components #139

Open enrimr opened 6 years ago

enrimr commented 6 years ago

When I click con Add button, a pop up appears. Then I configure the name, click on Add and nothing happens.

ks888 commented 6 years ago

Thank you for the report. I launched a new stack, but I can't reproduce the issue.

Can you try it again while opening the browser's developer tool? The POST request to https://[your cloud front id].cloudfront.net/api/components should be sent.

enrimr commented 6 years ago

Hi!

Only the OPTIONS request is sent.

captura de pantalla 2018-10-25 a las 15 37 56
ks888 commented 6 years ago

Hmmm, that's strange.

It looks your 'Console' tab in the developer tool shows some error messages (6 errors and 3 warnings?). Can you share these messages?

enrimr commented 6 years ago

It seems that we forgot to configure something manually on our AWS account?

captura de pantalla 2018-10-25 a las 17 30 52
enrimr commented 6 years ago

It seems that we haven't configured the ApiGateway to allow CORS.

ks888 commented 6 years ago

It's like you access the status page using the custom domain, but the domain name of the API server is not same as the custom domain. So it violates the browser's same origin policy.

I'm not sure why it happens. Possible reasons are:

builtbyproxy commented 5 years ago

Can this be closed?