Mixed Content: The page was loaded over HTTPS, insecure XMLHttpRequest
Topics related to client-side programming language.
Post questions and answers about JavaScript, Ajax, or jQuery codes and scripts.
-
PloMar
- Posts:48
Mixed Content: The page was loaded over HTTPS, insecure XMLHttpRequest
I have an Ajax function that adds in page some content from server. It was working fine when the page url was with "http", but after I put "https" the Ajax is not working. I get this JavaScript error:
Code: Select all
Mixed Content: The page at 'https:// ...' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http:// ...'. This request has been blocked; the content must be served over HTTPS
Any ideea how to fix it to work with "https"?
MarPlo
Posts:186
Hello,
If the page url is with "https", the Ajax request must be made with "https". So, make sure you access the file on server with the same protocol as the page has.
The ".js" files included with "http" must be changed to "https".
Also, check in "htaccess" file to use "https".
Similar Topics
- Speech to text without https
General Forum
First post
Pleasant Coursesweb,
Is their anything posible without https for speech to text fill-in ?
Or must I turn my SSL document on the XAMPP-server ?
Last post
Hello,
I don't know about speech to text fill-in.
Anyway, I want to inform you that this forum will be closed for register or posting.
Any...