Skip to content

Commit 1f11eff

Browse files
Merge pull request #291759 from PatAltimore/patricka-amqp
IoT Edge - Add AMQP known issue
2 parents a718b57 + 3e4dc64 commit 1f11eff

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

articles/iot-edge/troubleshoot-common-errors.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,24 @@ If you change the TTL value for your application that is shorter than the defaul
376376

377377
To configure the *MessageCleanupIntervalSecs* value, set the environment variable in the deployment manifest for the IoT Edge hub module. For more information about setting runtime environment variables, see [Edge Agent and Edge Hub Environment Variables](https://github.com/Azure/iotedge/blob/main/doc/EnvironmentVariables.md).
378378

379+
### IoT Edge Hub reports System.FormatException using AMQP protocol
380+
381+
#### Symptoms
382+
383+
When routing messages from an IoT Edge device to an IoT Hub using the AMQP protocol and you set the [`iothub-creation-time-utc` property on outgoing device messages](../iot-hub/iot-hub-devguide-messages-construct.md#application-properties-of-device-to-cloud-messages), the IoT Edge Hub reports a `System.FormatException` error. The error message is similar to the following:
384+
385+
```log
386+
System.FormatException: String '2024-12-01T00:00:0.000Z' was not recognized as a valid DateTime.
387+
```
388+
389+
#### Cause
390+
391+
The `iot-hub-creation-time-utc` value doesn't meet strict format criteria. The format Edge Hub requires is a subset of ISO 8601.
392+
393+
#### Solution
394+
395+
This is a known issue in IoT Edge Hub for the AMQP protocol. Currently, the issue is being investigated for a fix. The MQTT protocol doesn't have this issue.
396+
379397
## Networking
380398

381399
### IoT Edge security daemon fails with an invalid hostname

0 commit comments

Comments
 (0)