You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to setting up Teleport, and I'm sorry if I make any mistakes. Could someone help me pinpoint the problem with why I can't connect to my replica set MongoDB?
I've been following the instructions provided here to set up database access for a self-hosted MongoDB
Issue: tsh db connect example-mongo --db-user=teleport-admin2 --db-name=test
Result:
Current Mongosh Log ID: 6759b54be6cbfcc326e94969
Connecting to: mongodb://localhost:39139/test?serverSelectionTimeoutMS=5000&directConnection=true&tls=true&tlsCertificateKeyFile=%2Froot%2F.tsh%2Fkeys%2F<proxyserver>%2Fteleport-admin2-db%2F<sample-teleport>%2Fexample-mongo-x509.pem&tlsCAFile=%2Froot%2F.tsh%2Fkeys%2F<proxyserver>%2Fcas%2F<sample-teleport>.pem&appName=mongosh+2.3.4
MongoServerSelectionError: Server selection timed out after 5000 ms
ERROR: exit status 1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm new to setting up Teleport, and I'm sorry if I make any mistakes. Could someone help me pinpoint the problem with why I can't connect to my replica set MongoDB?
I've been following the instructions provided here to set up database access for a self-hosted MongoDB
Issue:
tsh db connect example-mongo --db-user=teleport-admin2 --db-name=test
Result:
Here's my teleport.yaml
/etc/teleport.yaml
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions