-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
Embedded Dashboard 500 Error {{superser_domain}}/embedded/{{dashboard_id}}?uiConfig=1 #21146
Comments
My superset_config.py:
|
I am also facing same issue |
found any solution @progettoautomazione ? |
sadly no, as a workaround, we are using simple iframe embed so far.... |
@mahesh-kockpit @progettoautomazione This is caused by a later version of |
@cwegener thanks for your comment. I tried this but same issue can you please help us how to implement embedded feature of superset. |
I've encountered the same problem. Downgrading flask-login to 0.4.1 definitely fixed the problem for me. This OctoPrint issue confirms @cwegener 's comment about the |
up! |
Hi everyone, I understood that the issue has been recognised and probably fixed, but...where? I mean, I've the superset 2.0.0 version installed 7-8 months ago with a regoular pip install apache-superset |
I don't know which future release the fix will be included in @Delfins. In the meantime you can use the workaround by @cwegener. |
Thanks @Usiel but I'm a newbie of Python, how do I downgrade the flask version? |
Simplest way will be to adapt your pip install command to |
This is likely fixed by now, and is pretty out of date if not. If people are still encountering this in currently suppored versions (3.x or newer) please open a new Issue with updated context, or a PR to address the problem. |
Environment:
Superset 2.0.0
Python 3.8
Server Web: Apache
OS: Ubuntu 22
Hi everyone, great job guys, keep going because the tool is cutting edge. Thanks. I'm having a trouble in embedding a dashboard:
I followed all under https://www.npmjs.com/package/@superset-ui/embedded-sdk and https://medium.com/@khushbu.adav/embedding-superset-dashboards-in-your-react-application-7f282e3dbd88
and I created this simple page:
https://progestnow.com/superset.html
As you can see, auth appears going well, but the URL that gets generated gives 500 error: https://bi.progestnow.com/embedded/d4f94ba8-4737-42a4-913e-48e88829ae87?uiConfig=1
I checked the server logs and I found:
AttributeError: 'LoginManager' object has no attribute 'reload_user'
2022-08-22 10:38:52,595:INFO:werkzeug:92.53.59.220 - - [22/Aug/2022 10:38:52] "GET /embedded/d4f94ba8-4737-42a4-913e-48e88829ae87?uiConfig=1 HTTP/1.1" 500 -
Any idea why? Everything else on Superset looks great, I am not seeing any other 500 error that might led to misconfiguration of the tool. It's just this /embed/ route.
Thanks
The text was updated successfully, but these errors were encountered: