com.microsoft.azure.sdk.iot.device.transport.TransportException: Could not send request to HSM
Runtime: Java
SDK version : com.microsoft.azure.sdk.iot:iot-device-client:2.0.3
When upgrading the version, we encountered the below exception:
Caused by: java.io.IOException: com.microsoft.azure.sdk.iot.device.transport.TransportException: Could not send request to HSM
at com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransportManager.send(HttpsTransportManager.java:141)
at com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransportManager.invokeMethod(HttpsTransportManager.java:226)
at com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransportManager.invokeMethod(HttpsTransportManager.java:188)
at com.microsoft.azure.sdk.iot.device.ModuleClient.invokeMethod(ModuleClient.java:480)
... 3 more
Caused by: com.microsoft.azure.sdk.iot.device.transport.TransportException: Could not send request to HSM
at com.microsoft.azure.sdk.iot.device.hsm.HttpsHsmClient.sign(HttpsHsmClient.java:88)
at com.microsoft.azure.sdk.iot.device.hsm.HttpHsmSignatureProvider.sign(HttpHsmSignatureProvider.java:80)
at com.microsoft.azure.sdk.iot.device.hsm.IotHubSasTokenHsmAuthenticationProvider.createNewSasToken(IotHubSasTokenHsmAuthenticationProvider.java:170)
at com.microsoft.azure.sdk.iot.device.hsm.IotHubSasTokenHsmAuthenticationProvider.refreshSasToken(IotHubSasTokenHsmAuthenticationProvider.java:136)
at com.microsoft.azure.sdk.iot.device.auth.IotHubSasTokenWithRefreshAuthenticationProvider.getSasToken(IotHubSasTokenWithRefreshAuthenticationProvider.java:101)
at com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection.getSasToken(HttpsIotHubConnection.java:425)
at com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection.sendRequest(HttpsIotHubConnection.java:398)
at com.microsoft.azure.sdk.iot.device.transport.https.HttpsIotHubConnection.sendHttpsMessage(HttpsIotHubConnection.java:201)
at com.microsoft.azure.sdk.iot.device.transport.https.HttpsTransportManager.send(HttpsTransportManager.java:136)
Are there any configuration we need to define or we may missed out?
Thanks!