KNOWLEDGE BASE

Embedded View Does Not Load in Google Chrome and Error Displays: 'There were too many redirects'


Published: 04 Dec 2015
Last Modified Date: 24 Aug 2022

Issue

When embedding views in Tableau Server, the following error is encountered in Google Chrome:
 
'There were too many redirects'

Too many redirects error

Embedded views work as expected in Firefox and Internet Explorer. The view can also be successfully accessed directly (not embedded) in Chrome.

Environment

Tableau Server

Resolution

Third-party cookie blocking is enabled in Google Chrome. To turn this feature off:
  1. From Chrome, go to the menu (three dots bar icon in the upper right corner) 
  2. Select 'Settings
  3. Click 'Show advanced settings
  4. In the 'Privacy' section, click 'Content settings
  5. In the 'Cookies' section, look for a check box labeled 'Block third-party cookies', and uncheck it.

Cause

Usually the third-party cookie blocking features are used to block cookies from ads on websites and similar, but in the case of an embedded visualization, the page with the embedded view is considered "first party", and Tableau Server is considered "third party", since it is not accessed directly by the user.

Tableau Server needs to be able to save a session cookie following successful authentication. If this cookie is blocked, the browser will be continually redirected to the authentication page until Chrome finally terminates attempts due to excessive redirects.
Did this article resolve the issue?