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

[fiware-stackoverflow] When more load FIWARE Orion service getting error 'Timeout was reached' forwarding 'Update' to providing application

    Details

      Description

      Created question in FIWARE Q/A platform on 20-11-2023 at 10:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/77515003/when-more-load-fiware-orion-service-getting-error-timeout-was-reached-forwardi

      Question:
      When more load FIWARE Orion service getting error 'Timeout was reached' forwarding 'Update' to providing application

      Description:
      I am trying to provision a device and send actuation commands back using 1 component Orion.
      I have successfully provisioned the device using to update orion query:
      curl -iX POST \
      'http://orion:1024/v2/op/update' \
      -H 'Content-Type: application/json' \
      -H 'fiware-service: agriculture' \
      -H 'fiware-servicepath: /agriculture' \
      -d '{
      "actionType":"update",
      "entities":[{"motor":{"type":"command","value":{"requestTime":"2023-11-17T06:50:00.060",
      "payload":

      {"motor_status":"on","requestTimestamp":"2023-11-17T18:49:59.091", "motor_status":"on"}

      ,"transactionId":"xxxx-87a5-4xxx2-xxx-xxxxxxx"}},"id":"urn:ngsi-ld:test:test1","type":"test"}]}

      an automatic registrations is created in Orion after provisioning the device:
      {
      "id": "5d2d9f4f795d881c2355ab7c",
      "expires": "2023-11-17T18:49:59.100Z",
      "dataProvided": {
      "entities": [

      { "id": "urn:ngsi-ld:test:test1", "type": "tempHumid" }

      ],
      "attrs": ["on", "off"]
      },
      "provider": {
      "http":

      { "url": "http://orion:1024/v2/op/update" }

      ,
      "supportedForwardingMode": "all",
      "legacyForwarding": true
      },
      "status": "active"
      }

      I am facing, and after trying, I have obtained this error:

      {"error":"NotFound","description":"The requested entity has not been found. Check type and id"}

      while Orion reported

      fiware-orion Starting transaction to http://orion:1024/v2/op/update

      fiware-orion | ERROR@10:16:34 postUpdateContext.cpp[190]:Runtime Error (error 'Timeout was reached' forwarding 'Update' to providing application)
      fiware-orion | INFO@10:16:34 logMsg.h[1874]: Transaction ended

      Thank you in advance I appreciate your help!

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2023-11-21 05:31|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2023-11-21 05:31|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2023-11-22 05:31|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2023-11-22 05:31|UPDATED status: transition Answer| # answers= 1, accepted answer= True

          People

          • Assignee:
            jason.fox Jason Fox
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: