"Your iframe is using HTTP and will not render in preview mode" error appears on a live Open Data site when the iFrame element within the layout builder is set to a HTTP URL.
Serve the HTML document containing iFrame content through HTTPS. This displays the content within the iFrame in a preview site as well as the live site.