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

FIWARE.Question.Tech.STH getting historical raw context.

    Details

      Description

      Created question in FIWARE Q/A platform on 24-08-2017 at 19:08
      Please, ANSWER this question AT https://stackoverflow.com/questions/45867677/sth-getting-historical-raw-context

      Question:
      STH getting historical raw context

      Description:
      I installed Orion and Fiware STH in order to use the minimalistic option.

      The problem is that when i subscribe to an orion context then consult, the array is null.

      "name": "temperature",
      "values": []

      In the STH log it says:

      ERROR when collecting the raw data collection for retrieval (the collection may not exist).

      I noticed that when i try to unsubscribe it returns a 200 OK message with the following body:

      {
      "subscriptionId": "xxx",
      "statusCode":

      { "code": "404", "reasonPhrase": "No context element found", "details": "subscriptionId: /xxx/" }

      }

      EDIT: The request URL is:
      192.168.60.117:8080/STH/v1/contextEntities/type/room/id/Room‌​1/

      (In my case the type is "room" and not "Room"). The headers are Accept,
      Content-Type, Fiware-Service, Fiware-ServicePath

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2018-01-12 19:49|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-01-12 19:49|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        andres.munoza Andres Muñoz added a comment -

        Hello,

        It looks like more a problem when you make the subscription to ORION than when the data is processed by STH, you can find how to make the subscription in Orion and how to notify to STH in this link: https://fiware-sth-comet.readthedocs.io/en/latest/data-storage/index.html, Also, if you provide more information of how you make the subscription and the logs I could have a better view of where is the problem and I can help you in a better way.

        Show
        andres.munoza Andres Muñoz added a comment - Hello, It looks like more a problem when you make the subscription to ORION than when the data is processed by STH, you can find how to make the subscription in Orion and how to notify to STH in this link: https://fiware-sth-comet.readthedocs.io/en/latest/data-storage/index.html , Also, if you provide more information of how you make the subscription and the logs I could have a better view of where is the problem and I can help you in a better way.
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-01-19 15:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-01-19 15:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          People

          • Assignee:
            andres.munoza Andres Muñoz
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: