Comments (5)
That exception indicates that the address of the Postgres database could not be resolved. Nothing related to DB connections changed with 49.3. Without any further logs, there's no more I can say.
Can you include the full server log? There may be something illuminating in it.
from metabase.
That exception indicates that the address of the Postgres database could not be resolved. Nothing related to DB connections changed with 49.3. Without any further logs, there's no more I can say.
Can you include the full server log? There may be something illuminating in it.
Thank you @bshepherdson for your quick answer!
Apologies for the mistake! It's actually 49.4
I wil fix the original ticket
Here are the full logs in the meantime
2024-04-15 20:12:28,245 ERROR driver.util :: Failed to connect to Database
org.apache.sshd.common.SshException: DefaultConnectFuture[[email protected]:22]: Failed (UnresolvedAddressException) to execute: null
at org.apache.sshd.common.future.AbstractSshFuture.lambda$verifyResult$2(AbstractSshFuture.java:146)
at org.apache.sshd.common.future.AbstractSshFuture.formatExceptionMessage(AbstractSshFuture.java:206)
at org.apache.sshd.common.future.AbstractSshFuture.verifyResult(AbstractSshFuture.java:145)
at org.apache.sshd.client.future.DefaultConnectFuture.verify(DefaultConnectFuture.java:55)
at org.apache.sshd.client.future.DefaultConnectFuture.verify(DefaultConnectFuture.java:36)
at metabase.util.ssh$start_ssh_tunnel_BANG_.invokeStatic(ssh.clj:81)
at metabase.util.ssh$start_ssh_tunnel_BANG_.invoke(ssh.clj:73)
at metabase.util.ssh$include_ssh_tunnel_BANG_.invokeStatic(ssh.clj:115)
at metabase.util.ssh$include_ssh_tunnel_BANG_.invoke(ssh.clj:109)
at metabase.util.ssh$do_with_ssh_tunnel.invokeStatic(ssh.clj:158)
at metabase.util.ssh$do_with_ssh_tunnel.invoke(ssh.clj:154)
at metabase.driver.sql_jdbc.connection$do_with_connection_spec_for_testing_connection.invokeStatic(connection.clj:309)
at metabase.driver.sql_jdbc.connection$do_with_connection_spec_for_testing_connection.invoke(connection.clj:305)
at metabase.driver.sql_jdbc.connection$can_connect_QMARK_.invokeStatic(connection.clj:334)
at metabase.driver.sql_jdbc.connection$can_connect_QMARK_.invoke(connection.clj:330)
at metabase.driver.sql_jdbc$fn__106676.invokeStatic(sql_jdbc.clj:49)
at metabase.driver.sql_jdbc$fn__106676.invoke(sql_jdbc.clj:47)
at clojure.lang.MultiFn.invoke(MultiFn.java:234)
at metabase.driver.util$can_connect_with_details_QMARK_$fn__59933.invoke(util.clj:148)
at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2047)
at clojure.lang.AFn.call(AFn.java:18)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.nio.channels.UnresolvedAddressException
at java.base/sun.nio.ch.Net.checkAddress(Unknown Source)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(Unknown Source)
at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.connect(Unknown Source)
at org.apache.sshd.common.io.nio2.Nio2Connector.connect(Nio2Connector.java:84)
at org.apache.sshd.client.SshClient.doConnect(SshClient.java:665)
at org.apache.sshd.client.SshClient.doConnect(SshClient.java:648)
at org.apache.sshd.client.SshClient.connect(SshClient.java:552)
at org.apache.sshd.client.SshClient.connect(SshClient.java:544)
at org.apache.sshd.client.session.ClientSessionCreator.connect(ClientSessionCreator.java:74)
at org.apache.sshd.client.session.ClientSessionCreator.connect(ClientSessionCreator.java:57)
at metabase.util.ssh$start_ssh_tunnel_BANG_.invokeStatic(ssh.clj:80)
... 19 more
2024-04-15 20:12:28,251 ERROR api.database :: Cannot connect to Database
clojure.lang.ExceptionInfo: DefaultConnectFuture[[email protected]:22]: Failed (UnresolvedAddressException) to execute: null {:message "DefaultConnectFuture[[email protected]:22]: Failed (UnresolvedAddressException) to execute: null"}
at metabase.driver.util$can_connect_with_details_QMARK_.invokeStatic(util.clj:165)
at metabase.driver.util$can_connect_with_details_QMARK_.doInvoke(util.clj:136)
The exact same connection worked fine between Metabase 47 until 49.3
from metabase.
Are you using a hostname or IP address for the SSH host? @saadbahir
from metabase.
Are you using a hostname or IP address for the SSH host? @saadbahir
I am using a Hostname
from metabase.
@likeshumidity I would like to note that the ssh connection works perfectly fine on the server that hosts our metabase instance
Otherwise version 49.3 wouldn't work either
I tried to find which commit might have introduced the regression but didn't find any success thus far ...
from metabase.
Related Issues (20)
- Filtering by exact date and time works incorrectly if midnight is chosen
- 0.49.11:The data retrieved using a date picker is different from the data retrieved by directly entering the date.
- Update the design for custom expression shortcuts HOT 3
- Serialized models should declare fields to serialize
- Previous period comparison shortcut in notebook mode
- Previous period comparison shortcut in chill mode
- Analytic events
- [Testing plan] Time-over-time comparison
- Embedding SDK for Vue.js
- Break out popover overflows the screen
- Dates before 1906-01-01 break the formatting. HOT 2
- Invalid API request fired when clicking chart legend item
- Joining two models create the error card id 119 doesn't exist
- Time-over-time comparison aggregation helpers
- New Search button does not shrink on mobile
- Admins can't create queries on Metabase Analytics models HOT 1
- Normalizer interprets "expression" as a MBQL :expression, but it is just a column name
- Improve api/activity/recent_items performance HOT 1
- Remove Query Processor legacy metric expansion and port legacy metric tests
- Provide Macaw with driver-based formatting options HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metabase.