Error "[ERROR-ReplSet:18880]" is shown in the logs of the cloud application

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content