DBT-Core cannot connect to Snowflake via proxy

We’re using a proxy script (http://proxy.xxxxx.xxx/proxy.pac) set in Windows to reach the client’s Snowflake setup. This works fine for the Snowflake gui itself, however, we still cannot reach setup via dbt Core from the same machine: “Incoming request with IP/Token xxxxxx is not allowed to access Snowflake.”

I’ve already tried setting vars using set HTTP_PROXY and HTTPS_PROXY but this doesn’t seem to make any difference.

Running dbt debug:

Database Error
250001 (08001): Failed to connect to DB: xxxx.snowflakecomputing.com:443. Incoming request with IP/Token xxxx is not allowed to access Snowflake.