Code Yarns β€πŸ‘¨β€πŸ’»
Tech Blog ❖ Personal Blog

How to fix the Google redirect loop

πŸ“… 2013-Aug-04 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ cookies, google, google chrome ⬩ πŸ“š Archive

Problem

You try to open one of the websites of Google, say Gmail, it does not open in Chrome. Instead you see in the address bar that Chrome is flailing about, switching between accounts.google.com and mail.google.com. Or sometimes Chrome just gives up and says that it got stuck in an infinite redirect loop.

Solution

This problem happened to me when I blocked cookies on some Google websites, say accounts.google.com and allowed it on other Google websites, say mail.google.com.

To fix this problem, you may have to allow all Google websites to set cookies. Or at the very least you will need to tweak these settings until Google websites do show up.

You can do all of this in Chrome at Settings > Privacy > Content Settings > Cookies > Manage exceptions.

Tried with: ChromeΒ 27.0.1453.93 and Ubuntu 12.04 LTS


Β© 2022 Ashwin Nanjappa β€’ All writing under CC BY-SA license β€’ 🐘 @codeyarns@hachyderm.io β€’ πŸ“§