Dashboard http sdata error when accessed externally

Hi,

When trying to access a dashboard externally via https we're getting errors referencing insecure http endpoints.

  • CRM v2022r2 installed using the https option.
  • SSL Certificate installed, and binding added to the Default Web Site.
  • SageCRM (non-Tomcat related functionality) all works ok.

I've been banging my head against the wall with it along with someone in our IT team and come to a bit of a stand still.  We've been playing about with URL Rewrite rules and various other things picked up from here but it doesn't seem to have any impact on the error.

This is the error message we're getting within the browser when the Dashboard is trying to load:

Content: The page at 'xxxxx.xxxxx.xx.xx/.../Do was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http:// xxxxx.xxxxx.xx.xx /sdata/crmj/layout/-/$service/lp_log?SID=107156557255084&contextEntityId=-1&contextRecordId=-1'. This request has been blocked; the content must be served over HTTPS.

I'm pretty confident it's not a SageCRM error, rather the Cloudflare security system that blocking the http request because it's expecting (and requiring) https.

Don't suppose anyone can point us in the right direction in terms of making a change to get that request to be sent over https?

If I test sdata via https outside of the dashboard then I can get results from the API, and if I try and use http to access the sdata service outside of CRM it automatically redirects it to https so I'm a  bit lost.

Any help/pointers gratefully received!

Cheers,

Pete.