Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

How to ajax url linking to HTTP not HTTPS


#1

I ran into the following error when I created one UI Scripts.

Mixed Content: The page at ‘https://ancamotion.XXXXX.net/index.php?/cases/view/3029’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://dashboard:8866/’. This request has been blocked; the content must be served over HTTPS.

My script is using ajax, and the url is http://. Since testrail is https but not http, it is a cross domain issue.
So I am asking if there any work around to fix it? I don’t want to change my http://dashboard:8866/ to https.

Thanks.