Engineering-Research-and-Development / iotagent-opcua

IoT Agent for OPC UA protocol
https://iotagent-opcua.rtfd.io/
GNU Affero General Public License v3.0
41 stars 21 forks source link

Request entity too large #110

Closed IngMiad closed 1 month ago

IngMiad commented 1 year ago

Hello,

we started using the opc ua iot agent to get/write data from opc ua datasources. It's working fine for smaller datasources, but our newest datasource brought up some issues because of its size.

The newest datasource is a process control system which has about 4000 relevant Tags, that we want to use (from about 50000 available tags overall). Because creating a manual configuration for the huge amount of tags is a lot of work, we created a tool that a) filters the tags b) groups them into logical entities based on name schema c) creates a FIWARE smart data model and d) automatically generates a FIWARE OPC UA IoT-Agent configuration to read the tags. The result is an agent configuration that covers about 55 entities with about 4000 active attributes.

Testing the result we ran into a "Request Entity too large" issue (see attached image). Could you give us some advice what this error is exactly about and where are the limits of the request entity size by OPC UA IoT-Agent? According to limitation our plan is to rewrite our tool, so that the 4000 relevant tags will be queried by multiple OPC UA IoT-Agents. I already tested the generated agent configuration with only 3 entities which seem to work fine.

Screenshot_2023-04-18_16-45-35

Thank you in advance! Greetings, Inga

manfredipist commented 1 year ago

Hello @IngMiad , It seems that this issue you're encountering is a known limitation of Orion Context Broker Link to Doc Luckly you can overwrite this behaviour by overwriting inReqPayloadMaxSize paramter in your docker compose file as follows:

....
 command: -dbhost mongo-db -inReqPayloadMaxSize {BYTE} -logLevel DEBUG 
...

In this case you should replace {BYTE} with the proper value according to your use case and performances degradation

Let us know if this solves your issue Best Regards!

IngMiad commented 1 year ago

Hello @manfredipist,

thank you very much for the quick reply. I am glad it is a configurable limitation of Orion Context Broker.

I will test our scenario again with the changes in the next 2-3 weeks (as soon as I will visit our plant again) and will inform you about the success.

Greetings!

manfredipist commented 1 year ago

Closing as stale.

Please consider spending few minutes to fulfill the following form to help us improving the IoT Agent, thanks! Form link

IngMiad commented 11 months ago

Hello as an Update: This feature is only available in Orion NGSIv2 from Telefonica (https://github.com/telefonicaid/fiware-orion) not in Orion-LD.

The feature has also been ported to Orion-LD now, but doesn't seem to work as expected and isn't solved until now. As a reference you can check following issue: https://github.com/FIWARE/context.Orion-LD/issues/1356

IngMiad commented 1 month ago

Hello,

long time ago, but I have a few updates on this issue. I have been talking to Orion-LD developer who added the feature to adjust -inReqPayloadMaxSize also in Orion-LD. Although I am configuring the -inReqPayloadMaxSize and set it to a huge value (1TB), I am still getting the error.

After a few further tests I doubt that the request size limitation is coming from Orion-LD.

  1. I configured debug mode for IoT-Agent OPC UA and Orion-LD
  2. Afterwards I started OPC UA Agent with my configuration
  3. In the IoT-Agent logs I can see the issue that the request is too large
    grafik
  4. At Orion-LD side I don't see any incoming request in the logs at all (besides Kubernetes Health-Check at version endpoint)

Here are the full IoT-Agent Logs:

{"time":"2024-07-18T13:49:18.504Z","lvl":"ERROR","msg":"EISDIR: illegal operation on a directory, read"}
{"op":"IoTAgentNGSI.JEXL","time":"2024-07-18T13:49:18.804Z","lvl":"INFO","msg":"Trasformations can be added to JEXL parser"}
{"time":"2024-07-18T13:49:19.350Z","lvl":"INFO","msg":"Setting IOTA_CB_NGSI_VERSION to environment value: ld"}
{"time":"2024-07-18T13:49:19.350Z","lvl":"INFO","msg":"Setting IOTA_REGISTRY_TYPE to environment value: mongodb"}
{"time":"2024-07-18T13:49:19.350Z","lvl":"INFO","msg":"Setting IOTA_LOG_LEVEL to environment value: DEBUG"}
{"time":"2024-07-18T13:49:19.350Z","lvl":"INFO","msg":"Setting IOTA_MONGO_HOST to environment value: iot-mongo-db"}
{"time":"2024-07-18T13:49:19.350Z","lvl":"INFO","msg":"Setting IOTA_MONGO_DB to environment value: iotagent_opcua"}
{"time":"2024-07-18T13:49:19.350Z","lvl":"INFO","msg":"Setting IOTA_RELAX_TEMPLATE_VALIDATION to environment value: true"}
{"time":"2024-07-18T13:49:19.350Z","lvl":"INFO","msg":"Setting IOTA_JSON_LD_CONTEXT to environment value: http://ld-context/ld-context/datamodels.context-ngsild.jsonld"}
{"time":"2024-07-18T13:49:19.350Z","lvl":"INFO","msg":"Setting IOTA_FALLBACK_TENANT to environment value: opcua_pcs"}
{"time":"2024-07-18T13:49:19.350Z","lvl":"WARN","msg":"***********************************************\nWARNING: authentication for secure connections is not in use,\nIt is recommended to enable authentication\n***********************************************"}
time=2024-07-18T13:49:19.350Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Starting an IoT Agent... | comp=IoTAgent
time=2024-07-18T13:49:19.351Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_CB_NGSI_VERSION to environment value: ld | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_REGISTRY_TYPE to environment value: mongodb | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_LOG_LEVEL to environment value: DEBUG | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_MONGO_HOST to environment value: iot-mongo-db | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_MONGO_DB to environment value: iotagent_opcua | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_RELAX_TEMPLATE_VALIDATION to environment value: true | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_JSON_LD_CONTEXT to environment value: http://ld-context/ld-context/datamodels.context-ngsild.jsonld | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_FALLBACK_TENANT to environment value: opcua_pcs | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=WARN | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=***********************************************
WARNING: authentication for secure connections is not in use,
It is recommended to enable authentication
*********************************************** | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Default expression language not set, or invalid, using legacy configuration | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_CB_NGSI_VERSION to environment value: ld | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_REGISTRY_TYPE to environment value: mongodb | comp=IoTAgent
time=2024-07-18T13:49:19.352Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_LOG_LEVEL to environment value: DEBUG | comp=IoTAgent
time=2024-07-18T13:49:19.353Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_MONGO_HOST to environment value: iot-mongo-db | comp=IoTAgent
time=2024-07-18T13:49:19.353Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_MONGO_DB to environment value: iotagent_opcua | comp=IoTAgent
time=2024-07-18T13:49:19.353Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_RELAX_TEMPLATE_VALIDATION to environment value: true | comp=IoTAgent
time=2024-07-18T13:49:19.353Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_JSON_LD_CONTEXT to environment value: http://ld-context/ld-context/datamodels.context-ngsild.jsonld | comp=IoTAgent
time=2024-07-18T13:49:19.353Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Setting IOTA_FALLBACK_TENANT to environment value: opcua_pcs | comp=IoTAgent
time=2024-07-18T13:49:19.353Z | lvl=WARN | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=***********************************************
WARNING: authentication for secure connections is not in use,
It is recommended to enable authentication
*********************************************** | comp=IoTAgent
time=2024-07-18T13:49:19.353Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=Activating IOT Agent NGSI Library. | comp=IoTAgent
time=2024-07-18T13:49:19.353Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.Global | from=n/a | srv=n/a | subsrv=n/a | msg=MongoDB Device registry selected for NGSI Library | comp=IoTAgent
time=2024-07-18T13:49:19.372Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=First connection attempt | comp=IoTAgent
time=2024-07-18T13:49:19.372Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Attempting to connect to MongoDB instance with url "mongodb://iot-mongo-db:27017/iotagent_opcua" and options {}. Attempt 1 | comp=IoTAgent
(node:1) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
(Use `node --trace-warnings ...` to show where the warning was created)
time=2024-07-18T13:49:19.388Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Successfully connected to MongoDB. | comp=IoTAgent
time=2024-07-18T13:49:19.395Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.NorthboundServer | from=n/a | srv=n/a | subsrv=n/a | msg=Starting IoT Agent listening on port [4043] | comp=IoTAgent
time=2024-07-18T13:49:19.398Z | lvl=DEBUG | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.NorthboundServer | from=n/a | srv=n/a | subsrv=n/a | msg=Using config:

{
    "logLevel": "DEBUG",
    "timestamp": true,
    "contextBroker": {
        "host": "orion-ld",
        "port": "1026",
        "ngsiVersion": "ld",
        "jsonLdContext": "http://ld-context/ld-context/datamodels.context-ngsild.jsonld",
        "service": "opcua_pcs",
        "subservice": "/pcs",
        "fallbackTenant": "opcua_pcs",
        "fallbackPath": "/pcs",
        "url": "http://orion-ld:1026"
    },
    "server": {
        "port": 4043
    },
    "deviceRegistry": {
        "type": "mongodb"
    },
    "mongodb": {
        "host": "iot-mongo-db",
        "db": "iotagent_opcua"
    },
    "types": {
        "DuctSystemHotAir": {
            "active": [
                {
                    "name": "0HNB80AC001_SOLIDSTATE_QUIT_I0",
                    "type": "https://schema.org/Boolean"
                },
                {
                    "name": "0HNB80AC001_QUIT_ANFORDERUNG_VSTATUS",
                    "type": "https://schema.org/Number"
                },
                {
                    "name": "0HNB80AC001_Frg_TempDiff_Q0",
                    "type": "https://schema.org/Boolean"
                },
                {
                    "name": "0HNB80AC001_Frg_TempDiff_I0",
                    "type": "https://schema.org/Boolean"
                },
                ...
                {
                    "ocb_id": "0WTX99CT910A_MW_Rec_Grad_WH_VSTATUS",
                    "opcua_id": "ns=5;s=0WTX99CT910A//MW_Rec_Grad_WH.VSTATUS",
                    "object_id": "ns=5;s=0WTX99CT910A//MW_Rec_Grad_WH.VSTATUS",
                    "inputArguments": []
                },
                {
                    "ocb_id": "0WTX99CT910A_MWtTempRec_U",
                    "opcua_id": "ns=5;s=0WTX99CT910A//MWtTempRec.U",
                    "object_id": "ns=5;s=0WTX99CT910A//MWtTempRec.U",
                    "inputArguments": []
                },
                {
                    "ocb_id": "0WTX99CT910A_MAX_Rec_Grad_D1_VSTATUS",
                    "opcua_id": "ns=5;s=0WTX99CT910A//MAX_Rec_Grad_D1.VSTATUS",
                    "object_id": "ns=5;s=0WTX99CT910A//MAX_Rec_Grad_D1.VSTATUS",
                    "inputArguments": []
                }
            ]
        }
    ],
    "events": [],
    "service": "opcua_pcs",
    "subservice": "/pcs",
    "providerUrl": "http://localhost:4043",
    "deviceRegistrationDuration": "P20Y",
    "defaultType": "PCS",
    "defaultResource": "/iot/opcua_pcs",
    "explicitAttrs": false,
    "iotaVersion": "2.0.7",
    "multiCore": false,
    "relaxTemplateValidation": true,
    "defaultEntityNameConjunction": ":",
    "defaultExpressionLanguage": "legacy"
}
 | comp=IoTAgent
time=2024-07-18T13:49:19.401Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.ContextServer-LD | from=n/a | srv=n/a | subsrv=n/a | msg=Loading NGSI-LD Context server routes | comp=IoTAgent
time=2024-07-18T13:49:19.407Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentOPCUA.Agent | from=n/a | srv=n/a | subsrv=n/a | msg=IoT Agent services activated | comp=IoTAgent
time=2024-07-18T13:49:19.407Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.JEXL | from=n/a | srv=n/a | subsrv=n/a | msg=Trasformations can be added to JEXL parser | comp=IoTAgent
time=2024-07-18T13:49:19.692Z | lvl=INFO | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentOPCUA.OPCUABinding | from=n/a | srv=n/a | subsrv=n/a | msg=Connected to the OPCUA Server | comp=IoTAgent
time=2024-07-18T13:49:19.704Z | lvl=DEBUG | corr=6dfffe7e-d960-49dc-8143-c996996e71a1 | trans=6dfffe7e-d960-49dc-8143-c996996e71a1 | op=IoTAgentNGSI.GenericMiddlewares | from=n/a | srv=opcua_pcs | subsrv=/pcs | msg=Request for path [/iot/services] from [localhost:4043] | comp=IoTAgent
time=2024-07-18T13:49:19.704Z | lvl=DEBUG | corr=6dfffe7e-d960-49dc-8143-c996996e71a1 | trans=6dfffe7e-d960-49dc-8143-c996996e71a1 | op=IoTAgentNGSI.GenericMiddlewares | from=n/a | srv=opcua_pcs | subsrv=/pcs | msg=Body:

{
    "services": [
        {
            "apikey": "iot",
            "cbroker": "http://orion-ld:1026",
            "entity_type": "PCS",
            "resource": "/iot/opcua_pcs"
        }
    ]
}

 | comp=IoTAgent
time=2024-07-18T13:49:19.705Z | lvl=DEBUG | corr=6dfffe7e-d960-49dc-8143-c996996e71a1 | trans=6dfffe7e-d960-49dc-8143-c996996e71a1 | op=IoTAgentNGSI.DeviceGroupService | from=n/a | srv=opcua_pcs | subsrv=/pcs | msg=Creating new set of 1 services | comp=IoTAgent
time=2024-07-18T13:49:19.706Z | lvl=DEBUG | corr=6dfffe7e-d960-49dc-8143-c996996e71a1 | trans=6dfffe7e-d960-49dc-8143-c996996e71a1 | op=IoTAgentNGSI.DeviceGroupService | from=n/a | srv=opcua_pcs | subsrv=/pcs | msg=validateGroup {"apikey":"iot","cbroker":"http://orion-ld:1026","resource":"/iot/opcua_pcs","type":"PCS","service":"opcua_pcs","subservice":"/pcs"} | comp=IoTAgent
time=2024-07-18T13:49:19.706Z | lvl=DEBUG | corr=6dfffe7e-d960-49dc-8143-c996996e71a1 | trans=6dfffe7e-d960-49dc-8143-c996996e71a1 | op=IoTAgentNGSI.MongoDBGroupRegister | from=n/a | srv=n/a | subsrv=n/a | msg=Looking for group params ["resource","apikey"] with queryObj {"resource":"/iot/opcua_pcs","apikey":"iot"} | comp=IoTAgent
time=2024-07-18T13:49:19.712Z | lvl=DEBUG | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.MongoDBGroupRegister | from=n/a | srv=n/a | subsrv=n/a | msg=Device group for fields [["resource","apikey"]] not found: [{"resource":"/iot/opcua_pcs","apikey":"iot"}] | comp=IoTAgent
time=2024-07-18T13:49:19.712Z | lvl=DEBUG | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.DeviceGroupService | from=n/a | srv=n/a | subsrv=n/a | msg=generateDuplicateHander error {"name":"DEVICE_GROUP_NOT_FOUND","message":"Couldn\t find device group for fields: [\"resource\",\"apikey\"] and values: {\"resource\":\"/iot/opcua_pcs\",\"apikey\":\"iot\"}","code":404} and foundGroup undefined | comp=IoTAgent
time=2024-07-18T13:49:19.716Z | lvl=DEBUG | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentNGSI.MongoDBGroupRegister | from=n/a | srv=n/a | subsrv=n/a | msg=Storing device group with id [66991d5feb8f686abde61bd7], type [PCS], apikey [iot] and resource [/iot/opcua_pcs] | comp=IoTAgent
time=2024-07-18T13:49:19.725Z | lvl=DEBUG | corr=6dfffe7e-d960-49dc-8143-c996996e71a1 | trans=6dfffe7e-d960-49dc-8143-c996996e71a1 | op=IoTAgentNGSI.DomainControl | from=n/a | srv=opcua_pcs | subsrv=/pcs | msg=response-time: 27 | comp=IoTAgent
time=2024-07-18T13:49:19.729Z | lvl=DEBUG | corr=a17227e8-c9af-4279-9f70-00a069d374e6 | trans=a17227e8-c9af-4279-9f70-00a069d374e6 | op=IoTAgentNGSI.GenericMiddlewares | from=n/a | srv=opcua_pcs | subsrv=/pcs | msg=Error [PayloadTooLargeError] handling request: request entity too large | comp=IoTAgent
time=2024-07-18T13:49:19.729Z | lvl=DEBUG | corr=a17227e8-c9af-4279-9f70-00a069d374e6 | trans=a17227e8-c9af-4279-9f70-00a069d374e6 | op=IoTAgentNGSI.DomainControl | from=n/a | srv=opcua_pcs | subsrv=/pcs | msg=response-time: 1 | comp=IoTAgent
time=2024-07-18T13:49:19.730Z | lvl=FATAL | corr=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | trans=5458d490-3eac-4c63-a2e0-4d977a56f9e7 | op=IoTAgentOPCUA.OPCUABinding | from=n/a | srv=n/a | subsrv=n/a | msg=Error: statusCode=500 | comp=IoTAgent

And here are the Orion-LD Logs:

time=2024-07-18T13:46:26.176Z | lvl=INFO | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1126]:main | msg=Orion Context Broker is running
time=2024-07-18T13:46:26.176Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[795]:versionInfo | msg=Version Info:
time=2024-07-18T13:46:26.176Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[796]:versionInfo | msg=-----------------------------------------
time=2024-07-18T13:46:26.176Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[797]:versionInfo | msg=orionld version:    1.5.1
time=2024-07-18T13:46:26.176Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[798]:versionInfo | msg=based on orion:     1.15.0-next
time=2024-07-18T13:46:26.176Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[799]:versionInfo | msg=core @context:      https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld
time=2024-07-18T13:46:26.176Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[800]:versionInfo | msg=git hash:           nogitversion
time=2024-07-18T13:46:26.176Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[801]:versionInfo | msg=build branch:       
time=2024-07-18T13:46:26.176Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[802]:versionInfo | msg=compiled by:        root
time=2024-07-18T13:46:26.176Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[803]:versionInfo | msg=compiled in:        
time=2024-07-18T13:46:26.176Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[804]:versionInfo | msg=-----------------------------------------
NOTICE:  extension "postgis" already exists, skipping
time=2024-07-18T13:46:26.201Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=mongocInit.cpp[300]:mongocInit | msg=Connecting to mongo for the C driver (URI: mongodb://orion:Dp#M0ng0DB@mongo-db/)
NOTICE:  extension "postgis" already exists, skipping
NOTICE:  extension "postgis" already exists, skipping
NOTICE:  extension "postgis" already exists, skipping
NOTICE:  extension "postgis" already exists, skipping
time=2024-07-18T13:46:26.290Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[330]:orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 60)
time=2024-07-18T13:46:26.290Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[338]:orionldRequestSend | msg=curl_easy_perform error 60
time=2024-07-18T13:46:26.290Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp[115]:orionldContextDownload | msg=orionldRequestSend failed (try number 1 out of 3. Timeout is: 5000ms): Internal CURL Error
time=2024-07-18T13:46:26.299Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[330]:orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 60)
time=2024-07-18T13:46:26.299Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[338]:orionldRequestSend | msg=curl_easy_perform error 60
time=2024-07-18T13:46:26.299Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp[115]:orionldContextDownload | msg=orionldRequestSend failed (try number 2 out of 3. Timeout is: 5000ms): Internal CURL Error
time=2024-07-18T13:46:26.311Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[330]:orionldRequestSend | msg=Internal Error (curl_easy_perform returned error code 60)
time=2024-07-18T13:46:26.311Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldRequestSend.cpp[338]:orionldRequestSend | msg=curl_easy_perform error 60
time=2024-07-18T13:46:26.311Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextDownload.cpp[115]:orionldContextDownload | msg=orionldRequestSend failed (try number 3 out of 3. Timeout is: 5000ms): Internal CURL Error
time=2024-07-18T13:46:26.311Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextFromUrl.cpp[328]:orionldContextFromUrl | msg=Context Error (Unable to download context: https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld)
time=2024-07-18T13:46:26.311Z | lvl=WARN | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextCacheInit.cpp[161]:orionldContextCacheInit | msg=Unable to download the core context (Unable to download context: https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld)
time=2024-07-18T13:46:26.311Z | lvl=WARN | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldContextCacheInit.cpp[185]:orionldContextCacheInit | msg=Falling back to Built-in Core Context (hard-coded copy of https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld)
time=2024-07-18T13:46:26.315Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=mongoConnectionPool.cpp[313]:mongoConnectionPoolInit | msg=Connecting to mongo for the C++ legacy driver
time=2024-07-18T13:46:26.397Z | lvl=INFO | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=MongoGlobal.cpp[238]:mongoInit | msg=Connected to mongo at mongo-db:orion as user 'orion'
time=2024-07-18T13:46:26.508Z | lvl=INFO | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1326]:main | msg=Startup completed
time=2024-07-18T13:46:26.509Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1341]:main | msg=Initialization is Done
time=2024-07-18T13:46:26.509Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1342]:main | msg=  Accepting REST requests on port 1026 (experimental API endpoints are disabled)
time=2024-07-18T13:46:26.509Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1343]:main | msg=  TRoE:                    Enabled
time=2024-07-18T13:46:26.509Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1344]:main | msg=  Distributed Operation:   Enabled
time=2024-07-18T13:46:26.509Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1345]:main | msg=  Health Check:            Disabled
time=2024-07-18T13:46:26.509Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1348]:main | msg=  Postgres Server Version: 12.0.19
time=2024-07-18T13:46:26.509Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1350]:main | msg=  Mongo Server Version:    4.4.29
time=2024-07-18T13:46:26.509Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1363]:main | msg=  Mongo Driver:            Legacy C++ Driver (deprecated by mongodb)
time=2024-07-18T13:47:25.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 001: GET /version --------------------------
time=2024-07-18T13:47:25.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 002: GET /version --------------------------
time=2024-07-18T13:47:25.995Z | lvl=WARN | corr=4452624c-450c-11ef-a49b-7cc255269eb8 | trans=1721310386-176-00000000001 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:47:25.995Z | lvl=WARN | corr=445262ce-450c-11ef-a8c6-7cc255269eb8 | trans=1721310386-176-00000000002 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:47:55.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 003: GET /version --------------------------
time=2024-07-18T13:47:55.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 004: GET /version --------------------------
time=2024-07-18T13:47:55.995Z | lvl=WARN | corr=56340592-450c-11ef-a8c6-7cc255269eb8 | trans=1721310386-176-00000000003 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:47:55.995Z | lvl=WARN | corr=5634084e-450c-11ef-a49b-7cc255269eb8 | trans=1721310386-176-00000000004 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:48:25.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 006: GET /version --------------------------
time=2024-07-18T13:48:25.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 005: GET /version --------------------------
time=2024-07-18T13:48:25.995Z | lvl=WARN | corr=6815a360-450c-11ef-a8c6-7cc255269eb8 | trans=1721310386-176-00000000005 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:48:25.995Z | lvl=WARN | corr=6815a586-450c-11ef-a49b-7cc255269eb8 | trans=1721310386-176-00000000006 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:48:55.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 007: GET /version --------------------------
time=2024-07-18T13:48:55.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 008: GET /version --------------------------
time=2024-07-18T13:48:55.995Z | lvl=WARN | corr=79f74c5a-450c-11ef-8e3a-7cc255269eb8 | trans=1721310386-176-00000000007 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:48:55.995Z | lvl=WARN | corr=79f74e3a-450c-11ef-ba33-7cc255269eb8 | trans=1721310386-176-00000000008 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:49:25.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 009: GET /version --------------------------
time=2024-07-18T13:49:25.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 010: GET /version --------------------------
time=2024-07-18T13:49:25.994Z | lvl=WARN | corr=8bd8d29a-450c-11ef-8e3a-7cc255269eb8 | trans=1721310386-176-00000000009 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:49:25.994Z | lvl=WARN | corr=8bd8da88-450c-11ef-b914-7cc255269eb8 | trans=1721310386-176-00000000010 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:49:55.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 012: GET /version --------------------------
time=2024-07-18T13:49:55.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 011: GET /version --------------------------
time=2024-07-18T13:49:55.995Z | lvl=WARN | corr=9dba9458-450c-11ef-8e3a-7cc255269eb8 | trans=1721310386-176-00000000011 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:49:55.995Z | lvl=WARN | corr=9dba9854-450c-11ef-8244-7cc255269eb8 | trans=1721310386-176-00000000012 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:50:25.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 013: GET /version --------------------------
time=2024-07-18T13:50:25.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 014: GET /version --------------------------
time=2024-07-18T13:50:25.995Z | lvl=WARN | corr=af9c33ac-450c-11ef-b914-7cc255269eb8 | trans=1721310386-176-00000000013 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:50:25.995Z | lvl=WARN | corr=af9c3f14-450c-11ef-bc8a-7cc255269eb8 | trans=1721310386-176-00000000014 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:50:55.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 015: GET /version --------------------------
time=2024-07-18T13:50:55.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 016: GET /version --------------------------
time=2024-07-18T13:50:55.994Z | lvl=WARN | corr=c17da6f0-450c-11ef-8e3a-7cc255269eb8 | trans=1721310386-176-00000000015 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:50:55.994Z | lvl=WARN | corr=c17daa9c-450c-11ef-a8c6-7cc255269eb8 | trans=1721310386-176-00000000016 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:51:25.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 018: GET /version --------------------------
time=2024-07-18T13:51:25.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 017: GET /version --------------------------
time=2024-07-18T13:51:25.995Z | lvl=WARN | corr=d35f72ae-450c-11ef-a49b-7cc255269eb8 | trans=1721310386-176-00000000017 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:51:25.995Z | lvl=WARN | corr=d35f7646-450c-11ef-bd6e-7cc255269eb8 | trans=1721310386-176-00000000018 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:51:55.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 019: GET /version --------------------------
time=2024-07-18T13:51:55.994Z | lvl=WARN | corr=e540ffc4-450c-11ef-b914-7cc255269eb8 | trans=1721310386-176-00000000019 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:51:55.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 020: GET /version --------------------------
time=2024-07-18T13:51:55.995Z | lvl=WARN | corr=e5410df2-450c-11ef-93b9-7cc255269eb8 | trans=1721310386-176-00000000020 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:52:25.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 021: GET /version --------------------------
time=2024-07-18T13:52:25.995Z | lvl=WARN | corr=f722bea8-450c-11ef-a49b-7cc255269eb8 | trans=1721310386-176-00000000021 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:52:25.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 022: GET /version --------------------------
time=2024-07-18T13:52:25.995Z | lvl=WARN | corr=f722cd44-450c-11ef-9406-7cc255269eb8 | trans=1721310386-176-00000000022 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:52:55.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 023: GET /version --------------------------
time=2024-07-18T13:52:55.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 024: GET /version --------------------------
time=2024-07-18T13:52:55.995Z | lvl=WARN | corr=09045fd2-450d-11ef-a8c6-7cc255269eb8 | trans=1721310386-176-00000000023 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:52:55.995Z | lvl=WARN | corr=09046798-450d-11ef-93b9-7cc255269eb8 | trans=1721310386-176-00000000024 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:53:25.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 025: GET /version --------------------------
time=2024-07-18T13:53:25.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 026: GET /version --------------------------
time=2024-07-18T13:53:25.994Z | lvl=WARN | corr=1ae5f6b6-450d-11ef-a8c6-7cc255269eb8 | trans=1721310386-176-00000000025 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:53:25.995Z | lvl=WARN | corr=1ae5f8fa-450d-11ef-8e3a-7cc255269eb8 | trans=1721310386-176-00000000026 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:53:55.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 027: GET /version --------------------------
time=2024-07-18T13:53:55.994Z | lvl=WARN | corr=2cc78462-450d-11ef-a8c6-7cc255269eb8 | trans=1721310386-176-00000000027 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:53:55.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 028: GET /version --------------------------
time=2024-07-18T13:53:55.994Z | lvl=WARN | corr=2cc796dc-450d-11ef-a8c6-7cc255269eb8 | trans=1721310386-176-00000000028 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:54:25.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 029: GET /version --------------------------
time=2024-07-18T13:54:25.994Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 030: GET /version --------------------------
time=2024-07-18T13:54:25.994Z | lvl=WARN | corr=3ea934f0-450d-11ef-a8c6-7cc255269eb8 | trans=1721310386-176-00000000029 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:54:25.994Z | lvl=WARN | corr=3ea939c8-450d-11ef-93b9-7cc255269eb8 | trans=1721310386-176-00000000030 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:54:55.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 032: GET /version --------------------------
time=2024-07-18T13:54:55.995Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1340]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 031: GET /version --------------------------
time=2024-07-18T13:54:55.995Z | lvl=WARN | corr=508aea2e-450d-11ef-a8c6-7cc255269eb8 | trans=1721310386-176-00000000031 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None
time=2024-07-18T13:54:55.995Z | lvl=WARN | corr=508aebfa-450d-11ef-a49b-7cc255269eb8 | trans=1721310386-176-00000000032 | from=192.168.42.3 | srv=pending | subsrv=<default> | comp=Orion | op=rest.cpp[1514]:connectionTreat | msg=orionldState.in.contentType: None

Are you sure there is no size limitation at the side of IoT-Agent OPC UA? Thank you in advance!

walterwootz commented 1 month ago

Hi! First of all thank you for your investigation. The size limit is related to the iotagent-node-lib on top of which this OPCUA Agent is built on.

The problem has been fixed with the latest IotAgent-OPCUA release (v2.2.7) that includes the latest iotagent-node-lib (4.5.0). You can use the env variable IOTA_EXPRESS_LIMIT (if using docker) or expressLimit (if you are using custom config.js) as described here.

The default value is set to 1M (1 Megabyte), just change it as you prefer.

IngMiad commented 1 month ago

Hello,

thank you very much. That are good news for us. I will test it and let you know how it worked, once I am back at our site for testing.

Greetings

IngMiad commented 1 month ago

The latest release at Docker Hub is currently 2.2.6: https://registry.hub.docker.com/r/fiware/iotagent-opcua/tags?page=&page_size=&ordering=&name=

When do you plan to upload 2.2.7 to Docker Hub?

walterwootz commented 1 month ago

The official fiware repository is not updated yet. As workaround you can use this docker hub repository (you ca find the 2.2.7 also).

IngMiad commented 1 month ago

Hello,

I tested the new release yesterday an can now successfully consume a large amount of entities and parameter (~50 entities, ~4000 parameters) with IoT-Agent OPC UA and provide them to Orion-LD. Orion-LD also successfully receives and persists them with no issue. Thank you very much!

Greetings Inga