problem with https
Hi,
I'm trying to embed the forum within a site that runs completly with https, but it looks there is a bug somewhere.
All links in the jsconnect settings are set to https, but at one step it looks like it tries to load a page using http and that's blocked by the browser
[blocked] The page at 'https://forum.mysite.de/index.php?p=/&remote=https://www.mysite.de/forum/&locale=' was loaded over HTTPS, but ran insecure content from 'http://www.mysite.de/auth/jsconnect/?client_id=177139747&Target=/&callback=jQuery17207709974134340882_1401132404512&_=1401132404597': this content should also be loaded over HTTPS. (index.php:1)
I tried to look into the scripts, printed some of the variables and I see everywhere https .. but it's not using it .)
Anyone using it with a https site ?
Comments
You may need to edit the embed.js or the remote.js depending on which plugin to embed you are using.
Look in those and change all http to https
also you can try adding this to config.php
$Configuration['Garden']['ForceSSL']=TRUE;
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks looks like the ForceSSL thing fixes the problem
I thought it worked .. but problem is back .. and I don't found a http link in embed.js
Ok .. I decided to try without embedding first to check if embedding is the problem or the jsConnect .. and looks like the problem is jsconnect..
[blocked] The page at 'https://forum.myforum.de/index.php?p=/discussions' was loaded over HTTPS, but ran insecure content from 'http://www.myforum.de/auth/jsconnect/?client_id=177139747&Target=…cussions&callback=jQuery17209468413307331502_1401188795297&_=1401188795430': this content should also be loaded over HTTPS.
index.php:1
YAY!.. i found the problem.
I had a mistake in the jsconnect settings... it was a missing / at the end of the url
https://www.mysite.de/auth/jsconnect instead of https://www.mysite.de/auth/jsconnect/
this caused the webserver to do an internal redirect or something like that...
My site and vanilla installation both are running on https. When i am embeding vanilla forum, embadvanilla plugin (remote.js) file is throwing error "[blocked] The page at https://mysite.com/vanilla-forum was loaded over https but ran insecure content from http://myvanilla-forum.com/index.php?p=/&t=1412840479532&remote=https://mysite.com/vanilla-forum&locale=" I tried with above mentioned solution but it was not woking for me.
Did you try all of the above mentioned solutions ?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌