BASE DE CONNAISSANCES

Connecting from Tableau Desktop to Snowflake Using PAC File to Manage Proxy Access Fails


Date de publication : 16 Sep 2021
Date de dernière modification : 07 Dec 2021

Problème

When connecting Tableau Desktop to Snowflake using OAuth authentication, the following error occurs:

An error occurred while communicating with Snowflake
Invalid username or password.
Error Code: 2438FAD7
[Snowflake][Snowflake] (4)
   REST request for URL
<URL> failed: CURLerror (curl_easy_perform() failed) - code=7 msg='Couldn't connect to server' osCode=10061 osMsg='Unknown error'.

Environnement

  • Tableau Desktop 
  • Windows
  • Snowflake
  • OAuth authentication

Résolution

To resolve the issue, follow these steps:
  1. Click the Windows Start button and type in: env
  2.  From the search results, select 'Edit the system environment variables'.
  3. In the System Properties dialog, click 'Environment Variables'.
  4. In the Environment Variables dialog, under User variables, configure the following as required (If more than one value is specified, values should be separated by commas):
    • http_proxy
    • https_proxy
    • no_proxy
  5. Click OK to close the dialogs.

Cause

The connection needs to be made through a proxy in the particular environment, and this needs to be configured.

Informations supplémentaires

For more information about configuring proxy parameters with the Snowflake ODBC driver using environment variables, see this Snowflake document.
Cet article vous a-t-il permis de résoudre le problème ?