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!