Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4271

FIWARE.Question.Tech.Data.OrionContextBroker.OrionCBWorksHalfOfTheTimes

    Details

      Description

      Created question in FIWARE Q/A platform on 05-08-2015 at 21:08
      Please, ANSWER this question AT http://stackoverflow.com/questions/31840739/orion-context-broker-works-half-of-the-times

      Question:
      Orion Context Broker works half of the times

      Description:
      I've installed Orion Context Broker 0.23.0 and it behaves rare: it only works half of the times. For instance, when trying to retrieve the version I get this error message:

      $ curl "http://localhost:1026/version"
      curl: (52) Empty reply from server
      $ curl "http://localhost:1026/version"
      <orion>
      <version>0.23.0</version>
      <uptime>15 d, 22 h, 13 m, 18 s</uptime>
      <git_hash>f5d76a6f11736d52402e63a4aa0ba990bff7f5eb</git_hash>
      <compile_time>Fri Jul 10 13:21:42 CEST 2015</compile_time>
      <compiled_by>fermin</compiled_by>
      <compiled_in>centollo</compiled_in>
      </orion>
      $ curl "http://localhost:1026/version"
      curl: (52) Empty reply from server
      $ curl "http://localhost:1026/version"
      <orion>
      <version>0.23.0</version>
      <uptime>15 d, 22 h, 13 m, 53 s</uptime>
      <git_hash>f5d76a6f11736d52402e63a4aa0ba990bff7f5eb</git_hash>
      <compile_time>Fri Jul 10 13:21:42 CEST 2015</compile_time>
      <compiled_by>fermin</compiled_by>
      <compiled_in>centollo</compiled_in>
      </orion>

      This behaviour is deterministic, I mean, after failing it always works, and after working it always fails. This occurs with all the operations within the REST API.

      I've checked the listening ports and the process running them matches the Orion's one:

      $ sudo netstat -ntlp | grep 1026
      tcp 0 0 0.0.0.0:1026 0.0.0.0:* LISTEN 9944/contextBroker
      tcp 0 0 :::1026 :::* LISTEN 9944/contextBroker

      $ ps ax | grep contextBroker | grep -v grep
      9944 ? Ssl 0:13 /usr/bin/contextBroker -port 1026 -logDir /var/log/contextBroker -pidpath /var/run/contextBroker/contextBroker.pid -dbhost localhost -db orion -multiservice

      Any hints? Thanks!

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: