dbt-snowflake: [CT-1619] [Bug] Could not connect to Snowflake backend after 0 attempt(s)
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
post upgrade to 1.0.0 dbt cli is not connecting to snowflake
Expected Behavior
connect to snowflake after running dbt debug
Steps To Reproduce
Upgrade to dbt 1.0.0
execute dbt debug
Relevant log output
20:30:54 Running with dbt=1.0.0
dbt version: 1.0.0
python version: 3.9.9
python path: /usr/local/Cellar/dbt-snowflake/1.0.0/libexec/bin/python3.9
os info: macOS-12.0.1-x86_64-i386-64bit
Using profiles.yml file at /Users/me/.dbt/profiles.yml
Using dbt_project.yml file at /Users/me/Documents/Intellij Projects/gl/dbt/dbt_project.yml
Configuration:
profiles.yml file [OK found and valid]
dbt_project.yml file [OK found and valid]
Required dependencies:
- git [OK found]
Connection:
account: ********
user: ********
database: ********
schema: ********
warehouse: ********
role: ********
client_session_keep_alive: False
Connection test: [ERROR]
1 check failed:
dbt was unable to connect to the specified database.
The database returned the following error:
>Database Error
250001: Could not connect to Snowflake backend after 0 attempt(s).Aborting
Check your database credentials and try again. For more information, visit:
https://docs.getdbt.com/docs/configure-your-profile
Environment
- OS:MacOS Monterey
- Python: 3.9.9
- dbt: 1.0.0
What database are you using dbt with?
snowflake
Additional Context
I have upgraded via homebrew to dbt 1.0.0 and just like that all connections to snowflake stopped working.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (7 by maintainers)
I can confirm that removing the
awsat the end of theaccountstring makes the connection succeed. thanks @NathancalonThanks - Europe/Frankfurt - it doesn’t Thanks for the help. Everything is working now.
I’ve just installed and had the same issue (this is under Mac silicon with rosetta, which I have had issues with before but never finally fixed).
I just tried that install you suggested and it fails again. Really getting annoyed with dbt now, it just never seems to work with Snowflake on my Mac
// edit - I had followed the instruction to put .aws at the end of the connection but removing it connected ok.