Export CSV doesnt work

We have embedded Questions that we want to use the Export CSV feature. The application which embeds this is hosted under a different cname than where the metabase server resides.

For example:

The embedded metabase report is hosted at https:// dashboard.mycompany .ca

Metabase beanstalk server is hosted at https:// lb.mycompany .ca

Mixed Content: The page at ‘https:// dashboard.mycompany.ca/’ was loaded over HTTPS, but requested an insecure form action ‘http:// mycompany-metabase-prod.ca-central-1.elasticbeanstalk .com/embed/question/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXNvdXJjZSI6eyJxdWVzdGlvbiI6NjJ9LCJwYXJhbXMiOnsiZXZlbnRfdXVpZCI6IjAzOTY5ZDI5LWI2MWMtNDM2NS05MmFkLTJkMDNhOWJmYzYwYiJ9LCJleHAiOjE2MDQ2MDU3NDgsImlhdCI6MTYwNDYwNTE0N30.aQGeZQf-d8aFQnTegGKBf9057WzTFlfUpqUk2VAb254.csv?’. This request has been blocked; the content must be served over HTTPS.

It appears metabase isnt returning the correct domain when rendering the Export CSV URL.

The weird thing is if I put this same Question in an embedded Dashboard and expose it works and uses the correct domain (https:// lb.mycompany .ca).

Hi @jamie3
Make sure that the Site URL in Admin > Settings > General is correct.
All browsers are now a lot more strict about referencing http-links from https, so make sure that everything is https everywhere.


Thank you very much for the quick response!