Diazo errors when trying to pull html structures from external server via https

Hello all. I have an issue that I can't seem to figure out what is happening. I have a Diazo rule that attempts to pull content, which is basic html structures, from an external server. This works if I set this external server to listen on both http and https and use http in the diazo rule. If I try using https in the path of the rule, it fails.

Using browser tools, I don't get any errors pertaining to CORS, etc.

Here is an example of the rule being used:

<rules css:if-content="body.section-news">
   <replace css:theme="#replace-content" css:content=".home-panels" href="https://info.smeal.psu.edu/mcf/ad" />
   </rules>

Thoughts?

Indent your rule / code by 4 spaces

@pigeonflight have you ever tried to do this?

It looks like it should work. @cthomas try running the server in debug mode and see what the output on the terminal (not the browser) is like. My guess is that there might be an issue with your python and https endpoints.

Plone Foundation Code of Conduct