apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
63.04k stars 13.96k forks source link

Loads Frame but fails load content of DASHBOARD, @superset-ui/embedded-sdk #24227

Closed pavanshetty94 closed 8 months ago

pavanshetty94 commented 1 year ago

I have a superset application up and running in Ubuntu server.

I have made required configuration in _Supersetconfig.py file for DASHBOARD to embed in My application[Angular page], I have created a user with role : GAMMA, PUBLIC and

Able to get create CRSI and guest token for embedded function,

I'm using CDN [https://unpkg.com/@superset-ui/embedded-sdk] to embed my dashboard.

with ` ` The script loads the IFRAME to my angular page, and a superset loading screen will be seen for few seconds but it just calls /role API and stops after that..!!

image

Please can anyone explain what I'm missing.?

Nisden commented 1 year ago

Are you a 100% certain you don't have a trailing slash in the supersetDomain?

huamichaelchen commented 1 year ago

It's hard to infer what is actually going on without seeing the error logs.

But I wrote a guide on it, hopefully, it helps someone 😄 Choose your preferred media 😝

https://huamichaelchen.substack.com/p/end-to-end-example-of-setting-up

https://medium.com/@huamichaelchen/end-to-end-example-of-setting-up-superset-embedded-dashboard-f72fc985559

rusackas commented 8 months ago

Hopefully, the answers above are sufficient to close this thread. I'll do so anyway since it's been so long since there was a comment here. If this needs revisiting/reopening, just say the word.