Azure / iotedge-lorawan-starterkit

Sample implementation of LoRaWAN components to connect LoRaWAN antenna gateway running IoT Edge directly with Azure IoT.
https://azure.github.io/iotedge-lorawan-starterkit/2.2.1
Other
184 stars 62 forks source link

AMQP exceptions when running load tests #1348

Closed bastbu closed 2 years ago

bastbu commented 2 years ago

Expected Behavior

Load tests should succeed.

Current Behavior

When running load tests (deduplication strategy none, two LNS, 32 concentrators, 1600 devices), we frequently encounter exceptions such as:

Microsoft.Azure.Devices.Client.Exceptions.IotHubCommunicationException at LoRaWan.NetworkServer.LoRaDeviceClient+<ReceiveAsync>d__11.MoveNext (message: "message":"Amqp resource is disconnected.")

of

Microsoft.Azure.Amqp.AmqpException at LoRaWan.NetworkServer.LoRaDeviceClient+<SendEventAsync>d__10.MoveNext with message "message":"error(condition:amqp:illegal-state,description:'sender1890' is closed)".

We should try to reproduce these issues in isolation and fix them.

bastbu commented 2 years ago

Can't reproduce with the latest load tests, closing the issue.