Error "[ERROR-ReplSet:18880]" is shown in the logs of the cloud application
Issue
-
MongoDB fails to connect when the application starts and the following error (or similar) is thrown in the logs:
[ERROR-ReplSet:18880] 1481813026863 [1] server in replset example-replset is not part of the specified setName example-replset?slaveOk { type: 'error', message: '[1] server in replset example-replset is not part of the specified setName example-replset?slaveOk', className: 'ReplSet', pid: 18880, date: 1481813026863 }
Environment
- Red Hat Mobile Application Platform Version 3
- MongoDB
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
