aws-samples / data-lineage-for-data-lake-example

MIT No Attribution
24 stars 24 forks source link

lineage visual application not showing graph #6

Closed PluckyTopCoder closed 1 year ago

PluckyTopCoder commented 1 year ago

I have encountered a couple of problems.

First, I got the "Invalid Host Header" error. I followed instructions here to fix it. https://github.com/gitpod-io/gitpod/issues/26

Then, it just displays a blank page.

Annotation 2023-03-21 143343

No graph is shown when I click any of the links at the top of the page.

I verified the API call is working fine.

Annotation 2023-03-21 143428

For some reason, the page is just not rendering the API responses. What did I miss?

PluckyTopCoder commented 1 year ago

After over a month's perseverance, I eventually figured this out by myself... It turns out to be a CORS issue. It's a little tricky because I put all this stuff behind an AWS Elastic Load Balancer. When I disable CORS in browser, the graphs are displayed without problem. I still need to find a better way to resolve the CORS issue, but that's irrelevant to this topic here.