telefonicaid / fiware-cygnus

A connector in charge of persisting context data sources into other third-party databases and storage systems, creating a historical view of the context
https://fiware-cygnus.rtfd.io/
GNU Affero General Public License v3.0
65 stars 105 forks source link

Error when using Atlas #1900

Open Choi-JongMoon opened 4 years ago

Choi-JongMoon commented 4 years ago

Hi im really interested in FIWARE project, especially Cygnus But, I faced this problem. I use Atlas MongoDB and I finished installing context Broker, Orion, and checked out saving into DB. And then using docker, there is an error.

services: cygnus: container_name: cygnus image: fiware/cygnus-ngsi:2.3.0 ports:

It seems "type=UNKNOWN problem". I think the additional preference is the problem. In Orion context Broker, there are several command option like -rplSet -dbAuthDb -dbSSL

But there is no rplicaSet, SSL in Cygnus Project.

How can I solve these problems?

fgalan commented 4 years ago

Thanks for the feedback!

Question: In the case of using a local MongoDB standalone instance without SSL and without replica set configuration (e.g. as a side docker container in the docker-compose.yml) does it work?

The answer to that question could help to narrow down the cause of the problem.

AlvaroVega commented 3 years ago

@fgalan @Choi-JongMoon Mtaybe this PR https://github.com/telefonicaid/fiware-cygnus/pull/1909 will fix this issue ?

fgalan commented 3 years ago

@fgalan @Choi-JongMoon Mtaybe this PR #1909 will fix this issue ?

PR #1909 has been just merged. @Choi-JongMoon Once the new container gets built in dockehub could you check how it goes, pleaes?