GitHub user dosubot[bot] added a comment to the discussion: Issue: Double HTTPS in Redirect URL After Editing User/Role in Superset
<!-- Greeting --> Hey @masbayuw! I'm here to help you with any bugs, questions, or contributions you have regarding the project. Let's work together to resolve your issue! <!-- Answer --> To address the issue of Superset redirecting to an invalid URL with double "https://" after editing a user or role, ensure that the `ENABLE_PROXY_FIX` setting is enabled in your `superset_config.py` file, which you have already done. This setting helps Superset handle the `X-Forwarded-Proto` header correctly when using a reverse proxy for SSL termination. Additionally, verify that your Nginx configuration is correctly setting the `X-Forwarded-Proto` header to "https", which is also correctly configured in your setup. For further troubleshooting, consider the following: 1. **Check the `SUPERSET_WEBSERVER_BASEURL`**: Ensure that this setting is correctly configured to match your public domain without any trailing slashes or additional protocols. It seems correctly set in your configuration. 2. **Review the `proxy_redirect` directive**: Ensure that the `proxy_redirect` directive in your Nginx configuration is correctly mapping the internal IP to the public domain. Your configuration seems correct, but double-check for any typos or misconfigurations. 3. **Cloudflare Settings**: Ensure that Cloudflare is not interfering with the headers or redirect logic. Sometimes, Cloudflare's SSL settings can cause unexpected behavior. Make sure that SSL is set to "Full" or "Full (Strict)" in Cloudflare. 4. **Superset Version**: Ensure you are using a version of Superset that is compatible with your setup. You mentioned using version 4.1.1, which should be fine, but check for any known issues with this version. For similar issues, you might find these discussions helpful: - [308 Redirect Error When Creating a New Dashboard on Superset Deployed via AKS](https://github.com/apache/superset/discussions/31195) <sup>[[1]](https://github.com/apache/superset/discussions/31195)</sup> - [Superset redirects to http from https](https://github.com/apache/superset/discussions/18330) <sup>[[2]](https://github.com/apache/superset/discussions/18330)</sup> These discussions might provide additional insights or solutions that could be applicable to your situation. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/fb94a25f-ea82-4d82-b81b-ef34607958a1?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/fb94a25f-ea82-4d82-b81b-ef34607958a1?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/fb94a25f-ea82-4d82-b81b-ef34607958a1?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/fb94a25f-ea82-4d82-b81b-ef34607958a1?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/fb94a25f-ea82-4d82-b81b-ef34607958a1?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/fb94a25f-ea82-4d82-b81b-ef34607958a1?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/fb94a25f-ea82-4d82-b81b-ef34607958a1?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/32757#discussioncomment-12555004 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
