Skip to content

Commit 2eef2ae

Browse files
committed
Troubleshooting updates
1 parent 9af3619 commit 2eef2ae

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

articles/iot-operations/troubleshoot/troubleshoot.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: kgremban
66
ms.topic: troubleshooting-general
77
ms.custom:
88
- ignite-2023
9-
ms.date: 01/22/2024
9+
ms.date: 11/01/2024
1010
---
1111

1212
# Troubleshoot Azure IoT Operations Preview
@@ -25,6 +25,34 @@ For general deployment and configuration troubleshooting, you can use the Azure
2525

2626
- Use [az iot ops support create-bundle](/cli/azure/iot/ops/support#az-iot-ops-support-create-bundle) to collect logs and traces to help you diagnose problems. The *support create-bundle* command creates a standard support bundle zip archive you can review or provide to Microsoft Support.
2727

28+
## Secret management
29+
30+
If you see the following error message related to secret management, you need to update your Azure Key Vault contents:
31+
32+
```output
33+
rpc error: code = Unknown desc = failed to mount objects, error: failed to get objectType:secret,
34+
objectName:nbc-eventhub-secret, objectVersion:: GET https://aio-kv-888f27b078.vault.azure.net/secrets/nbc-eventhub-secret/--------------------------------------------------------------------------------
35+
RESPONSE 404: 404 Not FoundERROR CODE: SecretNotFound--------------------------------------------------------------------------------{ "error": { "code": "SecretNotFound", "message": "A secret with (name/id) nbc-eventhub-secret was not found in this key vault.
36+
If you recently deleted this secret you may be able to recover it using the correct recovery command.
37+
For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" }
38+
```
39+
40+
This error occurs when Azure IoT Operations tries to synchronize a secret from Azure Key Vault that doesn't exist. To resolve this issue, you need to add the secret in Azure Key Vault before you create resources such as a secret provider class.
41+
42+
## Connector for OPC UA
43+
44+
An OPC UA server connection fails with a `BadSecurityModeRejected` error if the connector tries to connect to a server that only exposes endpoints with no security. There are two options to resolve this issue:
45+
46+
- Overrule the restriction by explicitly setting the following values in the additional configuration for the asset endpoint profile:
47+
48+
| Property | Value |
49+
|----------|-------|
50+
| `securityMode` | `none` |
51+
| `securityPolicy` | `http://opcfoundation.org/UA/SecurityPolicy#None` |
52+
53+
- Add a secure endpoint to the OPC UA server and set up the certificate mutual trust to establish the connection.
54+
55+
2856
## Azure IoT Layered Network Management Preview troubleshooting
2957

3058
The troubleshooting guidance in this section is specific to Azure IoT Operations when using the Layered Network Management component. For more information, see [How does Azure IoT Operations Preview work in layered network?](../manage-layered-network/concept-iot-operations-in-layered-network.md).

0 commit comments

Comments
 (0)