-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Error 401 : There was an issue fetching the favorite status of this dashboard #8121
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Did you run the superset init command? If you do not, you must execute the following command before running
|
Damn ! indeed. Thank you ! it fixed the issue. Additionally : would it be safe to run 'superset init' at each startup of any occurrence of running container ? (lke, by putting it in entrypoint or something ?) |
Default permissions will be created when superset init is performed. def init():
"""Inits the Superset application""
utils.get_or_create_main_db()
utils.get_example_database()
appbuilder.add_permissions(update_perms=True)
security_manager.sync_role_definitions() If you are using a single DB, have you modified the SQLALCHEMY_DATABASE_URI setting? |
indeed, SQLALCHEMY_DATABASE_URI points to an external DB, but each superset instances points to the same. (these superset instances are behind a load balancer, for redundancy, since sometimes they crash) |
Closing this, as anyway it's no more related to the initial issue. |
A clear and concise description of what the bug is.
When opening a dashboard, "There was an issue fetching the favorite status of this dashboard" appears at the bottom.
Looks like issue #6824 : same message displayed, but different "cause" : web console shows a 401 error (unauthorized), whereas in 6824 there was a https->http redirect which is now fixed.
Expected results
No warning message when opening a dashboard, favorite status managed without issue
Actual results
"There was an issue fetching the favorite status of this dashboard" appears at the bottom.
Error 401 in console.
Screenshots
How to reproduce the bug
Environment
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
Additional context
Running from a docker container, built using Dockerfile essentially identical to amancevice:superset one.
The text was updated successfully, but these errors were encountered: