Topic on Talk:Wikibase/Docker

XMLHttpRequest endpoint - Http

1
Felipemr98 (talkcontribs)

I'm trying to run this on a server, but when I try to add statements I get the following error while typing on the input box

jquery.js:9940  Mixed Content: The page at 'https://my.host/wiki/Item:Q1?wprov=acrw1_0' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://my.host/w/api.php?action=wbsearchentities&search=s&format=json&errorformat=plaintext&language=en&uselang=en&type=property'. This request has been blocked; the content must be served over HTTPS.

Is there a way to solve this problem? make this request with https?

Changing $wgServer from WebRequest::detectServer() to "https://my.host" will 'solve' this problem but then QS and WDQS will not work.

Reply to "XMLHttpRequest endpoint - Http"