KNOWLEDGE BASE

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


Pubblicato: 16 Sep 2021
Data dell'ultima modifica: 07 Dec 2021

Problema

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'.

Ambiente

  • Tableau Desktop 
  • Windows
  • Snowflake
  • OAuth authentication

Soluzione

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.

Causa

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

Ulteriori informazioni

For more information about configuring proxy parameters with the Snowflake ODBC driver using environment variables, see this Snowflake document.
Con questo articolo hai risolto il problema?