[Backlogmanager] [FIWARE-JIRA] (HELP-16550) [fiware-stackoverflow] Connect orion to a mongodb replica set

Mohamed Sadiq (JIRA) jira-help-desk at jira.fiware.org
Mon Feb 24 20:02:00 CET 2020


     [ https://jira.fiware.org/browse/HELP-16550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mohamed Sadiq reassigned HELP-16550:
------------------------------------

    Assignee: Ken Zangelin

> [fiware-stackoverflow] Connect orion to a mongodb replica set
> -------------------------------------------------------------
>
>                 Key: HELP-16550
>                 URL: https://jira.fiware.org/browse/HELP-16550
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Ken Zangelin
>              Labels: fiware, fiware-orion, mongodb
>
> Created question in FIWARE Q/A platform on 19-02-2020 at 15:02
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/60302099/connect-orion-to-a-mongodb-replica-set
> +Question:+
> Connect orion to a mongodb replica set
> +Description:+
> I try to connect the orion context broker to a mongodb replica set. I have the following mongodb url:
> mongodb://rwuser:****@192.168.0.139:8635,192.168.0.180:8635/test?authSource=admin&replicaSet=replica
> As described here I set the following parameters:
> -rplSet replica
> -dbhost 192.168.0.139:8635,192.168.0.180:8635
> -dbuser rwuser
> -dbpwd password
> -dbAuthDb admin
> But orion can't connect to the database:
> time=Wednesday 19 Feb 10:42:20 2020.241Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=mongoConnectionPool.cpp[213]:mongoConnect | msg=Database Startup Error (cannot connect to mongo - doing 100 retries with a 1000 millisecond interval)
> What am I missing?



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy