After upgrading Tableau Server, Web Data Connector ("WDC") data sources using a blank/empty --secondary URL are failing to connect, with error message: "Unable to load URL" showing in the logs.
As of the May 2023 release of Tableau Server, the Web Data Connectors can no longer have a blank value for --secondary used to designate a secondary safe list. See Known Issues record here.
A solution was deployed In 2021.3.26, 2021.4.21, 2022.1.17, 2022.3.9, 2023.1.5.
See below for a workaround:
Add a --secondary value to the WDC using tsm data-access web-data-connectors add .
If it is unclear what value should be used here, work with the creator of the affected WDC to establish what secondary URL/s will need to be added.
In some scenarios, one or more of the following details will be needed:
"Secondary whitelisting: does not find a corresponding entry for URL '<WDC Primary URL>', hence it is not allowed"
{"excp-error-code":"0x2CEE0515","excp-source":"NeedsClassification","excp-status-code":"UNKNOWN"},"v":"Web data connector secondaryWhitelist failed request for url '<WDC Primary URL>'; ask your Tableau server admin to enable this url in the secondary whitelist."
Above this error, there will also be a line in the logs that contains both of the below details alongside other details for the WDC connection, which can be used to confirm that the --secondary value is blank:"k":"construct-protocol-group"
"secondary_whitelist":""
If you have added a --secondary URL and are still unable to refresh extracts with WDC 2.0 you may be experiencing a separate issue:
Tableau Server (versions 2021-2023) is unable to refresh WDC 2.0 extract
001498309

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.