知識庫

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


發佈時間 : 16 Sep 2021
上次修改日期 : 07 Dec 2021

問題

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

環境

  • Tableau Desktop 
  • Windows
  • Snowflake
  • OAuth authentication

解決方法

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.

原因

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

其他資訊

For more information about configuring proxy parameters with the Snowflake ODBC driver using environment variables, see this Snowflake document.
這篇文章是否解決了問題?