Print this page

Chrome has blocked http link within a VF page

Knowledge Article Number 000213361
Description A http link within a VF page can't be loaded on Chrome. There is a error like, "This request has been blocked; the content must be served over HTTPS" in the Console on Chrome developer tool.

Full Error:
Mixed Content: The page at 'https://xxx.com/apex/xxx' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://xxx.com/xxx'. This request has been blocked; the content must be served over HTTPS.
Resolution Chrome has a security feature to block insecure content (HTTP) which is being loaded via a secure page (HTTPS). In order to avoid this error, the content being loaded must be in secure form (HTTPS).




promote demote