XMLHttpRequest cannot load https://metcast.co.uk/about/

I’m getting the following error which causes a plugin (Cornerstone) to not function.

XMLHttpRequest cannot load https://metcast.co.uk/about/. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://metcast.co.uk' is therefore not allowed access. The response had HTTP status code 503.

The error that cornerstone is throwing is:

A conflict on the front end of your site has prevented the preview from loading. 

Would be grateful if anyone can help out :slight_smile:

This isn’t related to Let’s Encrypt or SSL/TLS in general.

From the looks of it, you’re trying to request a cross-origin resource (i.e. request a site on a different domain) with JavaScript. That’s not possible unless you set appropriate headers. More information on this on MDN.

Thanks for your reply. I have actually sorted the issue now.
It was a lot simpler than first thought. Just a case of search and replace http to https.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.