Connecting AWS DocumentDB to Metabase

Hi,
I am trying to connect to a AWS DocumentDB using Metabase.
From the machine metabase is setup in i have verified that i am able to connect to aws documentdb directly. (so no issue of vpc, firewall, etc i think)

I have used keytool like stated in the metabase docs to conect to mongodb with self signed certificate .

using the following command then to start metabase

java -Djavax.net.ssl.trustStore=cacerts.jks -Djavax.net.ssl.trustStorePassword={my_keystore_password} -jar metabase.jar

When i then try from the metabase UI to connect i get the following error
Timed out after 3000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address= {address of document db host} , type=UNKNOWN, state=CONNECTING}]

i have provided the following in the UI -
host -
port -
database_name -
database_username -
database_password -

Tried with adding ssl=true in the additional string and also with ssh tunneling. Still getting the timed out after 3000 ms error.

Would be great if someone could help me out. Thanks!

Sorry.
Just bumping this topic, still stuck on this issue

I don’t think it’s currently possible:
https://github.com/metabase/metabase/issues/10943 - upvote by clicking :+1: on the first post

1 Like

Thanks for replying,
It mentions in the first post that he was able to atleast import it into metabase, i am facing an issue in importing it itself, its similar to the one posted in third post.

(upvoted the issue, would be great to also have all the features supported)