GitHub user dosubot[bot] added a comment to the discussion: Issue: Double HTTPS in Redirect URL After Editing User/Role in Superset
<!-- Answer --> I found a similar open issue that might help you resolve the problem of Superset redirecting to an invalid URL with double "https://" after editing a user or role. The suggested solution is to 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 seems to be 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 <sup>[[1]](https://github.com/apache/superset/discussions/31195)</sup>. <!-- 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/10f928e5-3622-4577-99f1-a6bce4bf90df?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/10f928e5-3622-4577-99f1-a6bce4bf90df?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/10f928e5-3622-4577-99f1-a6bce4bf90df?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/10f928e5-3622-4577-99f1-a6bce4bf90df?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/10f928e5-3622-4577-99f1-a6bce4bf90df?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/10f928e5-3622-4577-99f1-a6bce4bf90df?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/10f928e5-3622-4577-99f1-a6bce4bf90df?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/32757#discussioncomment-12555033 ---- 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]
