The Qlik Replicate UI fails to connect to Snowflake. The following error is shown:
SYS-E-HTTPFAIL, Cannot connect to Cloud server.
SYS,GENERAL_EXCEPTION,Cannot connect to Cloud server,RetCode: SQL_ERROR SqlState: HY000 NativeError: 4 Message: [Snowflake][Snowflake] (4) REST request for URL https://usable-abi.privatelink.snowflakecomputing.com:443/session/v1/login-request?requestId=1fdc7df... failed: CURLerror (curl_easy_perform() failed) - code=56 msg='Failure when receiving data from the peer'.
Using the Qlik Replicate server curl command is successful:
curl -v https://usable-abi.privatelink.snowflakecomputing.com:443
* Rebuilt URL to: https://usable-abi.privatelink.snowflakecomputing.com:443/
* Trying 10.200.2.4...
* TCP_NODELAY set
* Connected to usable-abi.privatelink.snowflakecomputing.com (10.200.2.4) port 443 (#0)
Connecting with iSQL command from the Qlik Replicate server is also successful (How to create Snowflake ODBC DSN On Linux CentOS ? and Installing and Configuring the ODBC Driver for Linux) while using the root account. Connecting using a service account, the same error is observed.
Resolution
Run command source ./arep_login.sh from the Qlik Replicate bin directory and issue was resolved.
Environment
Qlik Replicate