Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
Labels:
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":
,
"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!
2025-02-04 17:53|CREATED monitor | # answers= 1, accepted answer= True