Metabase Javascript and CSS not loading on Cloudflare SSl

521 error is coming up. Screenshot is attached. I’m using docker and postgres. Cloudflare is flexible SSL

Hi @alinoudev
Are you using Rocket Loader or proxy (whatever it’s called) or similar things? Then disable that.
EDIT: Have you looked at the Cloudflare troubleshooting guides?

Rocket loader was even causing issue for simple http so I already turned it off, this issue seems bit different

Yes, I’m checking cloudflare docs, here is my docker commands
docker container stop metabase
docker container rm metabase
docker container run -d -p 80:3000 --restart unless-stopped
-e “MB_DB_TYPE=postgres”
-e “MB_DB_PORT=5432”
-e “MB_DB_USER=”
-e “MB_DB_PASS=”
-e “MB_DB_HOST=”
–name metabase metabase/metabase
AWS security config

Do you see anything in the Metabase log given you an indication that it’s actually hitting the container at all?
What’s the configuration of the “Site URL” in Admin > Settings > General?

Thanks very much for your help issue got fixed it was mistake in my cloudflare page rules. Thanks very much!

1 Like