Module gives transient network issue while initialization and work only if we restart edgeAgent
See original GitHub issueExpected Behavior
The modules should initialize properly every time, They are not initializing and give the below-mentioned error. It works only if we manually restart the edgeAgent container.
Current Behavior
Modules should work fine after the device reboot and service restart, whereas it gives below mentioned error
Microsoft.Azure.Devices.Client.Exceptions.IotHubCommunicationException: Transient netw
ork error occurred, please retry.\r\n ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.\r\n at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readB
ytes, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at S
ystem.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)\r\n at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)\r\n at System.Net.Security.SslStream.EndAuthentic
ateAsClient(IAsyncResult asyncResult)\r\n at Microsoft.Azure.Amqp.Transport.TlsTransport.HandleOpenComplete(IAsyncResult result, Boolean syncComplete)\r\n--- End of stack trace from previous location where exception was thro
wn ---\r\n at Microsoft.Azure.Amqp.AsyncResult.End[TAsyncResult](IAsyncResult result)\r\n at Microsoft.Azure.Amqp.AmqpObject.OpenAsyncResult.End(IAsyncResult result)\r\n at Microsoft.Azure.Amqp.AmqpObject.EndOpen(IAsyncR
esult result)\r\n at Microsoft.Azure.Amqp.Transport.TlsTransportInitiator.HandleTransportOpened(IAsyncResult result)\r\n at Microsoft.Azure.Amqp.Transport.TlsTransportInitiator.OnTransportOpened(IAsyncResult result)\r\n---
End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.Azure.Amqp.AsyncResult.End[TAsyncResult](IAsyncResult result)\r\n at Microsoft.Azure.Amqp.Transport.AmqpTransportInitiator.ConnectA
syncResult.End(IAsyncResult result)\r\n at Microsoft.Azure.Amqp.Transport.AmqpTransportInitiator.<>c.<ConnectAsync>b__17_1(IAsyncResult r)\r\n at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Fu
nc`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.Azure.Devices.Client.Transport.AmqpIot.A
mqpIotTransport.InitializeAsync(CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.Transport.Amqp.AmqpIotConnector.OpenConnectionAsync(CancellationToken cancellationToken)\r\n at Microsoft.Azure.Dev
ices.Client.Transport.Amqp.AmqpConnectionHolder.EnsureConnectionAsync(CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.Transport.Amqp.AmqpConnectionHolder.OpenSessionAsync(IDeviceIdentity deviceIden
tity, CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.Transport.AmqpIot.AmqpUnit.EnsureSessionIsOpenAsync(CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.Transport.Amqp
Iot.AmqpUnit.OpenAsync(CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.Transport.Amqp.AmqpTransportHandler.OpenAsync(CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.Tra
nsport.ProtocolRoutingDelegatingHandler.OpenAsync(CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.Transport.ErrorDelegatingHandler.<>c__DisplayClass27_0.<<ExecuteWithErrorHandlingAsync>b__0>d.MoveN
ext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at Microsoft.Azure.Devices.Client.Transport.ErrorDelegatingHandler.ExecuteWithErrorHandlingAsync[T](Func`1 asyncOperation)\r\n --- E
nd of inner exception stack trace ---\r\n at Microsoft.Azure.Devices.Client.TransientFaultHandling.RetryPolicy.RunWithRetryAsync[T](Func`1 taskFunc, ShouldRetry shouldRetry, Func`2 isTransient, Action`3 onRetrying, Boolean f
astFirstRetry, CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.TransientFaultHandling.RetryPolicy.RunWithRetryAsync(Func`1 taskFunc, ShouldRetry shouldRetry, Func`2 isTransient, Action`3 onRetrying
, Boolean fastFirstRetry, CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.Transport.RetryDelegatingHandler.OpenInternalAsync(Boolean withRetry, CancellationToken cancellationToken)\r\n at Microso
ft.Azure.Devices.Client.Transport.RetryDelegatingHandler.EnsureOpenedAsync(Boolean withRetry, CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.InternalClient.OpenAsync()\r\n at Iot.Common.Features
.DDIoTEdgeIoTEdgeModuleBase.ConnectModule() in W:\\ngw_de0157\\mi-digital-edge\\src\\Iot.Common\\Features\\DDIoTEdgeIoTEdgeModuleBase.cs:line 95","loglevel":4,"logtype":4,"logtime":"2022-11-25T11:06:52.0776098+00:00","correlat
ionId":null}
Steps to Reproduce
Provide a detailed set of steps to reproduce the bug.
- It is an intermittent issue and not having any specific steps to reproduce but generally after IoT edge service restart, modules stop working and forcibly we have to restart edgeAgent to make it work.
Context (Environment)
OS : Microsoft Windows 10.0.17763 IoT Hub Device client sdk : 1.41.2 C#
Output of iotedge check
Click here
--------------------
β config.yaml is well-formed - OK
β config.yaml has well-formed connection string - OK
β container engine is installed and functional - OK
β Windows host version is supported - OK
β config.yaml has correct hostname - OK
β config.yaml has correct URIs for daemon mgmt endpoint - OK
βΌ latest security daemon - Warning
Installed IoT Edge daemon has version 1.1.11 but 1.1.15 is the latest stable version available.
Please see https://aka.ms/iotedge-update-runtime for update instructions.
β host time is close to real time - OK
β container time is close to host time - OK
β DNS server - OK
β production readiness: certificates - OK
β production readiness: container engine - OK
βΌ production readiness: logs policy - Warning
Container engine is not configured to rotate module logs which may cause it run out of disk space.
Please see https://aka.ms/iotedge-prod-checklist-logs for best practices.
You can ignore this warning if you are setting log policy per module in the Edge deployment.
βΌ production readiness: Edge Agent's storage directory is persisted on the host filesystem - Warning
The edgeAgent module is not configured to persist its C:\Windows\Temp\edgeAgent directory on the host filesystem.
Data might be lost if the module is deleted or updated.
Please see https://aka.ms/iotedge-storage-host for best practices.
β production readiness: Edge Hub's storage directory is persisted on the host filesystem - OK
Connectivity checks
-------------------
β host can connect to and perform TLS handshake with DPS endpoint - OK
β host can connect to and perform TLS handshake with IoT Hub AMQP port - OK
β host can connect to and perform TLS handshake with IoT Hub HTTPS / WebSockets port - OK
β host can connect to and perform TLS handshake with IoT Hub MQTT port - OK
β container on the IoT Edge module network can connect to IoT Hub AMQP port - OK
β container on the IoT Edge module network can connect to IoT Hub HTTPS / WebSockets port - OK
β container on the IoT Edge module network can connect to IoT Hub MQTT port - OK
19 check(s) succeeded.
3 check(s) raised warnings. Re-run with --verbose for more details.
Device Information
- Host OS [Windows 10.0.17763]:
- Architecture [amd64]:
- Container OS [Windows containers]:
Runtime Versions
*a ziot-edged [iotedge 1.1.11]:
- Edge Agent [image tag (e.g. 1.1.11)]:
- Edge Hub [image tag (e.g. 1.1.11)]:
Note: when using Windows containers on Windows, run docker -H npipe:////./pipe/iotedge_moby_engine version
instead
Logs
edgeHub Logs
<6> 2022-11-25 16:32:32.690 +05:30 [INF] - Installing certificates [CN=iotedged workload ca:10/20/2027 2:13:39 PM],[CN=desktop-ho6mhjc.ca:10/20/2027 2:13:39 PM],[CN=Azure IoT CA TestOnly Intermediate CA:10/20/2027 2:13:38 PM],[CN=Azure IoT CA TestOnly Root CA:10/20/2027 2:13:37 PM] to CertificateAuthority
<6> 2022-11-25 16:32:32.707 +05:30 [INF] - Installing certificates [CN=Azure IoT CA TestOnly Root CA:10/20/2027 2:13:37 PM] to CertificateAuthority
<6> 2022-11-25 16:32:32.712 +05:30 [INF] - Enabling SSL protocols: Tls, Tls11, Tls12
<6> 2022-11-25 16:32:32.880 +05:30 [INF] - Experimental features configuration: {"Enabled":false,"DisableCloudSubscriptions":false,"DisableConnectivityCheck":false}
<6> 2022-11-25 16:32:33.370 +05:30 [INF] - Created persistent store at C:\contemp\edgeHub
<6> 2022-11-25 16:32:33.403 +05:30 [INF] - Initializing Edge Hub
<6> 2022-11-25 16:32:33.403 +05:30 [INF] -
ββββββ βββββββββββ ββββββββββ ββββββββ
βββββββββββββββββββ βββββββββββββββββββ
ββββββββ βββββ βββ βββββββββββββββββ
ββββββββ βββββ βββ βββββββββββββββββ
βββ βββββββββββββββββββββββ βββββββββββ
βββ βββββββββββ βββββββ βββ βββββββββββ
βββ βββββββ βββββββββ βββββββββββββββ βββββββ ββββββββ
βββββββββββββββββββββ ββββββββββββββββββββββββ ββββββββ
ββββββ βββ βββ ββββββ βββ ββββββ ββββββββββ
ββββββ βββ βββ ββββββ βββ ββββββ βββββββββ
ββββββββββββ βββ βββββββββββββββββββββββββββββββββ
βββ βββββββ βββ βββββββββββββββ βββββββ ββββββββ
<6> 2022-11-25 16:32:33.404 +05:30 [INF] - Version - 1.1.10.51537679 (97eccac0da608804c90c6dca0f77c83d7d365bf3)
<6> 2022-11-25 16:32:33.404 +05:30 [INF] - OptimizeForPerformance=True
<6> 2022-11-25 16:32:33.404 +05:30 [INF] - MessageAckTimeoutSecs=30
<6> 2022-11-25 16:32:33.406 +05:30 [INF] - Loaded server certificate with expiration date of "2023-02-23T16:32:31.0000000+05:30"
<6> 2022-11-25 16:32:33.413 +05:30 [INF] - Using Asp Net server for metrics
<6> 2022-11-25 16:32:33.455 +05:30 [INF] - Created new message store
<6> 2022-11-25 16:32:33.455 +05:30 [INF] - Started task to cleanup processed and stale messages
<6> 2022-11-25 16:32:33.494 +05:30 [INF] - Created device scope identities cache
<6> 2022-11-25 16:32:33.498 +05:30 [INF] - Starting refresh of device scope identities cache
<6> 2022-11-25 16:32:33.501 +05:30 [INF] - Created DeviceConnectivityManager with connected check frequency 00:05:00 and disconnected check frequency 00:02:00
<6> 2022-11-25 16:32:33.522 +05:30 [INF] - Initialized storing twin manager
<6> 2022-11-25 16:32:33.534 +05:30 [INF] - Initializing configuration
<6> 2022-11-25 16:32:33.541 +05:30 [INF] - New device connection for device 93226ea4a6434766918b0e1c8aee8324/$edgeHub
<6> 2022-11-25 16:32:33.550 +05:30 [INF] - Client 93226ea4a6434766918b0e1c8aee8324/$edgeHub connected to edgeHub, processing existing subscriptions.
<6> 2022-11-25 16:32:33.577 +05:30 [INF] - Attempting to connect to IoT Hub for client 93226ea4a6434766918b0e1c8aee8324/$edgeHub via AMQP...
<6> 2022-11-25 16:32:33.587 +05:30 [INF] - Processing pending subscriptions for 93226ea4a6434766918b0e1c8aee8324/$edgeHub
<6> 2022-11-25 16:32:33.811 +05:30 [INF] - Created cloud endpoint iothub with max batch size 10 and fan-out factor of 10.
<6> 2022-11-25 16:32:33.918 +05:30 [INF] - Set the following 2 route(s) in edge hub
<6> 2022-11-25 16:32:33.918 +05:30 [INF] - route: FROM /messages/* INTO $upstream
<6> 2022-11-25 16:32:33.918 +05:30 [INF] - route1: FROM /messages/* WHERE NOT IS_DEFINED($connectionModuleId) AND type = "alerts" INTO BrokeredEndpoint("/modules/mipredictiveinsightsmodule/inputs/input1")
<6> 2022-11-25 16:32:33.918 +05:30 [INF] - Updated message store TTL to 7200 seconds
<6> 2022-11-25 16:32:33.919 +05:30 [INF] - Updated the edge hub store and forward configuration
<6> 2022-11-25 16:32:33.927 +05:30 [INF] - Started operation Get EdgeHub config
<6> 2022-11-25 16:32:33.927 +05:30 [INF] - Initialized edge hub configuration
<6> 2022-11-25 16:32:33.931 +05:30 [INF] - Starting timer to authenticate connections with a period of 300 seconds
<6> 2022-11-25 16:32:33.958 +05:30 [INF] - Scheduling server certificate renewal for "2023-02-23T16:30:01.0000554Z".
<6> 2022-11-25 16:32:33.959 +05:30 [INF] - Starting protocol heads - (MQTT, AMQP, HTTP)
<6> 2022-11-25 16:32:33.964 +05:30 [INF] - Starting MQTT head
<6> 2022-11-25 16:32:33.990 +05:30 [INF] - Initializing TLS endpoint on port 8883 for MQTT head.
<6> 2022-11-25 16:32:34.038 +05:30 [INF] - Starting AMQP head
<6> 2022-11-25 16:32:34.042 +05:30 [INF] - Started MQTT head
<6> 2022-11-25 16:32:34.103 +05:30 [INF] - Started AMQP head
<6> 2022-11-25 16:32:34.104 +05:30 [INF] - Starting HTTP head
<4> 2022-11-25 16:32:34.228 +05:30 [WRN] - Overriding address(es) '"http://+:80"'. Binding to endpoints defined in "UseKestrel()" instead.
<6> 2022-11-25 16:32:34.237 +05:30 [INF] - Started HTTP head
<6> 2022-11-25 16:32:35.037 +05:30 [INF] - Service identity for 93226ea4a6434766918b0e1c8aee8324 in device scope was updated.
<6> 2022-11-25 16:32:35.043 +05:30 [INF] - Service identity for 93226ea4a6434766918b0e1c8aee8324/$edgeAgent in device scope was updated.
<6> 2022-11-25 16:32:35.049 +05:30 [INF] - Service identity for 93226ea4a6434766918b0e1c8aee8324/$edgeHub in device scope was updated.
<6> 2022-11-25 16:32:35.054 +05:30 [INF] - Service identity for 93226ea4a6434766918b0e1c8aee8324/mipredictiveinsightsmodule in device scope was updated.
<6> 2022-11-25 16:32:35.059 +05:30 [INF] - Service identity for 93226ea4a6434766918b0e1c8aee8324/ddiotsfdownloadermodule in device scope was updated.
<6> 2022-11-25 16:32:35.064 +05:30 [INF] - Service identity for 93226ea4a6434766918b0e1c8aee8324/ddiotedgeremoteaccessmodule in device scope was updated.
<6> 2022-11-25 16:32:35.077 +05:30 [INF] - Service identity for 93226ea4a6434766918b0e1c8aee8324/ddiotdevicehostmodule in device scope was updated.
<6> 2022-11-25 16:32:36.169 +05:30 [INF] - Exiting disconnected state
<6> 2022-11-25 16:32:36.177 +05:30 [INF] - Received device connected callback
<6> 2022-11-25 16:32:36.180 +05:30 [INF] - Device connected to cloud, processing subscriptions for connected clients.
<6> 2022-11-25 16:32:36.182 +05:30 [INF] - Processing subscriptions for client 93226ea4a6434766918b0e1c8aee8324/$edgeHub on device connected to cloud.
<6> 2022-11-25 16:32:36.182 +05:30 [INF] - Skipping 93226ea4a6434766918b0e1c8aee8324/$edgeHub for subscription processing, as it is currently being processed.
<6> 2022-11-25 16:32:36.183 +05:30 [INF] - Starting refresh of device scope identities cache
<6> 2022-11-25 16:32:36.189 +05:30 [INF] - Entering connected state
<6> 2022-11-25 16:32:36.192 +05:30 [INF] - Cloud connection for 93226ea4a6434766918b0e1c8aee8324/$edgeHub is True
<6> 2022-11-25 16:32:36.194 +05:30 [INF] - Connection status for 93226ea4a6434766918b0e1c8aee8324/$edgeHub changed to ConnectionEstablished
<6> 2022-11-25 16:32:36.194 +05:30 [INF] - Client 93226ea4a6434766918b0e1c8aee8324/$edgeHub connected to cloud, processing existing subscriptions.
<6> 2022-11-25 16:32:36.194 +05:30 [INF] - Skipping 93226ea4a6434766918b0e1c8aee8324/$edgeHub for subscription processing, as it is currently being processed.
<6> 2022-11-25 16:32:36.195 +05:30 [INF] - Created cloud proxy for client 93226ea4a6434766918b0e1c8aee8324/$edgeHub via AMQP, with client operation timeout 20 seconds.
<6> 2022-11-25 16:32:36.197 +05:30 [INF] - Initialized cloud proxy cfffa791-bada-489a-a98a-e9f1b6bc974b for 93226ea4a6434766918b0e1c8aee8324/$edgeHub
<6> 2022-11-25 16:32:36.197 +05:30 [INF] - Created cloud connection for client 93226ea4a6434766918b0e1c8aee8324/$edgeHub
<6> 2022-11-25 16:32:38.735 +05:30 [INF] - Processing pending subscriptions for 93226ea4a6434766918b0e1c8aee8324/$edgeHub
<6> 2022-11-25 16:32:38.941 +05:30 [INF] - Updated reported properties for 93226ea4a6434766918b0e1c8aee8324/$edgeHub
<6> 2022-11-25 16:32:38.993 +05:30 [INF] - Obtained edge hub config from module twin
<6> 2022-11-25 16:32:39.028 +05:30 [INF] - Set the following 2 route(s) in edge hub
<6> 2022-11-25 16:32:39.028 +05:30 [INF] - route: FROM /messages/* INTO $upstream
<6> 2022-11-25 16:32:39.028 +05:30 [INF] - route1: FROM /messages/* WHERE NOT IS_DEFINED($connectionModuleId) AND type = "alerts" INTO BrokeredEndpoint("/modules/mipredictiveinsightsmodule/inputs/input1")
<6> 2022-11-25 16:32:39.028 +05:30 [INF] - Updated message store TTL to 7200 seconds
<6> 2022-11-25 16:32:39.028 +05:30 [INF] - Updated the edge hub store and forward configuration
<6> 2022-11-25 16:32:44.364 +05:30 [INF] - Updated reported properties for 93226ea4a6434766918b0e1c8aee8324/$edgeHub
<6> 2022-11-25 16:37:33.953 +05:30 [INF] - Entering periodic task to reauthenticate connected clients
<6> 2022-11-25 16:42:33.932 +05:30 [INF] - Entering periodic task to reauthenticate connected clients
<6> 2022-11-25 16:47:33.932 +05:30 [INF] - Entering periodic task to reauthenticate connected clients
<6> 2022-11-25 16:52:33.946 +05:30 [INF] - Entering periodic task to reauthenticate connected clients
edge-agent logs
iotedge logs -f edgeAgent
2022-11-25 11:02:22.947 +00:00 Edge Agent Main()
<6> 2022-11-25 16:32:23.488 +05:30 [INF] - Initializing Edge Agent.
<6> 2022-11-25 16:32:23.738 +05:30 [INF] - Version - 1.1.10.51537679 (97eccac0da608804c90c6dca0f77c83d7d365bf3)
<6> 2022-11-25 16:32:23.738 +05:30 [INF] -
ββββββ βββββββββββ ββββββββββ ββββββββ
βββββββββββββββββββ βββββββββββββββββββ
ββββββββ βββββ βββ βββββββββββββββββ
ββββββββ βββββ βββ βββββββββββββββββ
βββ βββββββββββββββββββββββ βββββββββββ
βββ βββββββββββ βββββββ βββ βββββββββββ
βββ βββββββ βββββββββ βββββββββββββββ βββββββ ββββββββ
βββββββββββββββββββββ ββββββββββββββββββββββββ ββββββββ
ββββββ βββ βββ ββββββ βββ ββββββ ββββββββββ
ββββββ βββ βββ ββββββ βββ ββββββ βββββββββ
ββββββββββββ βββ βββββββββββββββββββββββββββββββββ
βββ βββββββ βββ βββββββββββββββ βββββββ ββββββββ
<6> 2022-11-25 16:32:23.827 +05:30 [INF] - Experimental features configuration: {"Enabled":false,"DisableCloudSubscriptions":false}
<6> 2022-11-25 16:32:24.074 +05:30 [INF] - Installing certificates [CN=Azure IoT CA TestOnly Root CA:10/20/2027 2:13:37 PM] to CertificateAuthority
<6> 2022-11-25 16:32:24.181 +05:30 [INF] - Starting metrics listener on Host: *, Port: 9600, Suffix: /metrics
<6> 2022-11-25 16:32:24.378 +05:30 [INF] - Updating performance metrics every 05m:00s
<6> 2022-11-25 16:32:24.384 +05:30 [INF] - Started operation Get system resources
<6> 2022-11-25 16:32:24.389 +05:30 [INF] - Collecting metadata metrics
<6> 2022-11-25 16:32:24.442 +05:30 [INF] - Set metadata metrics: 1.1.10.51537679 (97eccac0da608804c90c6dca0f77c83d7d365bf3), {"Enabled":false,"DisableCloudSubscriptions":false}, {"OperatingSystemType":"windows","Architecture":"x86_64","Version":"1.1.11 (3c43694880e2ba692d3e38f8b8069728b952fa0d)","Provisioning":{"Type":"dps.tpm","DynamicReprovisioning":false},"ServerVersion":"19.03.12+azure","KernelVersion":"10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)","OperatingSystem":"Windows 10 Enterprise LTSC 2019 Version 1809 (OS Build 17763.3650)","NumCpus":4,"Virtualized":"unknown"}, True
<6> 2022-11-25 16:32:24.461 +05:30 [INF] - Started operation Checkpoint Availability
<6> 2022-11-25 16:32:24.469 +05:30 [INF] - Started operation refresh twin config
<6> 2022-11-25 16:32:24.488 +05:30 [INF] - Edge agent attempting to connect to IoT Hub via Amqp_Tcp_Only...
<6> 2022-11-25 16:32:24.870 +05:30 [INF] - Created persistent store at C:\Windows\TEMP\edgeAgent
<6> 2022-11-25 16:32:24.914 +05:30 [INF] - Started operation Metrics Scrape
<6> 2022-11-25 16:32:24.914 +05:30 [INF] - Started operation Metrics Upload
Scraping frequency: 01:00:00
Upload Frequency: 1.00:00:00
<6> 2022-11-25 16:32:25.186 +05:30 [INF] - Registering request handler UploadModuleLogs
<6> 2022-11-25 16:32:25.187 +05:30 [INF] - Registering request handler GetModuleLogs
<6> 2022-11-25 16:32:25.187 +05:30 [INF] - Registering request handler UploadSupportBundle
<6> 2022-11-25 16:32:25.187 +05:30 [INF] - Registering request handler RestartModule
<6> 2022-11-25 16:32:27.328 +05:30 [INF] - Edge agent connected to IoT Hub via Amqp_Tcp_Only.
<6> 2022-11-25 16:32:27.879 +05:30 [INF] - Initialized new module client with subscriptions enabled
<6> 2022-11-25 16:32:28.156 +05:30 [INF] - Obtained Edge agent twin from IoTHub with desired properties version 177 and reported properties version 426.
<6> 2022-11-25 16:32:29.503 +05:30 [INF] - Plan execution started for deployment 177
<6> 2022-11-25 16:32:29.528 +05:30 [INF] - Executing command: "Command Group: (\n [Command Group: (\n [Prepare module edgeHub]\n [Create module edgeHub]\n)]\n [Start module edgeHub]\n)"
<6> 2022-11-25 16:32:29.531 +05:30 [INF] - Executing command: "Command Group: (\n [Prepare module edgeHub]\n [Create module edgeHub]\n)"
<6> 2022-11-25 16:32:30.333 +05:30 [INF] - Executing command: "Start module edgeHub"
<6> 2022-11-25 16:32:31.242 +05:30 [INF] - Executing command: "Command Group: (\n [Command Group: (\n [Prepare module ddiotsfdownloadermodule]\n [Create module ddiotsfdownloadermodule]\n)]\n [Start module ddiotsfdownloadermodule]\n)"
<6> 2022-11-25 16:32:31.243 +05:30 [INF] - Executing command: "Command Group: (\n [Prepare module ddiotsfdownloadermodule]\n [Create module ddiotsfdownloadermodule]\n)"
<6> 2022-11-25 16:32:37.464 +05:30 [INF] - Executing command: "Start module ddiotsfdownloadermodule"
<6> 2022-11-25 16:32:38.395 +05:30 [INF] - Executing command: "Command Group: (\n [Command Group: (\n [Prepare module mipredictiveinsightsmodule]\n [Create module mipredictiveinsightsmodule]\n)]\n [Start module mipredictiveinsightsmodule]\n)"
<6> 2022-11-25 16:32:38.396 +05:30 [INF] - Executing command: "Command Group: (\n [Prepare module mipredictiveinsightsmodule]\n [Create module mipredictiveinsightsmodule]\n)"
<6> 2022-11-25 16:32:44.558 +05:30 [INF] - Executing command: "Start module mipredictiveinsightsmodule"
<6> 2022-11-25 16:32:45.510 +05:30 [INF] - Executing command: "Command Group: (\n [Command Group: (\n [Prepare module ddiotedgeremoteaccessmodule]\n [Create module ddiotedgeremoteaccessmodule]\n)]\n [Start module ddiotedgeremoteaccessmodule]\n)"
<6> 2022-11-25 16:32:45.510 +05:30 [INF] - Executing command: "Command Group: (\n [Prepare module ddiotedgeremoteaccessmodule]\n [Create module ddiotedgeremoteaccessmodule]\n)"
<6> 2022-11-25 16:32:52.737 +05:30 [INF] - Executing command: "Start module ddiotedgeremoteaccessmodule"
<6> 2022-11-25 16:32:53.736 +05:30 [INF] - Executing command: "Command Group: (\n [Command Group: (\n [Prepare module ddiotdevicehostmodule]\n [Create module ddiotdevicehostmodule]\n)]\n [Start module ddiotdevicehostmodule]\n)"
<6> 2022-11-25 16:32:53.736 +05:30 [INF] - Executing command: "Command Group: (\n [Prepare module ddiotdevicehostmodule]\n [Create module ddiotdevicehostmodule]\n)"
<6> 2022-11-25 16:32:59.883 +05:30 [INF] - Executing command: "Start module ddiotdevicehostmodule"
<6> 2022-11-25 16:33:00.715 +05:30 [INF] - Plan execution ended for deployment 177
<6> 2022-11-25 16:33:01.491 +05:30 [INF] - Updated reported properties
<6> 2022-11-25 16:33:06.915 +05:30 [INF] - Updated reported properties
<6> 2022-11-25 16:41:05.499 +05:30 [INF] - Updated reported properties
Additional Information
- I have tried with the latest edgeRuntime 1.1.15 and device SDK as well but the behavior is the same
Any help will be highly appreciated.
Issue Analytics
- State:
- Created 10 months ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Troubleshoot Azure IoT Edge common errors
Edge Agent module with LTE connection reports 'empty edge agent config' and causes 'transient network error'
Read more >Azure IoT Edge ClientModule can't connect in host mode
After some more digging around, I found the solution myself. Module fails to restart because of transient network error.
Read more >Troubleshoot your IoT Edge device - Azure
Your first step when troubleshooting IoT Edge should be to use the check command, which runs a collection of configuration and connectivityΒ ...
Read more >IBM Cloud Pak for Data Version 4.5
This chapter provides an overview of the Cloud Pak for Data concepts, architecture, and ... If you have an Red Hat OpenShift deployment...
Read more >User manual - netFIELD Connect
LAN interface in the firewall, UPnP only works if port 80 (http) is ... If you want to restart the netFIELD OS after...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@niravjprabtani closing this github issue in lieu of your (to be opened) support ticket.
@micahl : I can understand your point but we have certain limitations as certain devices are already deployed at the clientβs location and we wonβt be able to install EFLOW remotely. I can harvest logs as requested via remote SSH so we can investigate it further.
Thank you for your assistance. I can apply for a workaround to restart edgeAgent in case of a transient network issue but I will raise a support ticket as well to find out the root cause.