Using this guide:
The fastest, easiest way to share data and analytics inside your company. An open source Business Intelligence server you can install in 5 minutes that connects to MySQL, PostgreSQL, MongoDB and more! Anyone can use it to build charts, dashboards and...
Getting these log errors:
ERROR metabase.driver.util Database connection error java.util.concurrent. TimeoutException: Timed out after 5.0 s
ERROR metabase.api.database Cannot connect to Database java.lang.Exception: Timed out after 5.0 s
Is the error with the parameters or is it with something else?
Environment:
Metabase v0.40.3
Linux w/Metabase as a service
Hi @mesquest
Normally when you get that error, then you are either inputting incorrect host or port, or there is a firewall blocking.
Check the logs for possible more details - Admin > Troubleshooting > Logs.
Latest release is 0.40.5: https://github.com/metabase/metabase/releases/latest
Thanks @flamber , Metabase cloud brings in my SQL Server database just fine, the problem then is with my environment:
Metabase v0.40.3
Linux Bitnami LAMP stack w/Metabase as a service; RAM 2G, 1vCPU
Do these statements gleaned from the log point to anything in particular that needs remedial action?
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.util.concurrent.TimeoutException: Timed out after 5.0 s
INFO metabase.driver.impl Initializing driver :sqlserver...
INFO metabase.plugins.classloader Added URL file:/opt/bitnami/metabase/plugins/sqlserver.metabase-driver.jar to classpath
DEBUG metabase.plugins.init-steps Loading plugin namespace metabase.driver.sqlserver...
INFO metabase.driver.impl Registered driver :sqlserver (parents: [:sql-jdbc])
DEBUG metabase.plugins.jdbc-proxy Registering JDBC proxy driver for com.microsoft.sqlserver.jdbc.SQLServerDriver...
ERROR metabase.driver.util Database connection error java.util.concurrent.TimeoutException: Timed out after 5.0 s
ERROR metabase.api.database Cannot connect to Database java.lang.Exception: Timed out after 5.0 s
@mesquest You need to post the entire stacktrace. But it's a networking problem in your environment, but there could be a lot of reasons to that, anything ranging from DNS to firewalls to antivirus.
Have a look here: https://www.metabase.com/docs/latest/troubleshooting-guide/datawarehouse.html