-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
superset can not login on browser #25471
Comments
Likely duplicate of #24579. The current state of Superset's default security settings may not work without a load balancer / reverse proxy in front of it that provides https. Could you read that thread and try the fixes, noting what works for you? Ideally a combination that lets you use Superset without completely disabling those security components. In particular I'm curious to hear back on whether adding |
Superset has too many bugs and too many strange behavior which not work as expected.
I'm cofused about before version release, there is nothing test from install to running es expected? if has, why the document not accurate at all. and not available at all. Seems this project has release so many version untill now, but not mature and stable at all. each version can not meet basic requirements easy. at the same time, airflow did mature and stable. |
I have the same problem WTF_CSRF_ENABLED = False |
@lutinglt Thank you so much. it work. |
@zengyijian916 how did you resolve caching related issue?
|
@mdeshmu I have not resolve this issue, just resolve the login loop issue. now I have not change any caching setting. not use redis will not happen this issue. I just highlight superset is so hard to use. |
While adding the parameters mentioned by @lutinglt solves the issue, it seems to me that there is also another problem, caused is a missing migration file. select * from alembic_version;
version_num
--------------
4b85906e5b91 which corresponds to 2023-09-15_12-58_4b85906e5b91_add_on_delete_cascade_for_dashboard_roles.py but in root@515f0f33ea47:/app# ls superset/migrations/versions/ | tail -n 5
2023-08-09_15-39_4448fa6deeb1__dd_on_delete_cascade_for_embedded_dashboards.py.py
2023-08-14_09-38_9f4a086c2676_add_normalize_columns_to_sqla_model.py
2023-08-22_11-09_ec54aca4c8a2_increase_ab_user_email_field_size.py
__init__.py
__pycache__ The file 2023-08-22_11-09_ec54aca4c8a2_increase_ab_user_email_field_size.py corresponds to one of the previous migrations. Since the first step completes with an error, the remaining steps from the
I haven't figured out how the list of files in the container is generated yet, but it's clearly a bug. update alembic_version set version_num = 'ec54aca4c8a2' where version_num = '4b85906e5b91'; |
@bukem that sounds like something that deserves its own GitHub issue for proper visibility, could you please move that content into a new issue? |
@zengyijian916 please create a separate GitHub issue for the Redis cache-related problem you are facing and attach the output of |
@zengyijian916 can you try following to see if it resolves your issue.
|
it work, thank you |
Can we close this issue? There's the login loop which is a duplicate of #24579, the @mdeshmu do you think your suggestion above to install cachelib 0.8.0 needs to be added to the main project config or docs? |
How to reproduce the bug
the output as below:
will not login and the errorr message as bleow:
Expected results
login as expected.
Actual results
will not login and show the login screen all the time.
Screenshots
Environment
(please complete the following information):
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
The text was updated successfully, but these errors were encountered: