When users click the 'Log out' link in the navigation block (https session), browsers (Chrome, Safari) display an error page with the following message.

Safari:

Too many redirects occurred trying to open “http://gpmha.58sports.com/fr”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.

Chrome:

Error 310 (net::ERR_TOO_MANY_REDIRECTS)

This problem disappears when Secure Pages is disabled. It appears again immediately after SP has been re-enabled.

I'm using version 6.x-2.x-dev which I've patched to properly handle i18n. See https://drupal.org/node/1145292#comment-6124288. My multilingual Ubercart website is running as a subdomain (i.e. sub.mydomain.com). Does that make a difference to Secure Pages? BTW, Secure Pages Hijack Prevention is NOT installed.

In secure pages settings:
- 'Users with the authenticated role are always redirected to https.' is enabled.
- 'Switch back to http pages when there are no matches' is enabled (could this be responsible for the loop?)

Found this post: https://drupal.org/node/1153266#comment-4922462. Since my website is running as a subdomain, does '$cookie_domain' need to be set in settings.php? If so, in what way?

Comments

bisonbleu’s picture

Update.

This appears to be fixed by patch posted here: https://drupal.org/node/1647760

bisonbleu’s picture

Issue summary: View changes

small edit

astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks