Why did my embedded app stop rendering images?

Hi, our embedded app (third-party, built with Ruby Sinatra), that use WickedPdf and Tilt libraries for generating pdf files, stopped rendering images few days ago. We haven’t changed our code, or anything on our side.

Can you please advise if there were any changes in Shopify recently that may have impact on our app behavior, like iFrame changes?

Thanks, Serge

Update: I made a test app that runs locally and mimics the pdf-generating logic of the prod app: the same libraries (the same versions), the same code (as much as possible). And it runs just fine, the app produces a pdf file with images rendering as expected, as it was before in our prod app.

This just strengthen my suspicion, that something has changed outside, either on Shopify’s side or somewhere else.

Next step, I am going to deploy this test app to Heroku and see how it runs in cloud.

Also deployed the app to Heroku, and it works as expected in the cloud too. It works as expected – renders image within the PDF. This is to confirm that the gems or code are okay, and the app works as expected locally and from cloud (here Heroku). Our PROD app is hosted in Ubuntu VM in Azure though, not Heroku. So, my main suspects are still:

  1. Shopify iFrame that host our app
  2. or something changed in Azure