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

[Bug]: API GW is reporting CORS issues in EMIT-DEV #482

Open
anilnatha opened this issue Sep 24, 2024 · 1 comment
Open

[Bug]: API GW is reporting CORS issues in EMIT-DEV #482

anilnatha opened this issue Sep 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@anilnatha
Copy link

Checked for duplicates

Have you checked for duplicate issue tickets?

Yes

Describe the bug

When I deployed the unity-ui application to the emit-dev venue, the application calls the production instance of API GW and reports a CORS issue.

What did you expect?

A clear and concise description of what you expect to happen

I did not expect API GW to report a CORS error since the request is originating from a known unity domain (www.mdps.mcp.nasa.gov)

Reproducible steps

  1. Open your browser's dev tools,
  2. Navigate to https://www.mdps.mcp.nasa.gov:4443/emit/dev/dashboard (fyi, at the time of writing this ticket we were experiencing intermittent 504 issues in the emit-dev venue)
  3. The UI will redirect to the cognito login so you can login (again, at the time of writing this ticket, we were experiencing 504 timeouts after login)
  4. if you are successfully redirected back to the UI application after login, observe in the dev tools that a CORS issue is reported for the API (see screenshot)
image

What is your environment?

This occurred in the emit-dev venue

@anilnatha anilnatha added the bug Something isn't working label Sep 24, 2024
@anilnatha anilnatha changed the title [Bug]: [Bug]: API GW is reporting CORS issues in EMIT-DEV Sep 24, 2024
@anilnatha
Copy link
Author

I tested the API using Postman and the response I received leads me to believe that the health check API may not yet be deployed to the EMIT DEV venue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant