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

        backlogmanager Backlog Manager created issue -
        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
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        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
        fla Fernando Lopez made changes -
        Assignee Miguel Ángel Pedraza [ mapedraza ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1d 1 Backlog Manager 16/Sep/23 7:31 AM

          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: