[Backlogmanager] [FIWARE-JIRA] (HELP-13331) [fiware-stackoverflow] Orion Context Broker and Docker - Empty reply from server

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Tue Jan 16 16:35:00 CET 2018


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

Fernando Lopez reassigned HELP-13331:
-------------------------------------

    Assignee: Fermín Galán

> [fiware-stackoverflow] Orion Context Broker and Docker - Empty reply from server
> --------------------------------------------------------------------------------
>
>                 Key: HELP-13331
>                 URL: https://jira.fiware.org/browse/HELP-13331
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Fermín Galán
>              Labels: docker, fiware, fiware-orion, mongodb
>
> Created question in FIWARE Q/A platform on 24-10-2017 at 15:10
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/46911696/orion-context-broker-and-docker-empty-reply-from-server
> +Question:+
> Orion Context Broker and Docker - Empty reply from server
> +Description:+
> I recently started project involving Orion Context Broker. Tried to started it on windows using docker. 
> https://hub.docker.com/r/fiware/orion/
> First method didn't come out good, error that I got while using original code from tutorial is:
>    ERROR: yaml.parser.ParserError: while parsing a block mapping
>    in ".\docker-compose.yml", line 1, column 1
>    expected <block end>, but found '<block mapping start>'
>    in ".\docker-compose.yml", line 5, column 2
> Then I decided to move on to second method, I started mongoDB with default parameters. I got it to listening for connections and used the 2A way from docker site. 
>    sudo docker run -d --name orion1 -p 1026:1026 fiware/orion
> It seems to have started because it has not returned any errors while starting. However if I use:
>    curl localhost:1026/version
> I receive no response whatsoever it just freeze and in mongoDB console I don't have any new connection. The addr of docker container is right. Firewall is off. It seems like it haven't connected, but it's running. If I want to start again orion context broker it tells me that it's already running, so then I stop it, remove orion1 and can start it again. When I connect to running mongoDB from another console it shows a new connection while when connecting with Context Broker there isn't. 
> When I checked CB logs I got
> time=Tuesday 24 Oct 21:37:32 2017.378Z | lvl=ERROR | corr=N/A 
> trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | 
> op=mongoConnectionPool.cpp[152]:mongoConnect |
> msg=Database Startup Error (cannot connect to mongo - doing 100 retries  with a 1000 microsecond interval)



--
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