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

FIWARE.Question.Tech.FIWARE Orion - Error: "Response to QueryContext is empty".

    Details

      Description

      Created question in FIWARE Q/A platform on 02-11-2018 at 10:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/53115702/fiware-orion-error-response-to-querycontext-is-empty

      Question:
      FIWARE Orion - Error: "Response to QueryContext is empty"

      Description:
      I have followed the NGSI API documentation and I'm using registrations to forward a query to a custom path which will handle it.

      I'm working on the examples shown in the APIv2 Documentation. I have two containers running the Context broker on different ports.

      In one of them I have created the Room1 asset, in the other I have created the registration for that asset.

      I'm querying the second one for that identity, in the logs the following message appears:

      orion2_1 | time=Friday 02 Nov 08:48:19 2018.704Z | lvl=WARN | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=postQueryContext.cpp[168]:queryForward | msg=Other Error (context provider response to QueryContext is empty)

      This is the registration:

      {
      "id": "5bdc14dfcbe7f9fb0a95002e",
      "description": "Registration for Room1",
      "dataProvided": {
      "entities": [

      { "id": "Room1", "type": "Room" }

      ],
      "attrs": [
      "temperature",
      "pressure"
      ]
      },
      "provider": {
      "http":

      { "url": "http://192.168.1.100:8000/v2" }

      ,
      "supportedForwardingMode": "all",
      "legacyForwarding": true
      },
      "status": "active"
      }

      This is the Room1 entity:

      {
      "id": "Room1",
      "type": "Room",
      "pressure": {
      "type": "Integer",
      "value": 720,
      "metadata": {}
      },
      "temperature": {
      "type": "Float",
      "value": 23,
      "metadata": {}
      }
      }

      Can anyone help me?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2018-11-02 12:06|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-11-02 12:06|CREATED monitor | # answers= 0, accepted answer= False

          People

          • Assignee:
            jmcantera Jose Manuel Cantera
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: