Connecting to MongoDB atlas

Hi,
I am meeting a similar problem. How to solve it?
Thanks.
I have installed MongoDB and Fireworks, which can work.
but, lpad -l my_launchpad_testing.yaml get_wflows
my_launchpad_testing.yaml content:
host: ds049170.mongolab.com
port: 49170
name: fireworks
username: test_user
password: testing123
error:pymongo.errors.ServerSelectionTimeoutError: ds049170.mongolab.com:49170: timed out, Timeout: 30s, Topology Description: <TopologyDescription id: 6239472928138c21255e452b, topology_type: Unknown, servers: [<ServerDescription (β€˜ds049170.mongolab.com’, 49170) server_type: Unknown, rtt: None, error=NetworkTimeout(β€˜ds049170.mongolab.com:49170: timed out’)>]>

@SamWang:

Have you tried formatting your my_launchpad.yaml file like follows?

host: <URI>
port: 27017
name: <db name>
uri_store: true
logdir: null
Istrm_lvl: DEBUG
user_indices: []
wf_user_indices: []

You can find the URI in the connection instructions on MongoDB Atlas. It’s formatted like mongodb+srv://<username>:<password>@<host>/<database_name>.

Thanks. Now, it can work with this setup.
share my_launchpad_testing. yaml content:
host: my_URI
port: 27017
name : my db
uri_store: true
logdir: null
Istrm_lvl: DEBUG
user_indices: [ ]
wf_user_indices: [ ]
then,
lpad -l my_launchpad_testing.yaml get_wflows
no error

@SamWang – great to hear that it’s resolved! I have created a PR to update the documentation so that other users are not confused about this in the future.

Happy fireworks-ing!