Welcome to the Alteryx Knowledge Base

Error: "Failed to retrieve Mongo connection information <Server Error: 404>" After Installing Alteryx Server 2023.2 with User-Managed MongoDB
user

Created/Edited - 12/6/2024 by London Hanson | Alteryx

Summary
After upgrading to or installing Alteryx Server 2023.2 with a User-Managed MongoDB setup, the Alteryx Service fails to start and the following error is observed in the Service logs: "Failed to retrieve Mongo connection information <Server Error: 404>".
Description
After upgrading to or installing Alteryx Server 2023.2 with a User-Managed MongoDB setup, the Alteryx Service fails to start and the following error is observed in the Service logs: "Failed to retrieve Mongo connection information <Server Error: 404>". The full error messages are shown below:
2023-11-01 16:03:04.274000,ERROR,2384,AlteryxService,,,,,,,,,"AlteryxService_SvcReportEvent: App <AlteryxService> message <Failed to retrieve Mongo connection information <Server Error: 404>>"

2023-11-01 16:03:04.274000,ERROR,2384,AlteryxService,,,,,,,,,"AlteryxService_LogStartupError: There was an error starting the Alteryx Service <Failed to retrieve Mongo connection information <Server Error: 404>>"
Environment
Alteryx Server 2023.2
User-Managed MongoDB
Cause
This issue is caused by a defect in the configuration app (Alteryx System Settings). The embedded MongoDB tag is incorrectly set to true. 
Resolution
  1. Navigate to \%ProgramData%\Alteryx on the Alteryx Server controller machine.
  2. Open the RuntimeSettings.xml file in a text editor like Notepad.
  3. Find the "EmbeddedMongoEnabled" flag, if present, and change "True" to "False" in the RuntimeSettings.xml file. If not present, add the following text beneath the "Controller" tag:
    		<EmbeddedMongoDBEnabled>False</EmbeddedMongoDBEnabled>
    image.png
  4. Save the RuntimeSettings.xml file.
Additional Information
This issue has been logged as a defect (TGAL-9017), and will be addressed in the Patch 1 release of Alteryx Server 2023.2.
Was this article helpful?