Topology type: unknown is not writable in MongoDB® Compass. If your plan has a single node replica, you might see the error Host: .:31312 (Hostname + Port)Ĭommon issues topology type: unknown is not writable.You can make it available on the internet from your database dashboard. Connection with TLSĪs a replacement to using an encrypted tunnel to connect to your database, On the other hand, MongoDB clients require to reach all the instances of The reason is that the DB tunnel is designed to connect to only one node. It is not possible to access a replica set using the DB tunnel or the If your MongoDB database uses a Business plan, you have a replica set. Once youve connected successfully, you should see an alert. Then paste this string into Visual Studio Code. Make sure to add your username and password in their respective places before entering the string in Visual Studio Code. SSH Identity File: Your private SSH key linked to the public SSH key you Choose the 'Connect using MongoDB Compass' option and copy the connection string.You can find all information at the end of SSH Hostname/SSH Port/SSH Username: Depends on the region where yourĭatabase is hosted.SSH Tunnel/Proxy Method: SSH with Identity File.You can find URLs of our CA certificates at the end of Certificate Authority (.pem): Depends on the region where your database.Authentication Method: Username / Password.Open MongoDB® Compass, then click on “New Connection”.Īfter that click on “Advanced Connection Options” and fill the fields Password: EsEjseivpacatVoogfijbiapgadTyg.$ scalingo -app my-app env-get =my-app-7093-rs0&ssl = true
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |