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

FIWARE.Question.Tech.Fiware Orion Bug (empty contextAttributeVector for ContextElementResponse 1) Error.

    Details

      Description

      Created question in FIWARE Q/A platform on 23-11-2023 at 15:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/77537520/fiware-orion-bug-empty-contextattributevector-for-contextelementresponse-1-err

      Question:
      Fiware Orion Bug (empty contextAttributeVector for ContextElementResponse 1) Error

      Description:
      We have an IoT platform environment on AWS EKS that uses a fiware stack comprising iotagent, Orion (version 3.4.0), and Draco.
      Our objective is to conduct scalability testing for 420 devices. For every 30 seconds, a command request is sent from a device simulator to the spring boot application API(running on EKS), this in turn calls ORION and updates the payload in Mongodb of ORION.
      the payload will send a Batch update Orion call (POST http://orion:1026/v2/op/update), using fiware-service and fiware-servicepath with payload.
      Please find the payload information below.
      curl -iX POST \
      'http://orion:1026/v2/op/update' \
      -H 'Content-Type: application/json' \
      -H 'fiware-service: building' \
      -H 'fiware-servicepath: /co/pf/building' \
      -d '{"actionType":"update",
      "entities":[{"wifi":{"type":"command","value":{"requestTime":"2023-11-23T18:50:00.060",
      "payload":

      {"wifi-heater_7_status":"on","requestTimestamp":"2023-11-23T18:49:59.091", "wifi-heater_8_status":"on"}

      ,
      "transactionId":"fbxxx679-87a5-4xxx-83fb-049xxxxxc7df"}},
      "id":"urn:ngsi-ld:Equipment:wifi001",
      "type":"Equipment"}]}

      We are facing this error in the spring boot application REST API call response from Orion log , we see below message response:
      fiware-orion | "time=2023-11-22T05:14:54.019Z | lvl=ERROR |
      corr=11234246-88f6-12e342-a5ca-e66xwsssxc | trans=170000003-387-00000000001 |
      from=99.999.99.99 | srv=building | subsrv=/co/pf/building|
      comp=Orion | op=postUpdateContext.cpp[684]:postUpdateContext |
      msg=Orion Bug (empty contextAttributeVector for ContextElementResponse 1)",

      Has anyone encountered this problem before? If so, could you please share the solution that worked for you?
      I am grateful for your assistance!

        Activity

        Hide
        newbacklogmanager Backlog Manager added a comment -

        2025-02-04 17:53|CREATED monitor | # answers= 1, accepted answer= True

        Show
        newbacklogmanager Backlog Manager added a comment - 2025-02-04 17:53|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        newbacklogmanager Backlog Manager added a comment -

        2025-02-05 01:01|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        newbacklogmanager Backlog Manager added a comment - 2025-02-05 01:01|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        newbacklogmanager Backlog Manager added a comment -

        2025-02-06 01:01|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        newbacklogmanager Backlog Manager added a comment - 2025-02-06 01:01|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            Unassigned
            Reporter:
            newbacklogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: