03-24-2017 05:09 PM - edited 07-09-2021 09:01 AM
This is a very common error that can occur if the AlteryxService shuts down unexpectedly. Most commonly the error is caused by MongoDB not shutting down properly and the lock file does not get released. This prevents MongoDB from starting the next time you try to start the AlteryxService and returns an error message similar to:
"Mongo connection failed, please ensure server address and credentials are correct."
To resolve this error, first follow the steps below
If it does have data inside (1k usually), we recommend to first clone your server instance(in case of corruption) before proceeding to the steps below. For assistance cloning your server instance, please reach out to customer support.
mongod --dbpath "folder path from system settings" --auth --port 27018
If the lock file was ok
This is super helpful Andrew!
I got a quick question still if you may have a look on this.
I created a Mongo DB and try to connect it with Alteryx designer, however, the MongoDB Input is able to connect to DATABASE while it is not able to extract the collection information.
My DB info is as below, great thanks if you may have a look on the issue!
connection string: mongodb://root:Hello%402022@dds-uf6000d77dec59941305-pub.mongodb.rds.aliyuncs.com:3717
server: mongodb://root:Hello%402022@dds-uf6000d77dec59941305-pub.mongodb.rds.aliyuncs.com:3717
username: root
password: Hello@2022