XF 2.2 Offline message when moved from http to https

RisteD

Active member
I've changed board url from http to https, changed license url from http to https, and still i've got this message?
lol.
Anyone experienced this?
 

RisteD

Active member
No, i've fixed it minute ago this problem. It was because the server didn't have installed ssl certificate, then i've moved to cloudflare my subdomain and reconfigured DNS a records for my domain and that solved this issue but there is new problem:

- When you change board url from http to https:// the urls in navigations did not change to ssl. If you visit via http:// url e.x http://forum.gametracker.vip you will notice that it won't redirect you to https.
 

Mike

XenForo developer
Staff member
Based on your follow up, I'm guessing you may have had an older version of the service worker cached as there was a time earlier in the beta where the offline message may have come up instead of the browser returning a more reasonable error. So it was probably the SSL error that got masked. It shouldn't really happen with a more recent service worker involved.

In terms of redirects, we don't automatically redirect. If you want it to redirect, use the ACP search for "boardUrlCanonical" though note the caveat in the description.
 

RisteD

Active member
Based on your follow up, I'm guessing you may have had an older version of the service worker cached as there was a time earlier in the beta where the offline message may have come up instead of the browser returning a more reasonable error. So it was probably the SSL error that got masked. It shouldn't really happen with a more recent service worker involved.

In terms of redirects, we don't automatically redirect. If you want it to redirect, use the ACP search for "boardUrlCanonical" though note the caveat in the description.
boardUrlCanonical is checked and the redirection isn't working. The version of XenForo is 2.2 RC1, if u want to check yourself i can give credentials via private message and or ticket.
 

Mike

XenForo developer
Staff member
I'm pretty sure the canonicalization issues are because of your CloudFlare configuration. Specifically, I think you have CF contacting your real server via HTTPS, which means XF thinks the connection is HTTPS and thus doesn't canonicalize the URL (and generates HTTPS URLs in some instances).

You likely just need to set CF to enforce HTTPS connections itself.
 
Top