superset: In HTTPS Change of data source not working on Table and Dashboards
A clear and concise description of what the bug is.
CodeBase: Master Branch
When trying to change superset data source from HTTPS it is trying to open Url in HTTP in which it is creating the error.
Error: Unsafe attempt to load URL, Domains, protocols, and ports must match
Expected results
It should load URL’s with only HTTps what you expected to happen.
Actual results
what actually happens.
Screenshots

)
If applicable, add screenshots to help explain your problem.
How to reproduce the bug
- Go to Superset sources and select Tables.
- Click on any source this will open that source
- Now click on Data Source drop-down and select change data source and select any data source.
- This will show error
Environment
(please complete the following information):
- superset version:
superset version - python version:
python --version - node.js version:
node -v - npm version:
npm -v
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- I have checked the issue tracker for the same issue and I haven’t found one similar.
Additional context
Add any other context about the problem here.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (2 by maintainers)
thank you, i got it. this reason is config in nginx not apply when i change.Once again I thank you very much for your help
Here is my working nginx config
You need to add this line inside your Nginx config
proxy_set_header X-Forwarded-Proto https;Also in
superset_config.pyyou must enable this:Issue-Label Bot is automatically applying the label
#bugto this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.