Explaining the problem:
After having updated Metabase with the latest (v0.43) version, the embedding of all dashboards stopped working.
Starting from a dashboard, when I choose 'Sharing' > 'Embed this dashboard in an application', under 'Preview' I get the following message 'This content is blocked. Contact the site owner to fix the issue.' (see attached picture nr. 1).
On the external website where these dashboards normally display as expected, I get a 'There was a problem displaying this chart' message (see attached pic nr. 2).
What I have tried to do:
I made sure that the dashboards at issue are published (From a dashboard: Sharing > Embed this dashboard in an application > Publish)
I made sure that 'ENABLE EMBEDDING METABASE IN OTHER APPLICATIONS' in Admin > Embedding in other application, was set on 'Enabled' (as suggested here under 'Enabling embedding'.)
I also checked that the 'SITE URL' in Admin > General was the correct one (as this other discussion post suggested).
the way I am embedding the dashboard in the external website is still the same as before the update (when it was working), i.e.: [metabase]embedding code of given dashboard[/metabase]
Please post "Diagnostic Info" from Admin > Troubleshooting.
And which version did you upgrade from?
It is not possible to know why the content was blocked. You have to look in your browser developer console, since the error is coming from your browser.
As for errors on the charts, look in Admin > Troubleshooting > Logs, which has detailed errors.
After having changed 'http' to 'https' the Metabase Preview of the embedded dashboard is displaying as it should, thanks.
The embedded dashboards in the external website though are still showing the same error as before ('There was a problem displaying this chart').
I have tried to look in the Admin > Troubleshooting > Logs, and I found an error that has to do with an unknown or incorrect time zone:
[fb784ef9-53a1-4c61-8d7b-86a4b6bb8309] 2022-05-12T15:53:03+02:00 ERROR metabase.driver.sql-jdbc.execute Failed to set timezone 'Etc/GMT+1' for :mysql database
java.sql.SQLTransientConnectionException: (conn=86691862) Unknown or incorrect time zone: 'Etc/GMT+1'
Caused by: org.mariadb.jdbc.internal.util.exceptions.MariaDbSqlException: Unknown or incorrect time zone: 'Etc/GMT+1'
Caused by: java.sql.SQLException: Unknown or incorrect time zone: 'Etc/GMT+1'
I have searched but have not found anything that seems relevant yet. Perhaps because I am not sure what I am looking for.
Should I post here the content of the 'Logs'? Could you try and see if you can rapidly find anything relevant? Otherwise I will get back at you tomorrow.
@mattia Refresh the page with the problem, then go to the log and scroll to the bottom, it should have errors there. Otherwise upload your entire log somewhere and post a link here.