Page 1 of 1

http to https problem (Resolved)

Posted: Fri 06 Mar 2020 7:30 pm
by itsfine
Hi, I have been using SSG for years without any problems but have now changed to https. I have checked all files and changed to https but cannot get it working. Obviously I am missing something basic but just can't see it. Any help would be appreciated.

The site is www.itsfine.uk and the SSG page is https://itsfine.uk/wx1/steel/web_server/gauges-ss1.php
Data from WD is in folder wx1.

Thanks

Re: http to https problem

Posted: Fri 06 Mar 2020 11:24 pm
by Mapantz
http://www.itsfine.uk/wx1/customclientraw.txt

The gauges are reading that URL.

Re: http to https problem

Posted: Sat 07 Mar 2020 8:16 am
by itsfine
Thanks Mapantz, they are reading the file but not displaying any info.

Re: http to https problem

Posted: Sat 07 Mar 2020 4:47 pm
by Mapantz
In gauges.js

Try changing this line:

Code: Select all

realTimeURL_WD     : 'http://www.itsfine.uk/wx1/customclientraw.txt',    //*** WD Users: Change to your location of the ccr file ***
to either:

Code: Select all

realTimeURL_WD     : 'wx1/customclientraw.txt',    //*** WD Users: Change to your location of the ccr file ***
or:

Code: Select all

realTimeURL_WD     : 'customclientraw.txt',    //*** WD Users: Change to your location of the ccr file ***

Re: http to https problem

Posted: Sun 08 Mar 2020 8:27 am
by itsfine
Tried both options plus various alternatives using ../ to go back a level and the full url with http and https but still no change.
It's got me beat!

Re: http to https problem

Posted: Sun 08 Mar 2020 10:11 am
by mcrossley
It's definitely your client raw file causing the problem. It is trying to load...
http://www.itsfine.uk/wx1/customclientraw.txt

Which isn't allowed as that is mixed content. Changing it to...
/wx1/customclientraw.txt

fixes it for me. Btw, you also have a statistics counter script giving mixed content errors as well.

Re: http to https problem

Posted: Sun 08 Mar 2020 12:02 pm
by itsfine
Thanks Mark. I've struggled with this for ages. Made the changes and removed the counter as well.
Everything is back to normal - hooray!