Access via http doesn't work

iFreilicht

FlexATX Authority
Original poster
Feb 28, 2015
3,243
2,361
freilite.com
When using the link "http://smallformfactor.net", this shows:



Using https://smallformfactor.net works. It would be nice if there was some sort of forwarding or redirection from the http to the https site.
 

K888D

SFF Guru
Lazer3D
Feb 23, 2016
1,483
2,970
www.lazer3d.com
I was having a similar issue yesterday when using chrome browser on my phone. When connected through WiFi it was saying the site wasn't safe, something to do with the HTTPS, but when I used mobile connection it worked OK. Only started yesterday.
 

jeshikat

Jessica. Wayward SFF.n Founder
Silver Supporter
Feb 22, 2015
4,969
4,783
There is a redirect in place but it seems to have issues with the new server. I'll look into it.

If anyone else is having this problem please chime in with browser, OS, and Internet type (cellular vs landline).
 

jeshikat

Jessica. Wayward SFF.n Founder
Silver Supporter
Feb 22, 2015
4,969
4,783
Ok, I tweaked the redirect rules so let me know if it works correctly now.
 

iFreilicht

FlexATX Authority
Original poster
Feb 28, 2015
3,243
2,361
freilite.com
Nope, exact same error as before. I also tested it with Edge, doesn't work either.

Firefox looks good, though, even when forcing http in the URL the redirect to https works perfectly.
 

jeshikat

Jessica. Wayward SFF.n Founder
Silver Supporter
Feb 22, 2015
4,969
4,783
Ok, I need to do more work but for now I have it setup so that http should be able to access the site at least.
 

iFreilicht

FlexATX Authority
Original poster
Feb 28, 2015
3,243
2,361
freilite.com
Seems like it work, though now the lock in the address bar is gone, even when I force https :( Something like "This connection is private, though someone in your network might be able to modify the appearance of the site." (Translated from German)

Also, switching to http and back to https logs me out :D I think it would be better to remove the http forwarding if anyone else has that problem and only put in a fully working solution. Or make a small landing page "please insert 'https://' before the URL to continue" for http. Very weird situation.
 

jeshikat

Jessica. Wayward SFF.n Founder
Silver Supporter
Feb 22, 2015
4,969
4,783
I can fix it, just need to setup the .htaccess to redirect to https since the Cloudflare page rule isn't working consistently for some reason with the new server.

The only issue is I need to exclude the RSS feed since some readers don't handle loading the feed over https. I should be able to implement that after I get off work later today.
 

iFreilicht

FlexATX Authority
Original poster
Feb 28, 2015
3,243
2,361
freilite.com
Almost.

http://smallformfactor.net forwards to https://smallformfactor.net and the connection is being marked as secure properly.
http://smallformfactor.net/forum doesn't forward to https://smallformfactor.net/forum and the connection is being marked as not private by the browser, but it does reliably log me out if I was previously logged in, so that's something. Unfortunately it doesn't seem to prevent logging in, so there's potential danger of people logging in via that and a 3rd party eavesdropping on their connection.

It also seems like the https site is still including http resources, but that's a different matter.
 

jeshikat

Jessica. Wayward SFF.n Founder
Silver Supporter
Feb 22, 2015
4,969
4,783
Maybe try clearing cookies and cache? There really shouldn't be anything keeping it from redirecting now.
 

iFreilicht

FlexATX Authority
Original poster
Feb 28, 2015
3,243
2,361
freilite.com
Doesn't change a thing in either browser. Have you tried it with your machine? Maybe something else is fucked up on my system.
 

jeshikat

Jessica. Wayward SFF.n Founder
Silver Supporter
Feb 22, 2015
4,969
4,783
Try now?

I think it's may be a DNS caching issue with certain ISPs but it should have cleared out by now so I'm not sure.

Edit: And I've tried it on computers that have never been to the site before so it's not my local cache. Everything works fine for me so makes it hard to test.
 

robbee

King of Cable Management
n3rdware
Bronze Supporter
Sep 24, 2016
881
1,387
It does for me. If nothing has changed meanwhile, it's probably something that's being cached.