iotagent-json icon indicating copy to clipboard operation
iotagent-json copied to clipboard

Payload measures are lost after reconnection with Orion.

Open MayankSingh-NEC opened this issue 1 year ago • 0 comments

Issue Description: When Orion is down, the data which is sent via IOTA is lost. Once orion is restarted, then we need to send new payload measures and get response accordingly. The IOTA does not have the property to store and update the older data in the Orion.

Reproduction Steps:

  1. Service Provisioning
  2. Device Provisioning
  3. Stop the Orion-CB container
  4. Send the payload measures
  5. Restart the same Orion-CB container
  6. Retrive value with QueryContext

Expected Result : Older data should be stored and updated in Orion, when orion is restarted.

Actual Result :

  1. Error found executing update action in Context Broker: RequestError: connect ECONNREFUSED 127.0.0.1:1026
  2. MEASURES-002: Couldn't send the updated values to the Context Broker due to an error

MayankSingh-NEC avatar May 11 '23 08:05 MayankSingh-NEC