PDA

View Full Version : Very Odd HTTPS Problem, Need Advice


boxingscene
02-03-2017, 08:29 AM
I'm running Vbulletin VB 3.8x

In order to comply with these incoming hassles from Chrome/Firefox, I am converting our Forum to HTTPS.

I have a test forum set up to work out all the issues before we go live.

I thought I was on a roll, almost no issues at all and even have the green SSL lock on both browsers.

However, I just noticed that there is a problem with the execution of cron scripts and they may not be executing.

I received an error message related to a cron script, and the script appears to be executing cron files under an "http" URL when it should be doing it under https.

Script : http://www.website.com/forums-ssl/cron.php?rand=1486115304
Referrer : https://www.website.com/forums-ssl/forumdisplay.php?f=3

I am ONLY making our forum HTTPS at the moment, not our frontend, so on admincp I obviously changed the Forum URL to reflect HTTPS, and left our Homepage URL under HTTP.

I'm not sure if Homepage URL staying under HTTP is connected to this, or is there some hard-coded location where I need to change something to HTTPS for execution of cron scripts.

I'm a bit stumped at the moment and this appears to be the only issue left.

--------------- Added 1486120201 at 1486120201 ---------------

Actually, after reviewing a few things, the cron jobs may actually be executing - although I'm still not sure why the emails are showing an HTTP URL for the script error

boxingscene
02-05-2017, 07:34 AM
I appear to have one more issue and I'm not sure how or where to solve this.

I was getting a mixed content error and saw that it was related to 2 Googleapi URLs that were using HTTPS.

Based on the backend, the only way to solve this is to turn YUI to none.

But there has to be a better way? Those URLs are being generated somewhere in the code?

There has to be somewhere that I can dive into within the files to make a simple URL change of http to https?

Lynne
02-05-2017, 03:32 PM
I believe Paul said that there are some hard-coded URLs that will get removed in 3.8.11. So, if you are using an earlier version, you will need to modify the URLs manually.

boxingscene
02-05-2017, 03:48 PM
I believe Paul said that there are some hard-coded URLs that will get removed in 3.8.11. So, if you are using an earlier version, you will need to modify the URLs manually.

Lynne, where are those URLs is the question?

--------------- Added 1486318090 at 1486318090 ---------------

Lynne,

Actually if you select google, instead of yahoo, it automatically becomes https, so that solved that :)

Kane@airrifle
02-05-2017, 04:58 PM
admincp/index.php

Paul M
02-05-2017, 09:26 PM
I believe Paul said that there are some hard-coded URLs that will get removed in 3.8.11.
Thats for the acp & mcp, not the cron system url, that relies on auto detection of the protocol (as do many parts of vB).

There is an option in 3.8.11 (and 4.2.5) to override the auto detection and force http/https.