Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Forum Problems If there is a forum related problem please leave a message here so an Admin will see it.

Redirect loops between HTTP and HTTPS versions of diyAudio on Chrome and Firefox
Redirect loops between HTTP and HTTPS versions of diyAudio on Chrome and Firefox
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 7th August 2017, 02:32 AM   #1
Jason is offline Jason  Australia
:)
diyAudio Administrator
 
Jason's Avatar
 
Join Date: Oct 2000
Location: Melbourne
Redirect loops between HTTP and HTTPS versions of diyAudio on Chrome and Firefox
Default Redirect loops between HTTP and HTTPS versions of diyAudio on Chrome and Firefox

It has come to my attention that there are some issues with how we have historically been using "301" redirects to tell browsers whether to use the secure or non-secure version of diyAudio.

This can cause redirection loops, and in fact when we eventually move to HTTPS in the coming weeks/months, could cause FireFox and Chrome to go into an infinite redirection loop and prevent you from being able to visit diyAudio at all*. I believe these redirects are what have been causing the redirection issues that a few members have reported over the last week in Chrome and Firefox.

We have now moved to using 302 redirects instead of 301 redirects to avoid this problem in the future but many people will now have permanent redirects from https://www.diyaudio.com to http://www.diyaudio.com. When we switch to HTTPS, this could cause issues. There are various solutions suggested,

The problem is primarily that while some browsers only store a 301 redirect for a single session, Chrome and Firefox store these redirects for eternity. A "hard refresh" of your browser will not remove them and they stay forever.

Therefore, I ask that anyone using Chrome or Firefox who wants to avoid problems now or in the future, and thinks "better to be safe than sorry" clears their "redirect cache" today to remove these evil "eternal" redirects.

You need to follow very specific instructions for each browser:

Chrome
  • Fix: Go to the [Chrome Menu] (hamburger bar menu square) or [Chrome]->[Preferences]. Then go to [Settings]->[Show Advanced Settings]->[Privacy and Security]->[Clear Browsing Data]. Check "Cached Images and files" only, and uncheck everything else (this will make sure you don't lose your saved login info). Then click "Clear Browsing Data".
  • Further reading: Superuser: How can I make Chrome stop caching redirects

FireFox
  • Fix: Press CTRL + SHIFT + Delete, change time range if needed, click on "Details" and check "cache". Uncheck everything other than "cache" so you don't lose your saved login info).
  • Alternative fix: Locate diyAudio in the history sidebar. Right click it and select “Forget about site site”
  • Alternative fix: If diyAudio is not in your history sidebar, choose [Menu]->[Tools]->[Options]->[Advanced]->[Network]->[Clear Now] or [FireFox]->[Preferences]->[Advanced]->[Network]->[Clear Now]
  • Further reading: Superuser: Clear 301 redirect cache in FireFox

Learn more:
* There are some mitigation strategies, which I will be implementing!

Last edited by Jason; 7th August 2017 at 10:36 PM.
  Reply With Quote
Old 7th August 2017, 04:48 PM   #2
Pano is offline Pano  United States
diyAudio Moderator
 
Pano's Avatar
 
Join Date: Oct 2004
Location: SW Florida
Redirect loops between HTTP and HTTPS versions of diyAudio on Chrome and Firefox
Be sure to have your user name and password handy before you do the reset. The "Forget" will delete your automatic login, if you use one.
  Reply With Quote
Old 7th August 2017, 04:55 PM   #3
Osvaldo de Banfield is offline Osvaldo de Banfield  Argentina
diyAudio Member
 
Osvaldo de Banfield's Avatar
 
Join Date: Dec 2011
Location: Barrio Garay,Almirante Brown, Buenos Aires, Argentina
MAny thanks, although trouble free in Argentina, XP + Chrome. :-)
__________________
Osvaldo F. Zappacosta. Electronic Engineer UTN FRA from 2001.
Argentine Ham Radio LW1DSE since 1987.
  Reply With Quote
Old 7th August 2017, 05:14 PM   #4
Capt Grogg is offline Capt Grogg  United States
diyAudio Member
 
Join Date: Aug 2009
Opera browser says it is based on Chrome, Seamonkey is related to Firefox, are they affected by this?
  Reply With Quote
Old 7th August 2017, 06:56 PM   #5
MagicBus is offline MagicBus  Greece
diyAudio Member
 
MagicBus's Avatar
 
Join Date: Aug 2016
Location: Athens, Greece
No problem at all with Firefox on windows XP here. Since HTTP and HTTPS seems "greek" to me have I understood correctly that my setup won't be compatible with the new platform?
  Reply With Quote
Old 7th August 2017, 07:28 PM   #6
MagicBus is offline MagicBus  Greece
diyAudio Member
 
MagicBus's Avatar
 
Join Date: Aug 2016
Location: Athens, Greece
I forgot to say that my system lately has desided to block all adds by its own everywhere in the web...
  Reply With Quote
Old 7th August 2017, 10:22 PM   #7
Jason is offline Jason  Australia
:)
diyAudio Administrator
 
Jason's Avatar
 
Join Date: Oct 2000
Location: Melbourne
Redirect loops between HTTP and HTTPS versions of diyAudio on Chrome and Firefox
Quote:
Originally Posted by Pano View Post
Be sure to have your user name and password handy before you do the reset. The "Forget" will delete your automatic login, if you use one.
Good point, I'll promote the non-login info killing options as the primary fix option!

Quote:
Originally Posted by Capt Grogg View Post
Opera browser says it is based on Chrome, Seamonkey is related to Firefox, are they affected by this?
Probably.

Quote:
Originally Posted by MagicBus View Post
No problem at all with Firefox on windows XP here. Since HTTP and HTTPS seems "greek" to me have I understood correctly that my setup won't be compatible with the new platform?
Everything will be compatible with the new platform (actually, except some ancient insecure EOL configs like XP + IE).
  Reply With Quote
Old 8th August 2017, 09:28 AM   #8
MagicBus is offline MagicBus  Greece
diyAudio Member
 
MagicBus's Avatar
 
Join Date: Aug 2016
Location: Athens, Greece
Thank you very much Jason!
  Reply With Quote
Old 9th August 2017, 11:59 AM   #9
Dude111 is offline Dude111
diyAudio Member
 
Join Date: Apr 2013
Quote:
Originally Posted by Jason
Everything will be compatible with the new platform (actually, except some ancient insecure EOL configs like XP + IE).
Well since your using Cloudfare Mate EVERY BROWSER should be able to connect to the HTTPS side.. (If ya remember to use thier NO BROWSER LEFT BEHIND program)
  Reply With Quote

Reply


Redirect loops between HTTP and HTTPS versions of diyAudio on Chrome and FirefoxHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No access to diyAudio with Firefox browser Russell Dawkins Forum Problems 6 27th July 2015 09:47 PM
Best Buy advert on diyAudio crashes Firefox browser Mark Johnson Forum Problems 0 22nd June 2015 12:52 PM
https://www.diyaudio.com/ doesn't work? freax Forum Problems 5 29th December 2014 07:51 AM


New To Site? Need Help?

All times are GMT. The time now is 07:53 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Copyright ©1999-2019 diyAudio
Wiki