Trouble connective to snowflake

Hi

While trying to setup a database via metabase to snowflake, despite giving all the relevant details I am getting the below error.

09-12 09:45:55 DEBUG plugins.jdbc-proxy :: Registering JDBC proxy driver for class net.snowflake.client.jdbc.SnowflakeDriver…
Load lazy loading driver :snowflake took 590.4 ms
09-12 09:46:00 ERROR driver.util :: Database connection error
java.util.concurrent.TimeoutException: Timed out after 5,000 milliseconds.
at metabase.util$deref_with_timeout.invokeStatic(util.clj:325)
at metabase.util$deref_with_timeout.invoke(util.clj:317)
at metabase.util$do_with_timeout.invokeStatic(util.clj:331)
at metabase.util$do_with_timeout.invoke(util.clj:328)
at metabase.driver.util$can_connect_with_details_QMARK_.invokeStatic(util.clj:29)
at metabase.driver.util$can_connect_with_details_QMARK_.doInvoke(util.clj:18)
at clojure.lang.RestFn.invoke(RestFn.java:442)
at metabase.api.database$test_database_connection.invokeStatic(database.clj:318)
at metabase.api.database$test_database_connection.doInvoke(database.clj:307)
at clojure.lang.RestFn.invoke(RestFn.java:425)
at metabase.api.database$fn__51597$test_connection_details__51602$fn__51603.invoke(database.clj:357)
at metabase.api.database$fn__51597$test_connection_details__51602.invoke(database.clj:345)
at metabase.api.database$fn__51653.invokeStatic(database.clj:392)
at metabase.api.database$fn__51653.invoke(database.clj:379)
at compojure.core$wrap_response$fn__1973.invoke(core.clj:160)
at compojure.core$wrap_route_middleware$fn__1957.invoke(core.clj:132)
at compojure.core$wrap_route_info$fn__1962.invoke(core.clj:139)

I am using the latest version of metabase and I am not sure what is the cause of the issue. This is when I can access snowflake from other jdbc based tools like DBeaver.

Regards
Priyabrata Dash

Hi @priyab
So you’re using version 0.33.2?
How are you running Metabase - with Docker, JAR, …?
Usually when you see the error Timed out after 5,000 milliseconds it’s because the database host address/port is incorrect or being blocked by a firewall.