[ https://jira.fiware.org/browse/HELP-14929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fernando Lopez updated HELP-14929: ---------------------------------- Description: Created question in FIWARE Q/A platform on 02-11-2018 at 10:11 {color: red}Please, ANSWER this question AT{color} 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? was: Created question in FIWARE Q/A platform on 02-11-2018 at 10:11 {color: red}Please, ANSWER this question AT{color} 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? HD-Enabler: Orion > FIWARE.Question.Tech.FIWARE Orion - Error: "Response to QueryContext is empty". > ----------------------------------------------------------------------------------------- > > Key: HELP-14929 > URL: https://jira.fiware.org/browse/HELP-14929 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Assignee: Jose Manuel Cantera > Labels: fiware, fiware-orion > > Created question in FIWARE Q/A platform on 02-11-2018 at 10:11 > {color: red}Please, ANSWER this question AT{color} 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? -- This message was sent by Atlassian JIRA (v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy