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

[fiware-stackoverflow] FIWARE IoT Agent is changing the service path of incoming message

    Details

      Description

      Created question in FIWARE Q/A platform on 13-09-2023 at 20:09
      Please, ANSWER this question AT https://stackoverflow.com/questions/77100168/fiware-iot-agent-is-changing-the-service-path-of-incoming-message

      Question:
      FIWARE IoT Agent is changing the service path of incoming message

      Description:
      We are currently using the VernemQ MQTT server in conjunction with a FIWARE stack that comprises the IoT Agent and Orion Context Broker. When sending data to the IoT Agent, we utilize the message topic format api-key/device-id/attrs.
      When the IoT Agent receives a message on this topic, it uses the provided 'api-key' to determine both the service path and service name. Once these values are determined, the payload is then forwarded to the Orion Context Broker using the v2/entities/ API.
      Our setup works perfectly when the data rate is relatively low, around 40,000 records per hour. However, when the data rate increases to approximately 80,000 records per hour, we've noticed that the IoT Agent appears to change the service provider from, for example, 'serviceProvider1' to 'serviceProviderXy'.
      We're currently at a loss as to why this change is occurring, and it is causing significant security concerns for our system. We would greatly appreciate any insights or assistance in understanding and resolving this issue.
      We tried running multiple tests with higher data rate(>=80k records per hour) and observed in all the tests this phenomenon is common. When we run tests with lesser data rate, this is not occuring.

      iotagent-node-lib: 2.18.0 version.
      iotagent-json: 1.20.0 version.
      Orion: 3.4.0 version.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

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

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

        2023-09-16 05:31|UPDATED status: transition Answer| # answers= 1, accepted answer= False

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

          People

          • Assignee:
            mapedraza Miguel Ángel Pedraza
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: