KNOWLEDGE BASE

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


Published: 16 Sep 2021
Last Modified Date: 20 Sep 2021

Issue

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

Environment

  • Tableau Desktop 
  • Windows
  • Snowflake
  • OAuth authentication

Resolution

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.

Additional Information

For more information about configuring proxy parameters with the Snowflake ODBC driver using environment variables, see this Snowflake document.
Did this article resolve the issue?