Search code examples
apache-superset

Unable to change datasource in charts in Superset


I am using Superset for visualizations. In charts, there is an option to "change datasource" but when I click it gives an error "An error occurred". In production server superset is using postgres to store metadata and another postgres server as datasource and gunicorn to start superset. I tried same setup with default database (sqllite) to store superset metadata and no gunicorn, then "change datasource" option is working fine. Does anyone know what can be the issue and how to solve it?


Solution

  • If your set up was on HTTPS you may be running into this issue.

    The workaround should be to configure superset to run properly behind a load balancer, as per these instructions.