Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edgeHub race condition on startup - modules cannot send messages for 5 minutes after device deployment #5398

Open
gri6507 opened this issue Aug 20, 2021 · 23 comments · Fixed by #5515
Labels
1.1.4 Targeted for 1.1.4 release area:sdk Issue with device sdk customer-reported iotedge no-issue-activity

Comments

@gri6507
Copy link
Contributor

gri6507 commented Aug 20, 2021

Expected Behavior

When an IoT Edge device is deployed, the modules specified in the deployment are started. If module docker images are already downloaded, the starting of those modules is very quick. This means that $edgeHub is started almost immediately after the edge device is deployed because "startupOrder" : 0 is specified for edgeHub in the deployment. Also per deployment specification, my custom module is started after $edgeHub (no explicit startupOrder in deployment). Shortly after my custom module starts, it sends a telemetry channel message using the C IoT SDK IoTHubModuleClient_LL_SendEventAsync() function. The module checks the return value from this function call to verify that it is IOTHUB_CLIENT_OK. So, from my custom module perspective, all should be OK and the message should be received a short time later in the cloud IoT Hub.

Current Behavior

About half of the time, the cloud IoT Hub never receives that first message. I ensured that all routing from the hub is turned off and no one is consuming the message. I am using Azure IoT Explorer to listen to all telemetry messages on the hub to see if the message is received in the cloud or not. Whether the message is received in the cloud depends on whether edgeHub module had a startup error preventing it from setting up a default route immediately on startup.

The return value for IoTHubModuleClient_LL_SendEventAsync() function is always the same, indicating success. There does not appear to be any other C IoT SDK API to find out if the edgeHub has created the default route to know if it's OK to send telemetry messages.

Steps to Reproduce

Provide a detailed set of steps to reproduce the bug.

  1. Create a deployment with edgeAgent, edgeHub ("startupOrder" : 0), and a custom module which sends telemetry messages shortly after startup.
  2. Create an IoT Edge device with this deployment. I use X.509 with DPS to automate this process when iotedge starts
  3. Stop iotedge process and delete this device from IoTHub
  4. Restart iotedge process which will re-create the device in IoT Hub. The deployment will follow soon after. Once the edge device has the deployment, modules will start VERY quickly since docker images are already on the device
  5. Observe edgeHub log to know whether default route was created on startup or not. You can see the effect of that in IoT Hub in the cloud which will either receive the telemetry message or not.

Context (Environment)

Output of iotedge check

Configuration checks
--------------------
_ config.yaml is well-formed - OK
_ config.yaml has well-formed connection string - OK
_ container engine is installed and functional - OK
_ config.yaml has correct hostname - OK
_ config.yaml has correct URIs for daemon mgmt endpoint - OK
_ latest security daemon - OK
_ host time is close to real time - Warning
    Could not query NTP server
_ container time is close to host time - OK
_ DNS server - OK
_ production readiness: identity certificates expiry - OK
_ production readiness: certificates - Warning
    The Edge device is using self-signed automatically-generated development certificates.
    They will expire in 24 days (at 2021-09-13 17:30:14 UTC) causing module-to-module and downstream device communication to fail on an active deployment.
    After the certs have expired, restarting the IoT Edge daemon will trigger it to generate new development certs.
    Please consider using production certificates instead. See https://aka.ms/iotedge-prod-checklist-certs for best practices.
_ production readiness: container engine - OK
_ production readiness: logs policy - OK
_ production readiness: Edge Agent's storage directory is persisted on the host filesystem - Warning
    The edgeAgent module is not configured to persist its /tmp/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 - Warning
    The edgeHub module is not configured to persist its /tmp/edgeHub 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.

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 default network can connect to IoT Hub AMQP port - OK
_ container on the default network can connect to IoT Hub HTTPS / WebSockets port - OK
_ container on the default network can connect to 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

21 check(s) succeeded.
4 check(s) raised warnings. Re-run with --verbose for more details.

Device Information

  • Ubuntu 18.04
  • amd64
  • Linux containers

Runtime Versions

  • iotedge 1.1.4
  • mcr.microsoft.com/azureiotedge-agent 1.1 97834f10b7b0
  • mcr.microsoft.com/azureiotedge-hub 1.1 a5600e89bf20
  • Docker/Moby
Client:
 Version:           20.10.8+azure
 API version:       1.41
 Go version:        go1.16.7
 Git commit:        3967b7d28e15a020e4ee344283128ead633b3e0c
 Built:             Thu Jul 29 13:55:47 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.8+azure
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.7
  Git commit:       75249d88bc107a122b503f6a50e89c994331867c
  Built:            Fri Jul 30 01:30:57 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.9+azure
  GitCommit:        e25210fe30a0a703442421b0f60afac609f950a3
 runc:
  Version:          1.0.1
  GitCommit:        4144b63817ebcc5b358fc2c8ef95f7cddd709aa7
 docker-init:
  Version:          0.19.0
  GitCommit:    

Logs

The cases where the message is received correspond to the following `edgeHub` log. You can see that 6 seconds after module start, the default route is created. Good case
<6> 2021-08-20 14:12:24.516 +00:00 [INF] - Starting refresh of device scope identities cache
<6> 2021-08-20 14:12:24.518 +00:00 [INF] - Version - 1.1.4.44136317 (cbeb53cf8b5889718c4724936f6d13ef5ceaac2e)
<6> 2021-08-20 14:12:24.519 +00:00 [INF] - OptimizeForPerformance=True
<6> 2021-08-20 14:12:24.519 +00:00 [INF] - MessageAckTimeoutSecs=30
<6> 2021-08-20 14:12:24.522 +00:00 [INF] - Loaded server certificate with expiration date of "2021-09-13T17:30:14.0000000+00:00"
<6> 2021-08-20 14:12:24.550 +00:00 [INF] - Using Asp Net server for metrics
<6> 2021-08-20 14:12:24.713 +00:00 [INF] - Created new message store
<6> 2021-08-20 14:12:24.715 +00:00 [INF] - Started task to cleanup processed and stale messages
<6> 2021-08-20 14:12:24.945 +00:00 [INF] - Created DeviceConnectivityManager with connected check frequency 00:05:00 and disconnected check frequency 00:02:00
<6> 2021-08-20 14:12:25.060 +00:00 [INF] - Initialized storing twin manager
<6> 2021-08-20 14:12:25.108 +00:00 [INF] - Initializing configuration
<6> 2021-08-20 14:12:25.176 +00:00 [INF] - New device connection for device PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:12:25.213 +00:00 [INF] - Client PaulgICO310swgw2/$edgeHub connected to edgeHub, processing existing subscriptions.
<6> 2021-08-20 14:12:25.401 +00:00 [INF] - Processing pending subscriptions for PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:12:26.282 +00:00 [INF] - Attempting to connect to IoT Hub for client PaulgICO310swgw2/$edgeHub via AMQP...
<4> 2021-08-20 14:12:26.380 +00:00 [WRN] - Empty edge hub configuration received. Ignoring...
<6> 2021-08-20 14:12:28.242 +00:00 [INF] - Exiting disconnected state
<6> 2021-08-20 14:12:28.294 +00:00 [INF] - Received device connected callback
<6> 2021-08-20 14:12:28.314 +00:00 [INF] - Device connected to cloud, processing subscriptions for connected clients.
<6> 2021-08-20 14:12:28.320 +00:00 [INF] - Processing subscriptions for client PaulgICO310swgw2/$edgeHub on device connected to cloud.
<6> 2021-08-20 14:12:28.321 +00:00 [INF] - Skipping PaulgICO310swgw2/$edgeHub for subscription processing, as it is currently being processed.
<6> 2021-08-20 14:12:28.348 +00:00 [INF] - Entering connected state
<6> 2021-08-20 14:12:28.359 +00:00 [INF] - Cloud connection for PaulgICO310swgw2/$edgeHub is True
<6> 2021-08-20 14:12:28.368 +00:00 [INF] - Connection status for PaulgICO310swgw2/$edgeHub changed to ConnectionEstablished
<6> 2021-08-20 14:12:28.374 +00:00 [INF] - Client PaulgICO310swgw2/$edgeHub connected to cloud, processing existing subscriptions.
<6> 2021-08-20 14:12:28.374 +00:00 [INF] - Skipping PaulgICO310swgw2/$edgeHub for subscription processing, as it is currently being processed.
<6> 2021-08-20 14:12:28.381 +00:00 [INF] - Created cloud proxy for client PaulgICO310swgw2/$edgeHub via AMQP, with client operation timeout 20 seconds.
<6> 2021-08-20 14:12:28.394 +00:00 [INF] - Initialized cloud proxy 2501b05a-7a24-471d-8f79-2aad955d2208 for PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:12:28.399 +00:00 [INF] - Created cloud connection for client PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:12:28.863 +00:00 [INF] - Processing pending subscriptions for PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:12:28.879 +00:00 [INF] - Updated reported properties for PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:12:29.593 +00:00 [INF] - Created cloud endpoint iothub with max batch size 10 and fan-out factor of 10.
<6> 2021-08-20 14:12:29.948 +00:00 [INF] - Obtained edge hub config from module twin
<6> 2021-08-20 14:12:30.344 +00:00 [INF] - Updated reported properties for PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:12:30.436 +00:00 [INF] - Set the following 1 route(s) in edge hub
<6> 2021-08-20 14:12:30.437 +00:00 [INF] - default: FROM /messages/* INTO $upstream
<6> 2021-08-20 14:12:30.442 +00:00 [INF] - Updated message store TTL to 2678400 seconds
<6> 2021-08-20 14:12:30.443 +00:00 [INF] - Updated the edge hub store and forward configuration
<6> 2021-08-20 14:12:30.471 +00:00 [INF] - Started operation Get EdgeHub config
<6> 2021-08-20 14:12:30.472 +00:00 [INF] - Initialized edge hub configuration
The cases where the message is **NOT** received correspond to the following `edgeHub` log. You can see that 5 seconds after module start, the module throws an exception when processing twin desired properties. Due to the 300 second authentication timer, the module then waits 5 minutes before the default route is created. Bad case
<6> 2021-08-20 14:29:06.611 +00:00 [INF] - Version - 1.1.4.44136317 (cbeb53cf8b5889718c4724936f6d13ef5ceaac2e)                                                                                              [90/7592]
<6> 2021-08-20 14:29:06.612 +00:00 [INF] - OptimizeForPerformance=True                       
<6> 2021-08-20 14:29:06.612 +00:00 [INF] - MessageAckTimeoutSecs=30            
<6> 2021-08-20 14:29:06.615 +00:00 [INF] - Loaded server certificate with expiration date of "2021-09-13T17:30:14.0000000+00:00"
<6> 2021-08-20 14:29:06.631 +00:00 [INF] - Created device scope identities cache                                  
<6> 2021-08-20 14:29:06.642 +00:00 [INF] - Using Asp Net server for metrics                                         
<6> 2021-08-20 14:29:06.644 +00:00 [INF] - Starting refresh of device scope identities cache
<6> 2021-08-20 14:29:06.792 +00:00 [INF] - Created new message store
<6> 2021-08-20 14:29:06.793 +00:00 [INF] - Started task to cleanup processed and stale messages 
<6> 2021-08-20 14:29:07.037 +00:00 [INF] - Created DeviceConnectivityManager with connected check frequency 00:05:00 and disconnected check frequency 00:02:00
<6> 2021-08-20 14:29:07.153 +00:00 [INF] - Initialized storing twin manager
<6> 2021-08-20 14:29:07.193 +00:00 [INF] - Initializing configuration                               
<6> 2021-08-20 14:29:07.243 +00:00 [INF] - New device connection for device PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:29:07.279 +00:00 [INF] - Client PaulgICO310swgw2/$edgeHub connected to edgeHub, processing existing subscriptions.
<6> 2021-08-20 14:29:07.472 +00:00 [INF] - Processing pending subscriptions for PaulgICO310swgw2/$edgeHub                                 
<4> 2021-08-20 14:29:08.430 +00:00 [WRN] - Empty edge hub configuration received. Ignoring...
<6> 2021-08-20 14:29:08.698 +00:00 [INF] - Attempting to connect to IoT Hub for client PaulgICO310swgw2/$edgeHub via AMQP...
<6> 2021-08-20 14:29:10.367 +00:00 [INF] - Exiting disconnected state
<6> 2021-08-20 14:29:10.419 +00:00 [INF] - Received device connected callback
<6> 2021-08-20 14:29:10.437 +00:00 [INF] - Device connected to cloud, processing subscriptions for connected clients.
<6> 2021-08-20 14:29:10.442 +00:00 [INF] - Processing subscriptions for client PaulgICO310swgw2/$edgeHub on device connected to cloud.
<6> 2021-08-20 14:29:10.444 +00:00 [INF] - Skipping PaulgICO310swgw2/$edgeHub for subscription processing, as it is currently being processed.
<6> 2021-08-20 14:29:10.472 +00:00 [INF] - Entering connected state
<6> 2021-08-20 14:29:10.482 +00:00 [INF] - Cloud connection for PaulgICO310swgw2/$edgeHub is True
<6> 2021-08-20 14:29:10.491 +00:00 [INF] - Connection status for PaulgICO310swgw2/$edgeHub changed to ConnectionEstablished
<6> 2021-08-20 14:29:10.496 +00:00 [INF] - Client PaulgICO310swgw2/$edgeHub connected to cloud, processing existing subscriptions.
<6> 2021-08-20 14:29:10.496 +00:00 [INF] - Skipping PaulgICO310swgw2/$edgeHub for subscription processing, as it is currently being processed.
<6> 2021-08-20 14:29:10.503 +00:00 [INF] - Created cloud proxy for client PaulgICO310swgw2/$edgeHub via AMQP, with client operation timeout 20 seconds.
<6> 2021-08-20 14:29:10.516 +00:00 [INF] - Initialized cloud proxy fddeb1a2-e024-47a0-99fb-265f08833988 for PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:29:10.520 +00:00 [INF] - Created cloud connection for client PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:29:10.961 +00:00 [INF] - Processing pending subscriptions for PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:29:10.968 +00:00 [INF] - Updated reported properties for PaulgICO310swgw2/$edgeHub
<4> 2021-08-20 14:29:11.557 +00:00 [WRN] - Error getting edge hub config from twin desired properties
System.ArgumentException: schemaVersion is null or whitespace.
   at Microsoft.Azure.Devices.Edge.Util.Preconditions.CheckArgument(Boolean expression, String message) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/Preconditions.cs:line 73
   at Microsoft.Azure.Devices.Edge.Util.Preconditions.CheckNonWhiteSpace(String value, String paramName) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/Preconditions.cs:line 192
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.EdgeHubDesiredProperties..ctor(String schemaVersion, IDictionary`2 routes, StoreAndForwardConfiguration storeAndForwardConfiguration) in /home/vsts/work/1/s/edge-
hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/EdgeHubDesiredProperties.cs:line 14
   at lambda_method(Closure , Object[] )
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator,
String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boole
an& createdFromNonDefaultCreator)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty c
ontainerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonPro
perty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource.GetConfigInternal() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/TwinConfigSource.cs:line 97
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource.GetConfigInternal() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/TwinConfigSource.cs:line 105
<4> 2021-08-20 14:29:11.630 +00:00 [WRN] - Empty edge hub configuration received. Ignoring...
<6> 2021-08-20 14:29:11.655 +00:00 [INF] - Started operation Get EdgeHub config
<6> 2021-08-20 14:29:11.656 +00:00 [INF] - Initialized edge hub configuration
<6> 2021-08-20 14:29:11.681 +00:00 [INF] - Starting timer to authenticate connections with a period of 300 seconds
<6> 2021-08-20 14:29:11.915 +00:00 [INF] - Scheduling server certificate renewal for "2021-09-13T17:27:44.0004097Z".
<6> 2021-08-20 14:29:11.919 +00:00 [INF] - Starting protocol heads - (MQTT, AMQP, HTTP)
<6> 2021-08-20 14:29:11.928 +00:00 [INF] - Starting MQTT head
<6> 2021-08-20 14:29:12.011 +00:00 [INF] - Initializing TLS endpoint on port 8883 for MQTT head.
<6> 2021-08-20 14:29:12.179 +00:00 [INF] - Starting AMQP head
<6> 2021-08-20 14:29:12.210 +00:00 [INF] - Started MQTT head
<6> 2021-08-20 14:29:12.481 +00:00 [INF] - Updated reported properties for PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:29:12.516 +00:00 [INF] - Started AMQP head
<6> 2021-08-20 14:29:12.525 +00:00 [INF] - Starting HTTP head
<4> 2021-08-20 14:29:13.168 +00:00 [WRN] - Overriding address(es) '"http://+:80"'. Binding to endpoints defined in "UseKestrel()" instead.
<6> 2021-08-20 14:29:13.191 +00:00 [INF] - Started HTTP head
<6> 2021-08-20 14:29:19.781 +00:00 [INF] - Client PaulgICO310swgw2/DaikinSoftwareGateway in device scope authenticated locally.
<6> 2021-08-20 14:29:19.822 +00:00 [INF] - Successfully generated identity for clientId PaulgICO310swgw2/DaikinSoftwareGateway and username Telemetry-cu-dev1-iot.azure-devices.net/PaulgICO310swgw2/DaikinSoftwareGa
teway/?api-version=2020-09-30&DeviceClientType=iothubclient%2f1.7.0%20(native%3b%20Linux%3b%20x86_64)
<6> 2021-08-20 14:29:19.841 +00:00 [INF] - ClientAuthenticated, PaulgICO310swgw2/DaikinSoftwareGateway, 4727c0dd
<6> 2021-08-20 14:29:19.931 +00:00 [INF] - New device connection for device PaulgICO310swgw2/DaikinSoftwareGateway
<6> 2021-08-20 14:29:19.932 +00:00 [INF] - Client PaulgICO310swgw2/DaikinSoftwareGateway connected to edgeHub, processing existing subscriptions.
<6> 2021-08-20 14:29:19.990 +00:00 [INF] - Bind device proxy for device PaulgICO310swgw2/DaikinSoftwareGateway
<6> 2021-08-20 14:29:19.992 +00:00 [INF] - Binding message channel for device Id PaulgICO310swgw2/DaikinSoftwareGateway
<6> 2021-08-20 14:29:20.003 +00:00 [INF] - Attempting to connect to IoT Hub for client PaulgICO310swgw2/DaikinSoftwareGateway via AMQP...
<6> 2021-08-20 14:29:20.125 +00:00 [INF] - Processing subscriptions TwinResponse, Methods, ModuleMessages for client PaulgICO310swgw2/DaikinSoftwareGateway.
<6> 2021-08-20 14:29:20.126 +00:00 [INF] - Processing pending subscriptions for PaulgICO310swgw2/DaikinSoftwareGateway
<6> 2021-08-20 14:29:20.178 +00:00 [INF] - Set subscriptions from session state for PaulgICO310swgw2/DaikinSoftwareGateway
<6> 2021-08-20 14:29:20.206 +00:00 [INF] - Cloud connection for PaulgICO310swgw2/DaikinSoftwareGateway is True
<6> 2021-08-20 14:29:20.207 +00:00 [INF] - Connection status for PaulgICO310swgw2/DaikinSoftwareGateway changed to ConnectionEstablished
<6> 2021-08-20 14:29:20.207 +00:00 [INF] - Client PaulgICO310swgw2/DaikinSoftwareGateway connected to cloud, processing existing subscriptions.
<6> 2021-08-20 14:29:20.207 +00:00 [INF] - Skipping PaulgICO310swgw2/DaikinSoftwareGateway for subscription processing, as it is currently being processed.
<6> 2021-08-20 14:29:20.207 +00:00 [INF] - Created cloud proxy for client PaulgICO310swgw2/DaikinSoftwareGateway via AMQP, with client operation timeout 20 seconds.
<6> 2021-08-20 14:29:20.208 +00:00 [INF] - Initialized cloud proxy af7e5458-37cf-4ce8-8221-9545fe503a0d for PaulgICO310swgw2/DaikinSoftwareGateway
<6> 2021-08-20 14:29:20.208 +00:00 [INF] - Created cloud connection for client PaulgICO310swgw2/DaikinSoftwareGateway
<6> 2021-08-20 14:29:21.232 +00:00 [INF] - Processing subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client PaulgICO310swgw2/DaikinSoftwareGateway.
<6> 2021-08-20 14:29:21.238 +00:00 [INF] - Processing pending subscriptions for PaulgICO310swgw2/DaikinSoftwareGateway
<6> 2021-08-20 14:29:21.240 +00:00 [INF] - Set subscriptions from session state for PaulgICO310swgw2/DaikinSoftwareGateway
<6> 2021-08-20 14:29:23.063 +00:00 [INF] - Updated reported properties for PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:33:56.201 +00:00 [INF] - Created cloud endpoint iothub with max batch size 10 and fan-out factor of 10.
<6> 2021-08-20 14:33:56.207 +00:00 [INF] - Obtained edge hub config patch update from module twin
<6> 2021-08-20 14:33:56.497 +00:00 [INF] - Updating edge hub configuration
<6> 2021-08-20 14:33:56.784 +00:00 [INF] - Updated reported properties for PaulgICO310swgw2/$edgeHub
<6> 2021-08-20 14:33:56.975 +00:00 [INF] - Set the following 1 route(s) in edge hub
<6> 2021-08-20 14:33:56.975 +00:00 [INF] - default: FROM /messages/* INTO $upstream
<6> 2021-08-20 14:33:56.980 +00:00 [INF] - Updated message store TTL to 2678400 seconds
<6> 2021-08-20 14:33:56.982 +00:00 [INF] - Updated the edge hub store and forward configuration
<6> 2021-08-20 14:34:11.700 +00:00 [INF] - Entering periodic task to reauthenticate connected clients
<6> 2021-08-20 14:39:11.682 +00:00 [INF] - Entering periodic task to reauthenticate connected clients

Additional Information

Even in the "bad case" where the default route is not created right away, when the 5 minute delay expires and the default route is eventually created, further module telemetry messages are conveyed to the cloud without problems.

@onalante-msft
Copy link
Contributor

onalante-msft commented Aug 27, 2021

This error can also be seen when deploying and deleting a deployment with no modules. When deleting the deployment, edgeHub patches the desired properties. However, turning off a module seems to send JSON without the schemaVersion parameter [0]. A similar bug probably exists in edgeAgent, leading to output like this:

<4> 2021-08-27 02:45:49.662 +00:00 [WRN] - Reconcile failed because of invalid configuration format
Microsoft.Azure.Devices.Edge.Agent.Core.ConfigSources.ConfigFormatException: Agent configuration format is invalid.
 ---> Newtonsoft.Json.JsonSerializationException: Value cannot be null. (Parameter 'schemaVersion')
   at Microsoft.Azure.Devices.Edge.Agent.Core.Serde.TypeSpecificSerDe`1.Deserialize[TU](String json) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/serde/TypeSpecificSerDe.cs:line 67
   at Microsoft.Azure.Devices.Edge.Agent.Core.Serde.TypeSpecificSerDe`1.Deserialize(String json) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/serde/TypeSpecificSerDe.cs:line 56
   at Microsoft.Azure.Devices.Edge.Agent.IoTHub.EdgeAgentConnection.UpdateDeploymentConfig(TwinCollection desiredProperties) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.IoTHub/EdgeAgentConnection.cs:line 359
   --- End of inner exception stack trace ---
   at Microsoft.Azure.Devices.Edge.Agent.IoTHub.EdgeAgentConnection.UpdateDeploymentConfig(TwinCollection desiredProperties) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.IoTHub/EdgeAgentConnection.cs:line 371
   at Microsoft.Azure.Devices.Edge.Agent.IoTHub.EdgeAgentConnection.ApplyPatchAsync(TwinCollection desiredProperties, TwinCollection patch) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.IoTHub/EdgeAgentConnection.cs:line 335
   at Microsoft.Azure.Devices.Edge.Agent.Core.Agent.ReconcileAsync(CancellationToken token) in /home/vsts/work/1/s/edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Core/Agent.cs:line 128

n.b. edgeHub and edgeAgent on master still seem to have this behavior.

cf. differencing logic in TwinManager and StoringTwinManager

[0] Desired properties patch according to edgeHub:

// baseline:
{"routes":{},"schemaVersion":"1.1","storeAndForwardConfiguration":{"timeToLiveSecs":7200},"$version":24}
// patch:
{"schemaVersion":null,"storeAndForwardConfiguration":null,"$version":25}
// combined:
{"routes":{}, "$version":25}

@gri6507
Copy link
Contributor Author

gri6507 commented Aug 27, 2021

@onalante-msft - thank you for the follow up. I am glad to know that the issue has been confirmed. Please post an update when a solution is in the works, especially once target release information becomes available.

@onalante-msft
Copy link
Contributor

onalante-msft commented Aug 30, 2021

@gri6507 Would it be possible for you to post debug logs (with sensitive information redacted)? You can request debug logs by setting (as part of the deployment) RuntimeLogLevel=debug in the EdgeHub environment variables. You had mentioned that this was an intermittent issue, but I am having very poor luck reliably reproducing your issue when EdgeHub has routes defined. It was also brought to my attention that the no-route scenario---like the one I was debugging earlier---may not be the exact issue you are facing here since you did specify that your module was sending messages.

Thank you for your patience.

@gri6507
Copy link
Contributor Author

gri6507 commented Sep 2, 2021

@onalante-msft - Sorry for the detailed response. Below are the logs with RuntimeLogLevel=debug environment in edgeAgent. FYI, this testing was done with iotedge version 1.1.5 which is the current latest (original testing was on 1.1.4)

Bad case
2021-09-02 15:10:40  Starting Edge Hub
2021-09-02 15:10:40.951 +00:00 Edge Hub Main()
<7> 2021-09-02 15:10:41.773 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to CreateServerCertificateAsync
<7> 2021-09-02 15:10:42.649 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:42.663 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:42.679 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/certificate/server?api-version=2019-01-30
<7> 2021-09-02 15:10:43.376 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received Created
<7> 2021-09-02 15:10:43.681 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for CreateServerCertificateAsync
<7> 2021-09-02 15:10:44.486 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to TrustBundleAsync
<7> 2021-09-02 15:10:44.516 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:44.516 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:44.517 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/trust-bundle?api-version=2019-01-30
<7> 2021-09-02 15:10:44.522 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:44.534 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for TrustBundleAsync
<6> 2021-09-02 15:10:44.570 +00:00 [INF] [EdgeHub] - Installing certificates [CN=iotedged workload ca:09/13/2021 17:30:14],[CN=Test Edge Device CA:09/13/2021 17:30:14],[CN=Test Edge Owner CA:09/13/2021 17:30:14] to Root
<6> 2021-09-02 15:10:44.636 +00:00 [INF] [EdgeHub] - Installing certificates [CN=Test Edge Owner CA:09/13/2021 17:30:14] to Root
<6> 2021-09-02 15:10:44.672 +00:00 [INF] [EdgeHub] - Enabling SSL protocols: Tls, Tls11, Tls12
<6> 2021-09-02 15:10:45.193 +00:00 [INF] [EdgeHub] - Experimental features configuration: {"Enabled":false,"DisableCloudSubscriptions":false,"DisableConnectivityCheck":false}
<6> 2021-09-02 15:10:46.847 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Service.Modules.RoutingModule] - Created persistent store at /tmp/edgeHub
<6> 2021-09-02 15:10:46.981 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Created device scope identities cache
<7> 2021-09-02 15:10:46.981 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Initializing device scope identities cache refresh task to run every 60 minutes.
<6> 2021-09-02 15:10:47.002 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Starting refresh of device scope identities cache
<7> 2021-09-02 15:10:47.006 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Created iterator to iterate all service identities in the scope of this IoT Edge device
<6> 2021-09-02 15:10:47.011 +00:00 [INF] [EdgeHub] - Initializing Edge Hub
<6> 2021-09-02 15:10:47.012 +00:00 [INF] [EdgeHub] - 
        ������ �����������   ���������� ��������
       �������������������   �������������������
       ��������  ����� ���   �����������������
       �������� �����  ���   �����������������
       ���  �����������������������  �����������
       ���  ����������� ������� ���  �����������

 ��� ������� ���������    ���������������  ������� ��������
 ���������������������    ������������������������ ��������
 ������   ���   ���       ������  ���  ������  ����������
 ������   ���   ���       ������  ���  ������   ���������
 ������������   ���       ���������������������������������
 ��� �������    ���       ���������������  ������� ��������

<6> 2021-09-02 15:10:47.021 +00:00 [INF] [EdgeHub] - Version - 1.1.5.46127017 (7681cae0e56a036f9659814ad559237f88d96fa3)
<6> 2021-09-02 15:10:47.022 +00:00 [INF] [EdgeHub] - OptimizeForPerformance=True
<6> 2021-09-02 15:10:47.022 +00:00 [INF] [EdgeHub] - MessageAckTimeoutSecs=30
<6> 2021-09-02 15:10:47.032 +00:00 [INF] [EdgeHub] - Loaded server certificate with expiration date of "2021-09-13T17:30:14.0000000+00:00"
<7> 2021-09-02 15:10:47.054 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<6> 2021-09-02 15:10:47.061 +00:00 [INF] [EdgeHub] - Using Asp Net server for metrics
<7> 2021-09-02 15:10:47.119 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:47.120 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:47.121 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/sign?api-version=2019-01-30
<7> 2021-09-02 15:10:47.196 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:47.219 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<6> 2021-09-02 15:10:47.231 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Created new message store
<6> 2021-09-02 15:10:47.237 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Started task to cleanup processed and stale messages
<6> 2021-09-02 15:10:47.469 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Created DeviceConnectivityManager with connected check frequency 00:05:00 and disconnected check frequency 00:02:00
<6> 2021-09-02 15:10:47.571 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Initialized storing twin manager
<7> 2021-09-02 15:10:47.623 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - ConnectionManager provided
<6> 2021-09-02 15:10:47.629 +00:00 [INF] [EdgeHub] - Initializing configuration
<6> 2021-09-02 15:10:47.681 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - New device connection for device MyDeviceName/$edgeHub
<6> 2021-09-02 15:10:47.731 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/$edgeHub connected to edgeHub, processing existing subscriptions.
<7> 2021-09-02 15:10:47.808 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Refreshing service identity for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:47.816 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-02 15:10:47.818 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:47.819 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:47.819 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/sign?api-version=2019-01-30
<7> 2021-09-02 15:10:47.883 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Adding subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:10:47.890 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:47.890 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-02 15:10:47.909 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Adding subscription Methods for client MyDeviceName/$edgeHub.
<6> 2021-09-02 15:10:47.922 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:48.046 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:48.089 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:48.226 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:48.270 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.271 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.271 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:48.310 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceScopeApiClient] - Got valid device scope result
<7> 2021-09-02 15:10:48.318 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Received scope result for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:48.335 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceScopeApiClient] - Got valid device scope result
<7> 2021-09-02 15:10:48.345 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Received scope result with 1 devices, 3 modules and null continuation link
<7> 2021-09-02 15:10:48.348 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:48.361 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:48.423 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-02 15:10:48.439 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:48.440 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.440 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.440 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:48.453 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:48.502 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.502 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.502 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:48.511 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:48.512 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:48.523 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeHub is in device scope, adding to cache.
<7> 2021-09-02 15:10:48.536 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:48.537 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.537 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.537 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:48.574 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:48.585 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:48.614 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:48.614 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:48.635 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName is in device scope, adding to cache.
<7> 2021-09-02 15:10:48.635 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:48.638 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:48.638 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.638 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.639 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:48.647 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:48.647 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.648 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.648 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:48.672 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Creating cloud connection for client MyDeviceName/$edgeHub using EdgeHub credentials
<6> 2021-09-02 15:10:48.726 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Attempting to connect to IoT Hub for client MyDeviceName/$edgeHub via AMQP...
<7> 2021-09-02 15:10:48.730 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:48.731 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:48.732 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeAgent is in device scope, adding to cache.
<7> 2021-09-02 15:10:48.740 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:48.740 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:48.742 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:48.743 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.743 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.744 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:48.762 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnection] - Initialized connection for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:48.821 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:48.822 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:48.824 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.824 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:48.825 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeHub is in device scope, adding to cache.
<7> 2021-09-02 15:10:48.825 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:48.825 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.826 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.826 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:48.826 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:48.831 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:48.900 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:48.901 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:48.910 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:48.910 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:48.913 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/MyModuleName is in device scope, adding to cache.
<7> 2021-09-02 15:10:48.920 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Done refreshing device scope identities cache. Waiting for 60 minutes.
<4> 2021-09-02 15:10:48.946 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Empty edge hub configuration received. Ignoring...
<7> 2021-09-02 15:10:48.970 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Getting twin for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:48.989 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Getting configuration
<7> 2021-09-02 15:10:49.680 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-02 15:10:49.680 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:49.680 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:49.681 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/sign?api-version=2019-01-30
<7> 2021-09-02 15:10:49.748 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:49.749 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-02 15:10:50.315 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Received connection status changed callback with connection status Connected and reason Connection_Ok for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.351 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-02 15:10:50.409 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Exiting disconnected state
<6> 2021-09-02 15:10:50.461 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Received device connected callback
<7> 2021-09-02 15:10:50.468 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.470 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:50.471 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:50.472 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:50.473 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<6> 2021-09-02 15:10:50.479 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Device connected to cloud, processing subscriptions for connected clients.
<6> 2021-09-02 15:10:50.486 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions for client MyDeviceName/$edgeHub on device connected to cloud.
<6> 2021-09-02 15:10:50.487 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/$edgeHub for subscription processing, as it is currently being processed.
<6> 2021-09-02 15:10:50.514 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Entering connected state
<6> 2021-09-02 15:10:50.524 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Cloud connection for MyDeviceName/$edgeHub is True
<6> 2021-09-02 15:10:50.533 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Connection status for MyDeviceName/$edgeHub changed to ConnectionEstablished
<7> 2021-09-02 15:10:50.534 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Invoking cloud connection established event for MyDeviceName/$edgeHub
<6> 2021-09-02 15:10:50.539 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/$edgeHub connected to cloud, processing existing subscriptions.
<6> 2021-09-02 15:10:50.539 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/$edgeHub for subscription processing, as it is currently being processed.
<7> 2021-09-02 15:10:50.540 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation OpenAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.544 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:50.545 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<6> 2021-09-02 15:10:50.548 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud proxy for client MyDeviceName/$edgeHub via AMQP, with client operation timeout 20 seconds.
<7> 2021-09-02 15:10:50.550 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-02 15:10:50.551 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:50.552 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:50.553 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:50.553 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<6> 2021-09-02 15:10:50.560 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Initialized cloud proxy 48bb7cd7-ae12-4ac5-a8d6-4e80047fefe3 for MyDeviceName/$edgeHub
<6> 2021-09-02 15:10:50.565 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud connection for client MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.588 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.589 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.589 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.615 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:10:50.625 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:10:50.628 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:50.629 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:50.644 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.651 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.844 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.855 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.858 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:10:50.862 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:10:50.901 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:10:50.914 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation GetTwinAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.919 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Getting twin for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.929 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.937 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/$edgeHub from cloud
<7> 2021-09-02 15:10:50.946 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating twin in store for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.947 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:50.947 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:50.947 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:50.948 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:50.990 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:10:50.990 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:10:50.991 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.991 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:50.998 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:10:50.998 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/$edgeHub.
<6> 2021-09-02 15:10:51.005 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:51.023 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:51.023 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:51.025 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:51.025 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.026 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.026 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:51.028 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:10:51.028 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:51.032 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-02 15:10:51.035 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:51.040 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:51.093 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:51.093 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:51.097 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated twin in store for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:51.099 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:51.100 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.102 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.102 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:51.172 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:51.173 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:51.187 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:51.187 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:51.189 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:51.190 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.191 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.191 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:51.258 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:51.258 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:51.259 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:51.260 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.260 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.261 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:51.262 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:51.262 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.262 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.263 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:51.330 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:51.330 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:51.335 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:51.335 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:51.346 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:51.346 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.359 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.359 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:51.377 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:51.378 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:51.378 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.379 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.379 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:51.428 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:51.429 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:51.436 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Twin for MyDeviceName/$edgeHub synced at 09/02/2021 15:10:51 which is sooner than twin sync period 120 secs, skipping syncing twin
<7> 2021-09-02 15:10:51.452 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:51.452 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:51.453 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-02 15:10:51.454 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:51.454 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.454 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.455 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:51.524 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:51.524 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:51.525 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:51.525 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:51.525 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.526 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:51.526 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:51.592 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:51.592 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<4> 2021-09-02 15:10:51.596 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource] - Error getting edge hub config from twin desired properties
System.ArgumentException: schemaVersion is null or whitespace.
   at Microsoft.Azure.Devices.Edge.Util.Preconditions.CheckArgument(Boolean expression, String message) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/Preconditions.cs:line 73
   at Microsoft.Azure.Devices.Edge.Util.Preconditions.CheckNonWhiteSpace(String value, String paramName) in /home/vsts/work/1/s/edge-util/src/Microsoft.Azure.Devices.Edge.Util/Preconditions.cs:line 192
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.EdgeHubDesiredProperties..ctor(String schemaVersion, IDictionary`2 routes, StoreAndForwardConfiguration storeAndForwardConfiguration) in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/EdgeHubDesiredProperties.cs:line 14
   at lambda_method(Closure , Object[] )
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource.GetConfigInternal() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/TwinConfigSource.cs:line 97
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource.GetConfigInternal() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/TwinConfigSource.cs:line 105
<4> 2021-09-02 15:10:51.668 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Empty edge hub configuration received. Ignoring...
<6> 2021-09-02 15:10:51.692 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Started operation Get EdgeHub config
<6> 2021-09-02 15:10:51.693 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Initialized edge hub configuration
<6> 2021-09-02 15:10:51.717 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionReauthenticator] - Starting timer to authenticate connections with a period of 300 seconds
<7> 2021-09-02 15:10:51.729 +00:00 [DBG] [EdgeHub] - Waiting on shutdown handler to trigger
<7> 2021-09-02 15:10:51.785 +00:00 [DBG] [DotNetty.Common.Internal.PlatformDependent] - -Dio.netty.noPreferDirect: True
<6> 2021-09-02 15:10:51.939 +00:00 [INF] [EdgeHub] - Scheduling server certificate renewal for "2021-09-13T17:27:44.0005404Z".
<7> 2021-09-02 15:10:51.939 +00:00 [DBG] [EdgeHub] - Scheduling server certificate renewal timer for "2021-09-13T17:27:44.0008661Z" (clamped to Int32.MaxValue).
<6> 2021-09-02 15:10:51.944 +00:00 [INF] [EdgeHub] - Starting protocol heads - (MQTT, AMQP, HTTP)
<6> 2021-09-02 15:10:51.953 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Starting MQTT head
<6> 2021-09-02 15:10:52.042 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Initializing TLS endpoint on port 8883 for MQTT head.
<7> 2021-09-02 15:10:52.070 +00:00 [DBG] [DotNetty.Transport.Channels.DefaultChannelId] - -Dio.netty.processId: 1490687 (auto-detected)
<7> 2021-09-02 15:10:52.109 +00:00 [DBG] [DotNetty.Transport.Channels.DefaultChannelId] - -Dio.netty.machineId: <redacted> (auto-detected)
<7> 2021-09-02 15:10:52.120 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.numHeapArenas: 8
<7> 2021-09-02 15:10:52.120 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.numDirectArenas: 8
<7> 2021-09-02 15:10:52.120 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.pageSize: 8192
<7> 2021-09-02 15:10:52.120 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.maxOrder: 11
<7> 2021-09-02 15:10:52.120 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.chunkSize: 16777216
<7> 2021-09-02 15:10:52.120 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.tinyCacheSize: 512
<7> 2021-09-02 15:10:52.121 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.smallCacheSize: 256
<7> 2021-09-02 15:10:52.121 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.normalCacheSize: 64
<7> 2021-09-02 15:10:52.121 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
<7> 2021-09-02 15:10:52.121 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.cacheTrimInterval: 8192
<7> 2021-09-02 15:10:52.147 +00:00 [DBG] [DotNetty.Buffers.ByteBufferUtil] - -Dio.netty.allocator.type: pooled
<7> 2021-09-02 15:10:52.160 +00:00 [DBG] [DotNetty.Common.ResourceLeakDetector] - -Dio.netty.leakDetection.level: simple
<7> 2021-09-02 15:10:52.160 +00:00 [DBG] [DotNetty.Common.ResourceLeakDetector] - -Dio.netty.leakDetection.targetRecords: 4
<6> 2021-09-02 15:10:52.246 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - Starting AMQP head
<7> 2021-09-02 15:10:52.267 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - WebSockets listener registered.
<6> 2021-09-02 15:10:52.276 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Started MQTT head
<6> 2021-09-02 15:10:52.532 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - Started AMQP head
<6> 2021-09-02 15:10:52.540 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Http.HttpProtocolHead] - Starting HTTP head
<7> 2021-09-02 15:10:52.545 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Hosting starting
<7> 2021-09-02 15:10:52.566 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:52.569 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:52.572 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:52.574 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:52.575 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:52.657 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:52.660 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:52.662 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-02 15:10:52.663 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:52.664 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:52.664 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:52.665 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:52.731 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:52.732 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:52.732 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:52.733 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:52.936 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:10:52.938 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:52.938 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-02 15:10:52.938 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:52.939 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:52.941 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:52.941 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:52.941 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:52.942 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:53.007 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:53.008 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:53.009 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:53.009 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:53.010 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:53.011 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:53.074 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:53.074 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:53.077 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:53.078 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:53.078 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:53.078 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:53.141 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:53.142 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<4> 2021-09-02 15:10:53.269 +00:00 [WRN] [Microsoft.AspNetCore.Server.Kestrel] - Overriding address(es) '"http://+:80"'. Binding to endpoints defined in "UseKestrel()" instead.
<7> 2021-09-02 15:10:53.292 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Hosting started
<7> 2021-09-02 15:10:53.292 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Loaded hosting startup assembly "Microsoft.Azure.Devices.Edge.Hub.Http"
<6> 2021-09-02 15:10:53.293 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Http.HttpProtocolHead] - Started HTTP head
<7> 2021-09-02 15:10:58.322 +00:00 [DBG] [DotNetty.Buffers.AbstractByteBuffer] - -Dio.netty.buffer.bytebuf.checkAccessible: True
<7> 2021-09-02 15:10:58.338 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxCapacityPerThread: 4096
<7> 2021-09-02 15:10:58.338 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxSharedCapacityFactor: 2
<7> 2021-09-02 15:10:58.339 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxDelayedQueuesPerThread: 8
<7> 2021-09-02 15:10:58.339 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.linkCapacity: 16
<7> 2021-09-02 15:10:58.339 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.ratio: 8
<7> 2021-09-02 15:10:58.718 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Getting service identity for MyDeviceName/MyModuleName
<6> 2021-09-02 15:10:58.775 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.DeviceScopeAuthenticator] - Client MyDeviceName/MyModuleName in device scope authenticated locally.
<7> 2021-09-02 15:10:58.778 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Authenticator] - Client MyDeviceName/MyModuleName authentication successful
<6> 2021-09-02 15:10:58.815 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceIdentityProvider] - Successfully generated identity for clientId MyDeviceName/MyModuleName and username MyDeviceName/MyDeviceName/MyModuleName/?api-version=2020-09-30&DeviceClientType=iothubclient%2f1.7.0%20(native%3b%20Linux%3b%20x86_64)
<6> 2021-09-02 15:10:58.824 +00:00 [INF] [EdgeHub] - ClientAuthenticated, MyDeviceName/MyModuleName, 13326cec
<6> 2021-09-02 15:10:58.912 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - New device connection for device MyDeviceName/MyModuleName
<6> 2021-09-02 15:10:58.914 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/MyModuleName connected to edgeHub, processing existing subscriptions.
<7> 2021-09-02 15:10:58.919 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Creating cloud connection for client MyDeviceName/MyModuleName using EdgeHub credentials
<7> 2021-09-02 15:10:58.931 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnection] - Updating device MyDeviceName/MyModuleName connection status to Connected
<7> 2021-09-02 15:10:58.949 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:58.950 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-02 15:10:58.973 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Device.DeviceMessageHandler] - Bind device proxy for device MyDeviceName/MyModuleName
<6> 2021-09-02 15:10:58.976 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Binding message channel for device Id MyDeviceName/MyModuleName
<6> 2021-09-02 15:10:58.986 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Attempting to connect to IoT Hub for client MyDeviceName/MyModuleName via AMQP...
<7> 2021-09-02 15:10:58.996 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:58.997 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:58.998 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:58.998 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:59.014 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-02 15:10:59.015 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:59.015 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:59.015 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/sign?api-version=2019-01-30
<7> 2021-09-02 15:10:59.099 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStatePersistenceProvider] - Processing session subscriptions TwinResponse, Methods, ModuleMessages for client MyDeviceName/MyModuleName: 
<7> 2021-09-02 15:10:59.105 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:59.106 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<6> 2021-09-02 15:10:59.124 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions TwinResponse, Methods, ModuleMessages for client MyDeviceName/MyModuleName.
<6> 2021-09-02 15:10:59.125 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.170 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Received connection status changed callback with connection status Connected and reason Connection_Ok for MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.174 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<6> 2021-09-02 15:10:59.179 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.190 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:59.202 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:59.202 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:59.203 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:59.203 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:59.203 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:59.207 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-02 15:10:59.208 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Cloud connection for MyDeviceName/MyModuleName is True
<6> 2021-09-02 15:10:59.208 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Connection status for MyDeviceName/MyModuleName changed to ConnectionEstablished
<7> 2021-09-02 15:10:59.208 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Invoking cloud connection established event for MyDeviceName/MyModuleName
<6> 2021-09-02 15:10:59.209 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/MyModuleName connected to cloud, processing existing subscriptions.
<6> 2021-09-02 15:10:59.209 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/MyModuleName for subscription processing, as it is currently being processed.
<7> 2021-09-02 15:10:59.209 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation OpenAsync succeeded for MyDeviceName/MyModuleName
<6> 2021-09-02 15:10:59.209 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud proxy for client MyDeviceName/MyModuleName via AMQP, with client operation timeout 20 seconds.
<6> 2021-09-02 15:10:59.210 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Initialized cloud proxy cab5c289-5083-47bd-b296-5121697271d8 for MyDeviceName/MyModuleName
<6> 2021-09-02 15:10:59.210 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud connection for client MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.210 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.211 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:10:59.211 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.211 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:10:59.212 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:10:59.538 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.543 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id MyDeviceName_0
<7> 2021-09-02 15:10:59.680 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:10:59.681 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.681 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:59.681 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:10:59.681 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:10:59.699 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.699 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id MyDeviceName_0_0
<7> 2021-09-02 15:10:59.749 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - GetTwin call received from MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.749 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Getting twin for MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.749 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.763 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:10:59.764 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.764 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:10:59.765 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:59.766 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:10:59.766 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:10:59.767 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-02 15:10:59.769 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:10:59.769 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:59.770 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:59.770 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:59.809 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:10:59.810 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation GetTwinAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.810 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Getting twin for MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.811 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.811 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/MyModuleName from cloud
<7> 2021-09-02 15:10:59.812 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating twin in store for MyDeviceName/MyModuleName
<7> 2021-09-02 15:10:59.840 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:59.843 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:10:59.843 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-02 15:10:59.844 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:59.845 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:59.845 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:59.845 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:59.914 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:59.915 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:59.920 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:10:59.920 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:59.920 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:10:59.921 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:10:59.986 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:10:59.987 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:10:59.988 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated twin in store for MyDeviceName/MyModuleName
<7> 2021-09-02 15:11:00.034 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceProxy] - Sent twin update to MyDeviceName/MyModuleName
<7> 2021-09-02 15:11:00.035 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Device.DeviceMessageHandler] - Processed GetTwin for MyDeviceName/MyModuleName
<7> 2021-09-02 15:11:00.039 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Getting twin for device Id MyDeviceName/MyModuleName
<7> 2021-09-02 15:11:00.215 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStatePersistenceProvider] - Processing session subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client MyDeviceName/MyModuleName: 
<6> 2021-09-02 15:11:00.216 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client MyDeviceName/MyModuleName.
<6> 2021-09-02 15:11:00.220 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/MyModuleName
<7> 2021-09-02 15:11:00.223 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:11:00.224 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:11:00.226 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:11:00.227 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-02 15:11:00.228 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MyDeviceName/MyModuleName
<7> 2021-09-02 15:11:00.228 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:11:00.228 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:11:00.229 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:11:00.229 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:11:00.235 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:11:03.143 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-02 15:11:03.153 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:11:03.156 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:11:03.157 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:11:03.160 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:11:03.258 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:11:03.262 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:11:03.269 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-02 15:11:03.280 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:11:03.282 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:11:03.283 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:11:03.286 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:11:03.355 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:11:03.358 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:11:03.361 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:11:03.362 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:11:03.537 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:11:03.538 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:11:03.539 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-02 15:11:03.539 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:11:03.540 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:11:03.543 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:11:03.545 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:11:03.546 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:11:03.548 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:11:03.614 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:11:03.615 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:11:03.619 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:11:03.621 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:11:03.621 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:11:03.622 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:11:03.698 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:11:03.699 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:11:03.704 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:11:03.705 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:11:03.706 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:11:03.707 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:11:03.776 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:11:03.778 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:12:53.618 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-02 15:12:53.618 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id MyDeviceName_0_0
<7> 2021-09-02 15:14:53.631 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-02 15:14:53.632 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id MyDeviceName_0_0
<7> 2021-09-02 15:15:36.592 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Desired properties update message received for MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:36.600 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Received desired property updates for MyDeviceName/$edgeHub with version 2
<7> 2021-09-02 15:15:36.602 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:15:36.604 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:36.605 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:36.606 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:36.701 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:36.702 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:15:36.714 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating desired properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:36.715 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:15:36.715 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:36.716 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:36.716 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:36.787 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:36.788 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:15:36.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:15:36.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:36.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:36.792 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:36.857 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:36.858 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:15:36.867 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged desired properties for MyDeviceName/$edgeHub in store
<7> 2021-09-02 15:15:36.868 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:15:36.868 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:36.869 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:36.869 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:36.942 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:36.942 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:15:36.947 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Sending desired property updates to MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:36.949 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Sending desired property updates to MyDeviceName/$edgeHub
<6> 2021-09-02 15:15:37.560 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Created cloud endpoint iothub with max batch size 10 and fan-out factor of 10.
<6> 2021-09-02 15:15:37.565 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource] - Obtained edge hub config patch update from module twin
<7> 2021-09-02 15:15:37.566 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:37.566 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:37.567 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:15:37.568 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.569 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.569 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:37.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:37.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:15:37.638 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:37.639 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:15:37.639 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.639 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.639 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:37.705 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:37.705 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:15:37.706 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-02 15:15:37.707 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:15:37.707 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.707 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.708 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:37.775 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:37.776 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:15:37.776 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:37.777 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:15:37.777 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.777 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.777 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:37.844 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:37.844 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:15:37.846 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:37.847 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:15:37.848 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.848 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.848 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<6> 2021-09-02 15:15:37.859 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Updating edge hub configuration
<7> 2021-09-02 15:15:37.870 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Received edge hub configuration with  updates
<7> 2021-09-02 15:15:37.921 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:37.922 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:15:37.923 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-02 15:15:37.944 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:15:37.944 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.945 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:37.945 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:38.012 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:38.012 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:15:38.013 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:38.013 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:38.164 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:15:38.164 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:38.165 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-02 15:15:38.174 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:38.175 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:15:38.176 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:15:38.177 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:38.178 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:38.179 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:38.250 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:38.251 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:15:38.251 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:15:38.252 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:38.252 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:38.252 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:15:38.272 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Added sequential store for endpoint iothub
<7> 2021-09-02 15:15:38.321 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:38.321 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:15:38.322 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:15:38.323 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:38.323 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:15:38.323 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<6> 2021-09-02 15:15:38.373 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Set the following 1 route(s) in edge hub
<6> 2021-09-02 15:15:38.373 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - default: FROM /messages/* INTO $upstream
<6> 2021-09-02 15:15:38.378 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Updated message store TTL to 2678400 seconds
<6> 2021-09-02 15:15:38.379 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Updated the edge hub store and forward configuration
<7> 2021-09-02 15:15:38.392 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:15:38.392 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:15:48.232 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-02 15:15:48.247 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 0.
<7> 2021-09-02 15:15:48.251 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-02 15:15:48.251 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 0.
<6> 2021-09-02 15:15:51.730 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionReauthenticator] - Entering periodic task to reauthenticate connected clients
<7> 2021-09-02 15:15:51.747 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Getting service identity for MyDeviceName/MyModuleName
<7> 2021-09-02 15:15:51.749 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.DeviceScopeAuthenticator] - Client MyDeviceName/MyModuleName in device scope reauthenticated locally.
<7> 2021-09-02 15:15:51.750 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Authenticator] - Client MyDeviceName/MyModuleName re-authentication successful
<7> 2021-09-02 15:15:51.751 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionReauthenticator] - Reauthenticated client MyDeviceName/MyModuleName successfully
<7> 2021-09-02 15:15:58.250 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-02 15:15:58.251 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 0.
<7> 2021-09-02 15:16:08.257 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-02 15:16:08.258 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 0.
<7> 2021-09-02 15:16:18.255 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-02 15:16:18.256 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 0.
<7> 2021-09-02 15:16:28.260 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-02 15:16:28.261 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 0.
<7> 2021-09-02 15:16:38.263 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-02 15:16:38.263 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 0.
<7> 2021-09-02 15:16:48.264 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-02 15:16:48.265 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 0.
<7> 2021-09-02 15:16:53.639 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:53.639 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id MyDeviceName_0_0
<7> 2021-09-02 15:16:53.802 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Added message dd817e70-55c8-43df-a603-71b16b3d2687 to store for iothub at offset 0.
<7> 2021-09-02 15:16:53.814 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-02 15:16:53.872 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 1. Next start offset = 1.
<7> 2021-09-02 15:16:53.875 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 1 with batch size 99.
<7> 2021-09-02 15:16:53.875 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 1.
<7> 2021-09-02 15:16:53.956 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Sending 1 message(s) upstream.
<7> 2021-09-02 15:16:53.984 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Sending 1 message(s) upstream, divided into 1 groups. Processing maximum 10 groups in parallel.
<7> 2021-09-02 15:16:54.023 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:54.158 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Finished processing messages to upstream
<7> 2021-09-02 15:16:54.373 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:16:54.373 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SendEventAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:54.376 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Sending message for MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:54.476 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 1 with batch size 100.
<7> 2021-09-02 15:16:54.476 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 1.
<7> 2021-09-02 15:16:54.625 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Desired properties update message received for MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:54.626 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Received desired property updates for MyDeviceName/MyModuleName with version 2
<7> 2021-09-02 15:16:54.627 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:16:54.629 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:16:54.630 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:16:54.632 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:16:54.719 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:16:54.721 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:16:54.723 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating desired properties for MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:54.724 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:16:54.725 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:16:54.725 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:16:54.725 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:16:54.792 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:16:54.792 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:16:54.794 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:16:54.794 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:16:54.794 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:16:54.795 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:16:54.858 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:16:54.858 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:16:54.860 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged desired properties for MyDeviceName/MyModuleName in store
<7> 2021-09-02 15:16:54.861 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:16:54.862 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:16:54.862 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:16:54.862 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661921011556752/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:16:54.933 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:16:54.934 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:16:54.935 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Sending desired property updates to MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:54.935 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Sending desired property updates to MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:54.949 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceProxy] - Sent desired properties update to MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:55.152 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:55.152 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id MyDeviceName_0_1
<7> 2021-09-02 15:16:55.155 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 1 with batch size 100.
<7> 2021-09-02 15:16:55.157 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 1. Next start offset = 2.
<7> 2021-09-02 15:16:55.157 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 2 with batch size 99.
<7> 2021-09-02 15:16:55.157 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 2.
<7> 2021-09-02 15:16:55.158 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Sending 1 message(s) upstream.
<7> 2021-09-02 15:16:55.158 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Sending 1 message(s) upstream, divided into 1 groups. Processing maximum 10 groups in parallel.
<7> 2021-09-02 15:16:55.158 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:55.160 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Finished processing messages to upstream
<7> 2021-09-02 15:16:55.203 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:16:55.203 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SendEventAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:55.203 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Sending message for MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:55.207 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 2 with batch size 100.
<7> 2021-09-02 15:16:55.208 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 2.
<7> 2021-09-02 15:16:56.749 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:56.750 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id MyDeviceName_0_2
<7> 2021-09-02 15:16:56.763 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 2 with batch size 100.
<7> 2021-09-02 15:16:56.768 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 1. Next start offset = 3.
<7> 2021-09-02 15:16:56.768 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 3 with batch size 99.
<7> 2021-09-02 15:16:56.768 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 3.
<7> 2021-09-02 15:16:56.769 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Sending 1 message(s) upstream.
<7> 2021-09-02 15:16:56.769 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Sending 1 message(s) upstream, divided into 1 groups. Processing maximum 10 groups in parallel.
<7> 2021-09-02 15:16:56.770 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:56.773 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Finished processing messages to upstream
<7> 2021-09-02 15:16:56.813 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:16:56.814 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SendEventAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:56.814 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Sending message for MyDeviceName/MyModuleName
<7> 2021-09-02 15:16:56.818 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 3 with batch size 100.
<7> 2021-09-02 15:16:56.818 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 3.
<7> 2021-09-02 15:17:06.821 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 3 with batch size 100.
<7> 2021-09-02 15:17:06.821 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 3.
Good case
2021-09-02 15:25:46  Starting Edge Hub
2021-09-02 15:25:46.428 +00:00 Edge Hub Main()
<7> 2021-09-02 15:25:47.278 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to CreateServerCertificateAsync
<7> 2021-09-02 15:25:48.078 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:48.091 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:48.106 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/certificate/server?api-version=2019-01-30
<7> 2021-09-02 15:25:48.554 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received Created
<7> 2021-09-02 15:25:48.844 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for CreateServerCertificateAsync
<7> 2021-09-02 15:25:49.653 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to TrustBundleAsync
<7> 2021-09-02 15:25:49.684 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:49.685 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:49.685 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/trust-bundle?api-version=2019-01-30
<7> 2021-09-02 15:25:49.690 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:49.701 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for TrustBundleAsync
<6> 2021-09-02 15:25:49.736 +00:00 [INF] [EdgeHub] - Installing certificates [CN=iotedged workload ca:09/13/2021 17:30:14],[CN=Test Edge Device CA:09/13/2021 17:30:14],[CN=Test Edge Owner CA:09/13/2021 17:30:14] to Root
<6> 2021-09-02 15:25:49.802 +00:00 [INF] [EdgeHub] - Installing certificates [CN=Test Edge Owner CA:09/13/2021 17:30:14] to Root
<6> 2021-09-02 15:25:49.837 +00:00 [INF] [EdgeHub] - Enabling SSL protocols: Tls, Tls11, Tls12
<6> 2021-09-02 15:25:50.361 +00:00 [INF] [EdgeHub] - Experimental features configuration: {"Enabled":false,"DisableCloudSubscriptions":false,"DisableConnectivityCheck":false}
<6> 2021-09-02 15:25:52.019 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Service.Modules.RoutingModule] - Created persistent store at /tmp/edgeHub
<6> 2021-09-02 15:25:52.139 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Created device scope identities cache
<7> 2021-09-02 15:25:52.139 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Initializing device scope identities cache refresh task to run every 60 minutes.
<6> 2021-09-02 15:25:52.160 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Starting refresh of device scope identities cache
<7> 2021-09-02 15:25:52.163 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Created iterator to iterate all service identities in the scope of this IoT Edge device
<7> 2021-09-02 15:25:52.207 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<6> 2021-09-02 15:25:52.234 +00:00 [INF] [EdgeHub] - Initializing Edge Hub
<6> 2021-09-02 15:25:52.235 +00:00 [INF] [EdgeHub] - 
        ������ �����������   ���������� ��������
       �������������������   �������������������
       ��������  ����� ���   �����������������
       �������� �����  ���   �����������������
       ���  �����������������������  �����������
       ���  ����������� ������� ���  �����������

 ��� ������� ���������    ���������������  ������� ��������
 ���������������������    ������������������������ ��������
 ������   ���   ���       ������  ���  ������  ����������
 ������   ���   ���       ������  ���  ������   ���������
 ������������   ���       ���������������������������������
 ��� �������    ���       ���������������  ������� ��������

<6> 2021-09-02 15:25:52.242 +00:00 [INF] [EdgeHub] - Version - 1.1.5.46127017 (7681cae0e56a036f9659814ad559237f88d96fa3)
<6> 2021-09-02 15:25:52.243 +00:00 [INF] [EdgeHub] - OptimizeForPerformance=True
<6> 2021-09-02 15:25:52.243 +00:00 [INF] [EdgeHub] - MessageAckTimeoutSecs=30
<6> 2021-09-02 15:25:52.252 +00:00 [INF] [EdgeHub] - Loaded server certificate with expiration date of "2021-09-13T17:30:14.0000000+00:00"
<7> 2021-09-02 15:25:52.272 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:52.273 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:52.274 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/sign?api-version=2019-01-30
<6> 2021-09-02 15:25:52.281 +00:00 [INF] [EdgeHub] - Using Asp Net server for metrics
<7> 2021-09-02 15:25:52.361 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:52.380 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<6> 2021-09-02 15:25:52.446 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Created new message store
<6> 2021-09-02 15:25:52.447 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Started task to cleanup processed and stale messages
<6> 2021-09-02 15:25:52.690 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Created DeviceConnectivityManager with connected check frequency 00:05:00 and disconnected check frequency 00:02:00
<6> 2021-09-02 15:25:52.817 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Initialized storing twin manager
<7> 2021-09-02 15:25:52.852 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - ConnectionManager provided
<6> 2021-09-02 15:25:52.858 +00:00 [INF] [EdgeHub] - Initializing configuration
<6> 2021-09-02 15:25:52.905 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - New device connection for device MyDeviceName/$edgeHub
<6> 2021-09-02 15:25:52.952 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/$edgeHub connected to edgeHub, processing existing subscriptions.
<7> 2021-09-02 15:25:53.030 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Refreshing service identity for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:53.038 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-02 15:25:53.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.042 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/sign?api-version=2019-01-30
<7> 2021-09-02 15:25:53.105 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Adding subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:25:53.112 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:53.113 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-02 15:25:53.129 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Adding subscription Methods for client MyDeviceName/$edgeHub.
<6> 2021-09-02 15:25:53.141 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:53.267 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:53.308 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:53.445 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:53.475 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceScopeApiClient] - Got valid device scope result
<7> 2021-09-02 15:25:53.481 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Received scope result for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:53.489 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.490 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.490 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:53.496 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceScopeApiClient] - Got valid device scope result
<7> 2021-09-02 15:25:53.503 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Received scope result with 1 devices, 3 modules and null continuation link
<7> 2021-09-02 15:25:53.567 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:53.590 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:53.615 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:53.615 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.615 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.616 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:53.649 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-02 15:25:53.672 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:53.679 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:53.680 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:53.703 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeHub is in device scope, adding to cache.
<7> 2021-09-02 15:25:53.718 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:53.718 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.718 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.719 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:53.721 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.721 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.722 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:53.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:53.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:53.793 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName is in device scope, adding to cache.
<7> 2021-09-02 15:25:53.800 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:53.801 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.801 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.801 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:53.810 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:53.819 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Creating cloud connection for client MyDeviceName/$edgeHub using EdgeHub credentials
<7> 2021-09-02 15:25:53.822 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<6> 2021-09-02 15:25:53.859 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Attempting to connect to IoT Hub for client MyDeviceName/$edgeHub via AMQP...
<7> 2021-09-02 15:25:53.878 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:53.880 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:53.880 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.881 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.881 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:53.906 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:53.907 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:53.908 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeAgent is in device scope, adding to cache.
<7> 2021-09-02 15:25:53.915 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:53.915 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.916 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:53.917 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:53.972 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:53.972 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:53.990 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnection] - Initialized connection for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:54.003 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:54.004 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:54.005 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeHub is in device scope, adding to cache.
<7> 2021-09-02 15:25:54.005 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:54.006 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:54.006 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:54.006 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:54.045 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:54.045 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:54.046 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:54.046 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:54.080 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:54.080 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:54.082 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/MyModuleName is in device scope, adding to cache.
<7> 2021-09-02 15:25:54.090 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Done refreshing device scope identities cache. Waiting for 60 minutes.
<7> 2021-09-02 15:25:54.120 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:54.121 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<4> 2021-09-02 15:25:54.154 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Empty edge hub configuration received. Ignoring...
<7> 2021-09-02 15:25:54.178 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Getting twin for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:54.197 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Getting configuration
<7> 2021-09-02 15:25:54.935 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-02 15:25:54.935 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:54.936 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:54.936 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/sign?api-version=2019-01-30
<7> 2021-09-02 15:25:54.999 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:55.000 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-02 15:25:55.655 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Received connection status changed callback with connection status Connected and reason Connection_Ok for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:55.691 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-02 15:25:55.748 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Exiting disconnected state
<6> 2021-09-02 15:25:55.800 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Received device connected callback
<7> 2021-09-02 15:25:55.807 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:55.808 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:55.808 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:55.808 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:55.809 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<6> 2021-09-02 15:25:55.818 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Device connected to cloud, processing subscriptions for connected clients.
<6> 2021-09-02 15:25:55.823 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions for client MyDeviceName/$edgeHub on device connected to cloud.
<6> 2021-09-02 15:25:55.824 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/$edgeHub for subscription processing, as it is currently being processed.
<6> 2021-09-02 15:25:55.851 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Entering connected state
<6> 2021-09-02 15:25:55.862 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Cloud connection for MyDeviceName/$edgeHub is True
<6> 2021-09-02 15:25:55.871 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Connection status for MyDeviceName/$edgeHub changed to ConnectionEstablished
<7> 2021-09-02 15:25:55.872 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Invoking cloud connection established event for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:55.872 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:55.873 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<6> 2021-09-02 15:25:55.876 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/$edgeHub connected to cloud, processing existing subscriptions.
<6> 2021-09-02 15:25:55.876 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/$edgeHub for subscription processing, as it is currently being processed.
<7> 2021-09-02 15:25:55.877 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-02 15:25:55.877 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation OpenAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:55.878 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:55.878 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:55.878 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:55.879 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<6> 2021-09-02 15:25:55.884 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud proxy for client MyDeviceName/$edgeHub via AMQP, with client operation timeout 20 seconds.
<6> 2021-09-02 15:25:55.897 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Initialized cloud proxy f0224edb-8a1d-4abf-bc9c-0c56bc4388bc for MyDeviceName/$edgeHub
<6> 2021-09-02 15:25:55.901 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud connection for client MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:55.923 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:55.923 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:55.924 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:55.952 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:55.952 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:25:55.958 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:25:55.962 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:25:55.968 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:55.975 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.189 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.189 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.201 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:25:56.203 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:25:56.289 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:25:56.303 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation GetTwinAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.306 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Getting twin for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.321 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.328 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/$edgeHub from cloud
<7> 2021-09-02 15:25:56.337 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating twin in store for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.338 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:56.339 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.340 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.341 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:56.379 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:25:56.379 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:25:56.379 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.379 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.386 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/$edgeHub.
<7> 2021-09-02 15:25:56.386 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/$edgeHub.
<6> 2021-09-02 15:25:56.394 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.406 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:25:56.406 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.409 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-02 15:25:56.412 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.416 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.418 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:56.418 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:25:56.420 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:56.420 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.421 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.421 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:56.484 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:56.485 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:56.488 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated twin in store for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:56.489 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:56.490 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.490 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.490 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:56.558 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:56.558 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:25:56.560 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:56.561 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.561 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.561 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:56.627 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:56.628 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:56.630 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:56.630 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.631 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.631 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:56.696 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:56.697 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:25:56.708 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:56.709 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.709 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:56.710 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:56.785 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:56.786 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:25:56.797 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Twin for MyDeviceName/$edgeHub synced at 09/02/2021 15:25:56 which is sooner than twin sync period 120 secs, skipping syncing twin
<6> 2021-09-02 15:25:57.139 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Created cloud endpoint iothub with max batch size 10 and fan-out factor of 10.
<7> 2021-09-02 15:25:57.167 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:57.169 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:57.171 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:57.172 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.172 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.173 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:57.242 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:57.243 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:25:57.273 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:57.274 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:57.274 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.274 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.274 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:57.342 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:57.343 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:57.344 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-02 15:25:57.345 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:57.346 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.346 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.346 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:57.416 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:57.416 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:25:57.417 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:57.417 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:57.418 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.418 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.418 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:57.484 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:57.487 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<6> 2021-09-02 15:25:57.496 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource] - Obtained edge hub config from module twin
<7> 2021-09-02 15:25:57.512 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Received edge hub configuration with  updates
<7> 2021-09-02 15:25:57.810 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:57.813 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:57.815 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.815 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.816 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:57.873 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Added sequential store for endpoint iothub
<7> 2021-09-02 15:25:57.893 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:57.895 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:25:57.897 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-02 15:25:57.898 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:57.899 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.899 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:57.899 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:57.965 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:57.966 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:25:57.974 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:57.975 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<6> 2021-09-02 15:25:57.990 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Set the following 1 route(s) in edge hub
<6> 2021-09-02 15:25:57.991 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - default: FROM /messages/* INTO $upstream
<6> 2021-09-02 15:25:57.995 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Updated message store TTL to 2678400 seconds
<6> 2021-09-02 15:25:57.996 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Updated the edge hub store and forward configuration
<6> 2021-09-02 15:25:58.021 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Started operation Get EdgeHub config
<6> 2021-09-02 15:25:58.022 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Initialized edge hub configuration
<6> 2021-09-02 15:25:58.048 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionReauthenticator] - Starting timer to authenticate connections with a period of 300 seconds
<7> 2021-09-02 15:25:58.059 +00:00 [DBG] [EdgeHub] - Waiting on shutdown handler to trigger
<7> 2021-09-02 15:25:58.115 +00:00 [DBG] [DotNetty.Common.Internal.PlatformDependent] - -Dio.netty.noPreferDirect: True
<7> 2021-09-02 15:25:58.143 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:25:58.144 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:58.144 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-02 15:25:58.144 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:58.144 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:25:58.145 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:58.146 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:58.147 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:58.147 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:25:58.210 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:58.211 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:25:58.212 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:25:58.212 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:58.212 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:58.213 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<6> 2021-09-02 15:25:58.274 +00:00 [INF] [EdgeHub] - Scheduling server certificate renewal for "2021-09-13T17:27:44.0006073Z".
<7> 2021-09-02 15:25:58.274 +00:00 [DBG] [EdgeHub] - Scheduling server certificate renewal timer for "2021-09-13T17:27:44.0010144Z" (clamped to Int32.MaxValue).
<7> 2021-09-02 15:25:58.275 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:58.275 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:25:58.277 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:25:58.278 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:58.278 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:25:58.278 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<6> 2021-09-02 15:25:58.278 +00:00 [INF] [EdgeHub] - Starting protocol heads - (MQTT, AMQP, HTTP)
<6> 2021-09-02 15:25:58.288 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Starting MQTT head
<7> 2021-09-02 15:25:58.344 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:25:58.345 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<6> 2021-09-02 15:25:58.372 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Initializing TLS endpoint on port 8883 for MQTT head.
<7> 2021-09-02 15:25:58.398 +00:00 [DBG] [DotNetty.Transport.Channels.DefaultChannelId] - -Dio.netty.processId: 1837949 (auto-detected)
<7> 2021-09-02 15:25:58.437 +00:00 [DBG] [DotNetty.Transport.Channels.DefaultChannelId] - -Dio.netty.machineId: <redacted> (auto-detected)
<7> 2021-09-02 15:25:58.448 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.numHeapArenas: 8
<7> 2021-09-02 15:25:58.448 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.numDirectArenas: 8
<7> 2021-09-02 15:25:58.448 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.pageSize: 8192
<7> 2021-09-02 15:25:58.448 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.maxOrder: 11
<7> 2021-09-02 15:25:58.449 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.chunkSize: 16777216
<7> 2021-09-02 15:25:58.449 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.tinyCacheSize: 512
<7> 2021-09-02 15:25:58.449 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.smallCacheSize: 256
<7> 2021-09-02 15:25:58.449 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.normalCacheSize: 64
<7> 2021-09-02 15:25:58.449 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
<7> 2021-09-02 15:25:58.449 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.cacheTrimInterval: 8192
<7> 2021-09-02 15:25:58.475 +00:00 [DBG] [DotNetty.Buffers.ByteBufferUtil] - -Dio.netty.allocator.type: pooled
<7> 2021-09-02 15:25:58.488 +00:00 [DBG] [DotNetty.Common.ResourceLeakDetector] - -Dio.netty.leakDetection.level: simple
<7> 2021-09-02 15:25:58.488 +00:00 [DBG] [DotNetty.Common.ResourceLeakDetector] - -Dio.netty.leakDetection.targetRecords: 4
<6> 2021-09-02 15:25:58.579 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - Starting AMQP head
<7> 2021-09-02 15:25:58.601 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - WebSockets listener registered.
<6> 2021-09-02 15:25:58.611 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Started MQTT head
<6> 2021-09-02 15:25:58.879 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - Started AMQP head
<6> 2021-09-02 15:25:58.886 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Http.HttpProtocolHead] - Starting HTTP head
<7> 2021-09-02 15:25:58.890 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Hosting starting
<4> 2021-09-02 15:25:59.582 +00:00 [WRN] [Microsoft.AspNetCore.Server.Kestrel] - Overriding address(es) '"http://+:80"'. Binding to endpoints defined in "UseKestrel()" instead.
<7> 2021-09-02 15:25:59.605 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Hosting started
<7> 2021-09-02 15:25:59.606 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Loaded hosting startup assembly "Microsoft.Azure.Devices.Edge.Hub.Http"
<6> 2021-09-02 15:25:59.606 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Http.HttpProtocolHead] - Started HTTP head
<7> 2021-09-02 15:26:03.289 +00:00 [DBG] [DotNetty.Buffers.AbstractByteBuffer] - -Dio.netty.buffer.bytebuf.checkAccessible: True
<7> 2021-09-02 15:26:03.305 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxCapacityPerThread: 4096
<7> 2021-09-02 15:26:03.306 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxSharedCapacityFactor: 2
<7> 2021-09-02 15:26:03.306 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxDelayedQueuesPerThread: 8
<7> 2021-09-02 15:26:03.306 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.linkCapacity: 16
<7> 2021-09-02 15:26:03.306 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.ratio: 8
<7> 2021-09-02 15:26:03.659 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Getting service identity for MyDeviceName/MyModuleName
<6> 2021-09-02 15:26:03.716 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.DeviceScopeAuthenticator] - Client MyDeviceName/MyModuleName in device scope authenticated locally.
<7> 2021-09-02 15:26:03.719 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Authenticator] - Client MyDeviceName/MyModuleName authentication successful
<6> 2021-09-02 15:26:03.757 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceIdentityProvider] - Successfully generated identity for clientId MyDeviceName/MyModuleName and username MyDeviceName/MyDeviceName/MyModuleName/?api-version=2020-09-30&DeviceClientType=iothubclient%2f1.7.0%20(native%3b%20Linux%3b%20x86_64)
<6> 2021-09-02 15:26:03.766 +00:00 [INF] [EdgeHub] - ClientAuthenticated, MyDeviceName/MyModuleName, 6dd39b95
<6> 2021-09-02 15:26:03.858 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - New device connection for device MyDeviceName/MyModuleName
<6> 2021-09-02 15:26:03.860 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/MyModuleName connected to edgeHub, processing existing subscriptions.
<7> 2021-09-02 15:26:03.865 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Creating cloud connection for client MyDeviceName/MyModuleName using EdgeHub credentials
<7> 2021-09-02 15:26:03.878 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnection] - Updating device MyDeviceName/MyModuleName connection status to Connected
<7> 2021-09-02 15:26:03.895 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:26:03.897 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-02 15:26:03.921 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Device.DeviceMessageHandler] - Bind device proxy for device MyDeviceName/MyModuleName
<6> 2021-09-02 15:26:03.923 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Binding message channel for device Id MyDeviceName/MyModuleName
<6> 2021-09-02 15:26:03.934 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Attempting to connect to IoT Hub for client MyDeviceName/MyModuleName via AMQP...
<7> 2021-09-02 15:26:03.945 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:26:03.946 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:03.946 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:03.947 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:26:03.982 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-02 15:26:03.982 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:03.983 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:03.984 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/sign?api-version=2019-01-30
<7> 2021-09-02 15:26:04.035 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStatePersistenceProvider] - Processing session subscriptions TwinResponse, Methods, ModuleMessages for client MyDeviceName/MyModuleName: 
<6> 2021-09-02 15:26:04.051 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions TwinResponse, Methods, ModuleMessages for client MyDeviceName/MyModuleName.
<6> 2021-09-02 15:26:04.052 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.085 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:26:04.086 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-02 15:26:04.102 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<6> 2021-09-02 15:26:04.107 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.117 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:26:04.129 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-02 15:26:04.129 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:26:04.130 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:04.130 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:04.130 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:26:04.189 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Received connection status changed callback with connection status Connected and reason Connection_Ok for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.472 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.479 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id MyDeviceName_0_0
<7> 2021-09-02 15:26:04.588 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:26:04.667 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-02 15:26:04.668 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Cloud connection for MyDeviceName/MyModuleName is True
<6> 2021-09-02 15:26:04.668 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Connection status for MyDeviceName/MyModuleName changed to ConnectionEstablished
<7> 2021-09-02 15:26:04.668 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Invoking cloud connection established event for MyDeviceName/MyModuleName
<6> 2021-09-02 15:26:04.668 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/MyModuleName connected to cloud, processing existing subscriptions.
<6> 2021-09-02 15:26:04.668 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/MyModuleName for subscription processing, as it is currently being processed.
<7> 2021-09-02 15:26:04.669 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation OpenAsync succeeded for MyDeviceName/MyModuleName
<6> 2021-09-02 15:26:04.669 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud proxy for client MyDeviceName/MyModuleName via AMQP, with client operation timeout 20 seconds.
<6> 2021-09-02 15:26:04.669 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Initialized cloud proxy f72f4fee-b04b-4d0a-8988-f325b37a6d8f for MyDeviceName/MyModuleName
<6> 2021-09-02 15:26:04.669 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud connection for client MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.670 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.670 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.670 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:04.671 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:04.672 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:04.679 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:26:04.716 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-02 15:26:04.724 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Added message dde7979d-d6ad-44a0-a4c8-fefaf9905f69 to store for iothub at offset 0.
<7> 2021-09-02 15:26:04.798 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - GetTwin call received from MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.799 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Getting twin for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.799 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.815 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:26:04.816 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:04.816 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-02 15:26:04.816 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:04.817 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:26:04.818 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:26:04.819 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.819 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:26:04.819 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:04.820 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.820 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:04.820 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:04.821 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:04.821 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:04.884 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:26:04.885 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:26:04.886 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-02 15:26:04.887 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:26:04.887 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:04.888 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:04.888 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:26:04.895 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:26:04.895 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation GetTwinAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.895 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 1. Next start offset = 1.
<7> 2021-09-02 15:26:04.895 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Getting twin for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.896 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.897 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/MyModuleName from cloud
<7> 2021-09-02 15:26:04.897 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating twin in store for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:04.901 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 1 with batch size 99.
<7> 2021-09-02 15:26:04.905 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 1.
<7> 2021-09-02 15:26:04.909 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 1 with batch size 100.
<7> 2021-09-02 15:26:04.909 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 1.
<7> 2021-09-02 15:26:04.955 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:26:04.956 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:26:04.960 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:26:04.961 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:04.962 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:04.963 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:26:04.995 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Sending 1 message(s) upstream.
<7> 2021-09-02 15:26:05.026 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Sending 1 message(s) upstream, divided into 1 groups. Processing maximum 10 groups in parallel.
<7> 2021-09-02 15:26:05.052 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:26:05.053 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:26:05.054 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated twin in store for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.068 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.103 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceProxy] - Sent twin update to MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.104 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Device.DeviceMessageHandler] - Processed GetTwin for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.108 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Getting twin for device Id MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.204 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Finished processing messages to upstream
<7> 2021-09-02 15:26:05.256 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStatePersistenceProvider] - Processing session subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client MyDeviceName/MyModuleName: 
<6> 2021-09-02 15:26:05.256 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client MyDeviceName/MyModuleName.
<6> 2021-09-02 15:26:05.259 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MyDeviceName/MyModuleName
<6> 2021-09-02 15:26:05.259 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.260 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.261 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:05.262 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:05.262 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:26:05.263 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.263 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:05.263 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:05.264 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/MyModuleName.
<7> 2021-09-02 15:26:05.267 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.494 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:26:05.496 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SendEventAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.499 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Sending message for MyDeviceName/MyModuleName
<7> 2021-09-02 15:26:05.654 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 1 with batch size 100.
<7> 2021-09-02 15:26:05.654 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 1.
<7> 2021-09-02 15:26:08.348 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-02 15:26:08.356 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:26:08.359 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:08.361 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:08.363 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:26:08.460 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:26:08.463 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:26:08.470 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-02 15:26:08.475 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:26:08.478 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:08.479 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:08.482 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:26:08.553 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:26:08.555 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:26:08.559 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:26:08.560 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-02 15:26:08.739 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-02 15:26:08.740 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-02 15:26:08.740 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-02 15:26:08.740 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:26:08.741 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-02 15:26:08.751 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:26:08.752 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:08.753 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:08.754 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:26:08.826 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:26:08.827 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-02 15:26:08.829 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-02 15:26:08.829 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:08.830 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:08.830 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/encrypt?api-version=2019-01-30
<7> 2021-09-02 15:26:08.905 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:26:08.905 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-02 15:26:08.907 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-02 15:26:08.907 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:08.908 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-02 15:26:08.908 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637661929311376852/decrypt?api-version=2019-01-30
<7> 2021-09-02 15:26:08.975 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-02 15:26:08.975 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt

@onalante-msft
Copy link
Contributor

onalante-msft commented Sep 9, 2021

@gri6507 This issue is probably part of a larger class of edge cases (no pun intended) related to module twins. However, I think we may have a workaround for now. Could you try this image for your edgeHub? You should be able to pull without a password: onalantecr.azurecr.io/edgehub:latest. My apologies about the delay.

@gri6507
Copy link
Contributor Author

gri6507 commented Sep 9, 2021

@onalante-msft - I'm afraid, the problem is still there. Here's what iotedge list shows

NAME                   STATUS           DESCRIPTION      CONFIG
MyModuleName           running          Up 6 minutes     <redacted>
edgeAgent              running          Up 9 minutes     mcr.microsoft.com/azureiotedge-agent:1.1
edgeHub                running          Up 6 minutes     onalantecr.azurecr.io/edgehub:latest
Bad case
2021-09-09 18:55:42  Starting Edge Hub
2021-09-09 18:55:43.215 +00:00 Edge Hub Main()
<7> 2021-09-09 18:55:44.057 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to CreateServerCertificateAsync
<7> 2021-09-09 18:55:44.877 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:44.891 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:44.908 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/certificate/server?api-version=2019-01-30
<7> 2021-09-09 18:55:45.592 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received Created
<7> 2021-09-09 18:55:45.896 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for CreateServerCertificateAsync
<7> 2021-09-09 18:55:46.717 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to TrustBundleAsync
<7> 2021-09-09 18:55:46.730 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:46.730 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:46.731 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/trust-bundle?api-version=2019-01-30
<7> 2021-09-09 18:55:46.735 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:46.746 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for TrustBundleAsync
<6> 2021-09-09 18:55:46.775 +00:00 [INF] [EdgeHub] - Installing certificates [CN=iotedged workload ca:09/13/2021 17:30:14],[CN=Test Edge Device CA:09/13/2021 17:30:14],[CN=Test Edge Owner CA:09/13/2021 17:30:14] to Root
<6> 2021-09-09 18:55:46.842 +00:00 [INF] [EdgeHub] - Installing certificates [CN=Test Edge Owner CA:09/13/2021 17:30:14] to Root
<6> 2021-09-09 18:55:46.874 +00:00 [INF] [EdgeHub] - Enabling SSL protocols: Tls, Tls11, Tls12
<6> 2021-09-09 18:55:47.414 +00:00 [INF] [EdgeHub] - Experimental features configuration: {"Enabled":false,"DisableCloudSubscriptions":false,"DisableConnectivityCheck":false}
<6> 2021-09-09 18:55:49.120 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Service.Modules.RoutingModule] - Created persistent store at /tmp/edgeHub
<6> 2021-09-09 18:55:49.253 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Created device scope identities cache
<7> 2021-09-09 18:55:49.253 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Initializing device scope identities cache refresh task to run every 60 minutes.
<6> 2021-09-09 18:55:49.263 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Starting refresh of device scope identities cache
<7> 2021-09-09 18:55:49.270 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Created iterator to iterate all service identities in the scope of this IoT Edge device
<6> 2021-09-09 18:55:49.282 +00:00 [INF] [EdgeHub] - Initializing Edge Hub
<6> 2021-09-09 18:55:49.283 +00:00 [INF] [EdgeHub] - 
        ������ �����������   ���������� ��������
       �������������������   �������������������
       ��������  ����� ���   �����������������
       �������� �����  ���   �����������������
       ���  �����������������������  �����������
       ���  ����������� ������� ���  �����������

 ��� ������� ���������    ���������������  ������� ��������
 ���������������������    ������������������������ ��������
 ������   ���   ���       ������  ���  ������  ����������
 ������   ���   ���       ������  ���  ������   ���������
 ������������   ���       ���������������������������������
 ��� �������    ���       ���������������  ������� ��������

<6> 2021-09-09 18:55:49.291 +00:00 [INF] [EdgeHub] - Version - 1.1.5.BUILDNUMBER (COMMITID)
<6> 2021-09-09 18:55:49.292 +00:00 [INF] [EdgeHub] - OptimizeForPerformance=True
<6> 2021-09-09 18:55:49.292 +00:00 [INF] [EdgeHub] - MessageAckTimeoutSecs=30
<6> 2021-09-09 18:55:49.303 +00:00 [INF] [EdgeHub] - Loaded server certificate with expiration date of "2021-09-13T17:30:14.0000000+00:00"
<7> 2021-09-09 18:55:49.321 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<6> 2021-09-09 18:55:49.335 +00:00 [INF] [EdgeHub] - Using Asp Net server for metrics
<7> 2021-09-09 18:55:49.371 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:49.373 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:49.374 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/sign?api-version=2019-01-30
<7> 2021-09-09 18:55:49.468 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:49.489 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<6> 2021-09-09 18:55:49.518 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Created new message store
<6> 2021-09-09 18:55:49.522 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Started task to cleanup processed and stale messages
<6> 2021-09-09 18:55:49.752 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Created DeviceConnectivityManager with connected check frequency 00:05:00 and disconnected check frequency 00:02:00
<6> 2021-09-09 18:55:49.848 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Initialized storing twin manager
<7> 2021-09-09 18:55:49.883 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - ConnectionManager provided
<6> 2021-09-09 18:55:49.888 +00:00 [INF] [EdgeHub] - Initializing configuration
<6> 2021-09-09 18:55:49.939 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - New device connection for device MyDeviceName/$edgeHub
<6> 2021-09-09 18:55:50.015 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/$edgeHub connected to edgeHub, processing existing subscriptions.
<7> 2021-09-09 18:55:50.098 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Refreshing service identity for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:50.107 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-09 18:55:50.110 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.110 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.111 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/sign?api-version=2019-01-30
<7> 2021-09-09 18:55:50.130 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Adding subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:55:50.156 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Adding subscription Methods for client MyDeviceName/$edgeHub.
<6> 2021-09-09 18:55:50.163 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:50.186 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:50.187 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-09 18:55:50.298 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:50.340 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:50.463 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:50.487 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.487 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.487 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:50.561 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:50.570 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:50.606 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-09 18:55:50.641 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:50.663 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.663 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.664 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:50.731 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:50.735 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceScopeApiClient] - Got valid device scope result
<7> 2021-09-09 18:55:50.738 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Received scope result for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:50.741 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:50.776 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:50.778 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:50.778 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.779 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.779 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:50.825 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceScopeApiClient] - Got valid device scope result
<7> 2021-09-09 18:55:50.829 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Received scope result with 1 devices, 3 modules and null continuation link
<7> 2021-09-09 18:55:50.848 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:50.848 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:50.856 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnection] - Initialized connection for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:50.867 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:50.867 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.867 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.868 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:50.898 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:50.898 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.899 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.899 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:50.943 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:50.944 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:50.948 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeHub is in device scope, adding to cache.
<7> 2021-09-09 18:55:50.964 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:50.964 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.964 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:50.965 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:50.984 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:50.985 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<4> 2021-09-09 18:55:51.015 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Empty edge hub configuration received. Ignoring...
<7> 2021-09-09 18:55:51.040 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:51.040 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:51.040 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Getting twin for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:51.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName is in device scope, adding to cache.
<7> 2021-09-09 18:55:51.045 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Getting configuration
<7> 2021-09-09 18:55:51.046 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:51.046 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:51.046 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:51.046 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:51.061 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Creating cloud connection for client MyDeviceName/$edgeHub using EdgeHub credentials
<6> 2021-09-09 18:55:51.095 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Attempting to connect to IoT Hub for client MyDeviceName/$edgeHub via AMQP...
<7> 2021-09-09 18:55:51.123 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:51.124 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:51.126 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeAgent is in device scope, adding to cache.
<7> 2021-09-09 18:55:51.133 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:51.134 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:51.134 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:51.135 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:51.217 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:51.218 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:51.219 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeHub is in device scope, adding to cache.
<7> 2021-09-09 18:55:51.220 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:51.221 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:51.222 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:51.222 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:51.292 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:51.292 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:51.293 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/MyModuleName is in device scope, adding to cache.
<7> 2021-09-09 18:55:51.300 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Done refreshing device scope identities cache. Waiting for 60 minutes.
<7> 2021-09-09 18:55:52.248 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-09 18:55:52.250 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:52.251 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:52.251 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/sign?api-version=2019-01-30
<7> 2021-09-09 18:55:52.319 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:52.321 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-09 18:55:52.968 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Received connection status changed callback with connection status Connected and reason Connection_Ok for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.004 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-09 18:55:53.062 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Exiting disconnected state
<6> 2021-09-09 18:55:53.112 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Received device connected callback
<7> 2021-09-09 18:55:53.120 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.123 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:53.124 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<6> 2021-09-09 18:55:53.125 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Device connected to cloud, processing subscriptions for connected clients.
<7> 2021-09-09 18:55:53.125 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.126 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<6> 2021-09-09 18:55:53.130 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions for client MyDeviceName/$edgeHub on device connected to cloud.
<6> 2021-09-09 18:55:53.132 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/$edgeHub for subscription processing, as it is currently being processed.
<6> 2021-09-09 18:55:53.159 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Entering connected state
<6> 2021-09-09 18:55:53.171 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Cloud connection for MyDeviceName/$edgeHub is True
<6> 2021-09-09 18:55:53.181 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Connection status for MyDeviceName/$edgeHub changed to ConnectionEstablished
<7> 2021-09-09 18:55:53.182 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Invoking cloud connection established event for MyDeviceName/$edgeHub
<6> 2021-09-09 18:55:53.187 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/$edgeHub connected to cloud, processing existing subscriptions.
<6> 2021-09-09 18:55:53.187 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/$edgeHub for subscription processing, as it is currently being processed.
<7> 2021-09-09 18:55:53.188 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation OpenAsync succeeded for MyDeviceName/$edgeHub
<6> 2021-09-09 18:55:53.192 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud proxy for client MyDeviceName/$edgeHub via AMQP, with client operation timeout 20 seconds.
<7> 2021-09-09 18:55:53.192 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:53.193 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:53.198 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-09 18:55:53.199 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:53.200 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.200 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.200 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<6> 2021-09-09 18:55:53.205 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Initialized cloud proxy 9c1a31d4-5c51-47a0-9aeb-5101aa998e5c for MyDeviceName/$edgeHub
<6> 2021-09-09 18:55:53.207 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud connection for client MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.222 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.222 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.222 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.247 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:55:53.254 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:55:53.278 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:53.278 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:53.295 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.303 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.481 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.481 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.489 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:55:53.489 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:55:53.576 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:55:53.591 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation GetTwinAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.593 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Getting twin for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.599 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.603 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/$edgeHub from cloud
<7> 2021-09-09 18:55:53.612 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating twin in store for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.614 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:53.614 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.615 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.616 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:53.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:55:53.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:55:53.638 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.638 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.645 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:55:53.645 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/$edgeHub.
<6> 2021-09-09 18:55:53.648 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.678 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:55:53.679 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.682 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-09 18:55:53.684 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.687 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.687 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:53.688 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:53.690 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:53.699 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.700 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.700 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:53.762 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:53.763 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:53.766 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated twin in store for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.767 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:53.768 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.768 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.768 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:53.836 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:53.836 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:53.839 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:53.840 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.840 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.840 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:53.844 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.846 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:53.909 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:53.910 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:53.911 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:53.911 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:53.911 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.911 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.911 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.911 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:53.912 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:53.912 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:53.988 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:53.999 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:53.997 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:54.007 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:54.023 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:54.026 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.027 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.028 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:54.039 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:54.040 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:54.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:54.109 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:54.109 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:54.111 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:54.111 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:54.112 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-09 18:55:54.113 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:54.114 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.114 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.114 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:54.119 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Twin for MyDeviceName/$edgeHub synced at 09/09/2021 18:55:53 which is sooner than twin sync period 120 secs, skipping syncing twin
<7> 2021-09-09 18:55:54.178 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:54.178 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:54.179 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:54.179 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:54.179 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.180 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.180 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:54.244 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:54.244 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<4> 2021-09-09 18:55:54.250 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource] - Error getting edge hub config from twin desired properties
System.ArgumentException: schemaVersion is null or whitespace.
   at Microsoft.Azure.Devices.Edge.Util.Preconditions.CheckArgument(Boolean expression, String message) in /home/onalante/iotedge/edge-util/src/Microsoft.Azure.Devices.Edge.Util/Preconditions.cs:line 73
   at Microsoft.Azure.Devices.Edge.Util.Preconditions.CheckNonWhiteSpace(String value, String paramName) in /home/onalante/iotedge/edge-util/src/Microsoft.Azure.Devices.Edge.Util/Preconditions.cs:line 191
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.EdgeHubDesiredProperties..ctor(String schemaVersion, IDictionary`2 routes, StoreAndForwardConfiguration storeAndForwardConfiguration) in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/EdgeHubDesiredProperties.cs:line 14
   at lambda_method(Closure , Object[] )
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource.GetConfigInternal() in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/TwinConfigSource.cs:line 97
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource.GetConfigInternal() in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/TwinConfigSource.cs:line 105
<4> 2021-09-09 18:55:54.314 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Empty edge hub configuration received. Ignoring...
<6> 2021-09-09 18:55:54.323 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Started operation Get EdgeHub config
<6> 2021-09-09 18:55:54.324 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Initialized edge hub configuration
<6> 2021-09-09 18:55:54.349 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionReauthenticator] - Starting timer to authenticate connections with a period of 300 seconds
<7> 2021-09-09 18:55:54.360 +00:00 [DBG] [EdgeHub] - Waiting on shutdown handler to trigger
<7> 2021-09-09 18:55:54.416 +00:00 [DBG] [DotNetty.Common.Internal.PlatformDependent] - -Dio.netty.noPreferDirect: True
<6> 2021-09-09 18:55:54.573 +00:00 [INF] [EdgeHub] - Scheduling server certificate renewal for "2021-09-13T17:27:44.0005599Z".
<7> 2021-09-09 18:55:54.573 +00:00 [DBG] [EdgeHub] - Scheduling server certificate renewal timer for "2021-09-13T17:27:44.0010058Z" (clamped to Int32.MaxValue).
<6> 2021-09-09 18:55:54.578 +00:00 [INF] [EdgeHub] - Starting protocol heads - (MQTT, AMQP, HTTP)
<6> 2021-09-09 18:55:54.588 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Starting MQTT head
<6> 2021-09-09 18:55:54.677 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Initializing TLS endpoint on port 8883 for MQTT head.
<7> 2021-09-09 18:55:54.704 +00:00 [DBG] [DotNetty.Transport.Channels.DefaultChannelId] - -Dio.netty.processId: 1197193 (auto-detected)
<7> 2021-09-09 18:55:54.743 +00:00 [DBG] [DotNetty.Transport.Channels.DefaultChannelId] - -Dio.netty.machineId: <redacted> (auto-detected)
<7> 2021-09-09 18:55:54.755 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.numHeapArenas: 8
<7> 2021-09-09 18:55:54.755 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.numDirectArenas: 8
<7> 2021-09-09 18:55:54.755 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.pageSize: 8192
<7> 2021-09-09 18:55:54.755 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.maxOrder: 11
<7> 2021-09-09 18:55:54.755 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.chunkSize: 16777216
<7> 2021-09-09 18:55:54.755 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.tinyCacheSize: 512
<7> 2021-09-09 18:55:54.755 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.smallCacheSize: 256
<7> 2021-09-09 18:55:54.755 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.normalCacheSize: 64
<7> 2021-09-09 18:55:54.756 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
<7> 2021-09-09 18:55:54.756 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.cacheTrimInterval: 8192
<7> 2021-09-09 18:55:54.783 +00:00 [DBG] [DotNetty.Buffers.ByteBufferUtil] - -Dio.netty.allocator.type: pooled
<7> 2021-09-09 18:55:54.797 +00:00 [DBG] [DotNetty.Common.ResourceLeakDetector] - -Dio.netty.leakDetection.level: simple
<7> 2021-09-09 18:55:54.797 +00:00 [DBG] [DotNetty.Common.ResourceLeakDetector] - -Dio.netty.leakDetection.targetRecords: 4
<7> 2021-09-09 18:55:54.841 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:54.842 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:54.842 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.843 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.843 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<6> 2021-09-09 18:55:54.894 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - Starting AMQP head
<7> 2021-09-09 18:55:54.918 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:54.918 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:54.919 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-09 18:55:54.919 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - WebSockets listener registered.
<7> 2021-09-09 18:55:54.927 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<6> 2021-09-09 18:55:54.929 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Started MQTT head
<7> 2021-09-09 18:55:54.932 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.933 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:54.934 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:55.004 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:55.004 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:55.005 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:55.006 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:55.202 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:55:55.205 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:55.206 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-09 18:55:55.207 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:55.207 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:55:55.211 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:55.212 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:55.213 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:55.214 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<6> 2021-09-09 18:55:55.216 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - Started AMQP head
<6> 2021-09-09 18:55:55.222 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Http.HttpProtocolHead] - Starting HTTP head
<7> 2021-09-09 18:55:55.227 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Hosting starting
<7> 2021-09-09 18:55:55.280 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:55.280 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:55:55.282 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:55:55.282 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:55.282 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:55.283 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:55.349 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:55.350 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:55:55.351 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:55:55.352 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:55.353 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:55:55.354 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:55:55.416 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:55:55.417 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<4> 2021-09-09 18:55:55.935 +00:00 [WRN] [Microsoft.AspNetCore.Server.Kestrel] - Overriding address(es) '"http://+:80"'. Binding to endpoints defined in "UseKestrel()" instead.
<7> 2021-09-09 18:55:55.974 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Hosting started
<7> 2021-09-09 18:55:55.974 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Loaded hosting startup assembly "Microsoft.Azure.Devices.Edge.Hub.Http"
<6> 2021-09-09 18:55:55.976 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Http.HttpProtocolHead] - Started HTTP head
<7> 2021-09-09 18:56:00.314 +00:00 [DBG] [DotNetty.Buffers.AbstractByteBuffer] - -Dio.netty.buffer.bytebuf.checkAccessible: True
<7> 2021-09-09 18:56:00.330 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxCapacityPerThread: 4096
<7> 2021-09-09 18:56:00.330 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxSharedCapacityFactor: 2
<7> 2021-09-09 18:56:00.330 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxDelayedQueuesPerThread: 8
<7> 2021-09-09 18:56:00.330 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.linkCapacity: 16
<7> 2021-09-09 18:56:00.330 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.ratio: 8
<7> 2021-09-09 18:56:00.717 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Getting service identity for MyDeviceName/MyModuleName
<6> 2021-09-09 18:56:00.778 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.DeviceScopeAuthenticator] - Client MyDeviceName/MyModuleName in device scope authenticated locally.
<7> 2021-09-09 18:56:00.782 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Authenticator] - Client MyDeviceName/MyModuleName authentication successful
<6> 2021-09-09 18:56:00.810 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceIdentityProvider] - Successfully generated identity for clientId MyDeviceName/MyModuleName and username Telemetry-cu-dev1-iot.azure-devices.net/MyDeviceName/MyModuleName/?api-version=2020-09-30&DeviceClientType=iothubclient%2f1.7.0%20(native%3b%20Linux%3b%20x86_64)
<6> 2021-09-09 18:56:00.820 +00:00 [INF] [EdgeHub] - ClientAuthenticated, MyDeviceName/MyModuleName, 44775a1b
<6> 2021-09-09 18:56:00.905 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - New device connection for device MyDeviceName/MyModuleName
<6> 2021-09-09 18:56:00.907 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/MyModuleName connected to edgeHub, processing existing subscriptions.
<7> 2021-09-09 18:56:00.912 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Creating cloud connection for client MyDeviceName/MyModuleName using EdgeHub credentials
<7> 2021-09-09 18:56:00.920 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnection] - Updating device MyDeviceName/MyModuleName connection status to Connected
<7> 2021-09-09 18:56:00.939 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:56:00.941 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-09 18:56:00.951 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Device.DeviceMessageHandler] - Bind device proxy for device MyDeviceName/MyModuleName
<6> 2021-09-09 18:56:00.954 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Binding message channel for device Id MyDeviceName/MyModuleName
<6> 2021-09-09 18:56:00.963 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Attempting to connect to IoT Hub for client MyDeviceName/MyModuleName via AMQP...
<7> 2021-09-09 18:56:00.971 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:56:00.971 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:00.972 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:00.973 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:56:01.008 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-09 18:56:01.009 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:01.009 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:01.009 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/sign?api-version=2019-01-30
<7> 2021-09-09 18:56:01.085 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStatePersistenceProvider] - Processing session subscriptions TwinResponse, Methods, ModuleMessages for client MyDeviceName/MyModuleName: 
<7> 2021-09-09 18:56:01.093 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:56:01.094 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<6> 2021-09-09 18:56:01.102 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions TwinResponse, Methods, ModuleMessages for client MyDeviceName/MyModuleName.
<6> 2021-09-09 18:56:01.103 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.149 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<6> 2021-09-09 18:56:01.153 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.164 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:56:01.176 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-09 18:56:01.176 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:56:01.177 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:01.177 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:01.178 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:56:01.184 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Received connection status changed callback with connection status Connected and reason Connection_Ok for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.186 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-09 18:56:01.187 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Cloud connection for MyDeviceName/MyModuleName is True
<6> 2021-09-09 18:56:01.187 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Connection status for MyDeviceName/MyModuleName changed to ConnectionEstablished
<7> 2021-09-09 18:56:01.187 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Invoking cloud connection established event for MyDeviceName/MyModuleName
<6> 2021-09-09 18:56:01.188 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/MyModuleName connected to cloud, processing existing subscriptions.
<6> 2021-09-09 18:56:01.188 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/MyModuleName for subscription processing, as it is currently being processed.
<7> 2021-09-09 18:56:01.188 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation OpenAsync succeeded for MyDeviceName/MyModuleName
<6> 2021-09-09 18:56:01.188 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud proxy for client MyDeviceName/MyModuleName via AMQP, with client operation timeout 20 seconds.
<6> 2021-09-09 18:56:01.189 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Initialized cloud proxy f0b14a0a-1b56-4414-b8a0-13df20c8ca71 for MyDeviceName/MyModuleName
<6> 2021-09-09 18:56:01.190 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud connection for client MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.190 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.191 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:01.195 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.197 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:01.198 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:01.517 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.524 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id swgw_MyDeviceName_0_0
<7> 2021-09-09 18:56:01.633 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:56:01.635 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:56:01.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:01.639 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:01.696 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - GetTwin call received from MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.696 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Getting twin for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.697 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.735 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:56:01.735 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.735 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:01.736 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:56:01.737 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:01.737 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:01.738 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-09 18:56:01.740 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:56:01.740 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:01.741 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:01.742 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:56:01.807 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:56:01.808 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:56:01.809 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-09 18:56:01.810 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:56:01.810 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:01.811 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:01.811 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:56:01.822 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:56:01.823 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation GetTwinAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.823 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Getting twin for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.824 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.824 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/MyModuleName from cloud
<7> 2021-09-09 18:56:01.825 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating twin in store for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:01.877 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:56:01.879 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:56:01.883 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:56:01.884 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:01.884 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:01.885 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:56:01.956 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:56:01.957 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:56:01.959 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated twin in store for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:02.007 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceProxy] - Sent twin update to MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:02.008 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Device.DeviceMessageHandler] - Processed GetTwin for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:02.012 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Getting twin for device Id MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:02.214 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStatePersistenceProvider] - Processing session subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client MyDeviceName/MyModuleName: 
<6> 2021-09-09 18:56:02.215 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client MyDeviceName/MyModuleName.
<6> 2021-09-09 18:56:02.218 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:02.219 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:02.220 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:02.220 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:02.221 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-09 18:56:02.223 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:02.223 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:02.223 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:02.225 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:02.225 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:56:02.229 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:56:05.419 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-09 18:56:05.423 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:56:05.427 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:05.428 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:05.430 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:56:05.523 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:56:05.526 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:56:05.534 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-09 18:56:05.537 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:56:05.539 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:05.540 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:05.541 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:56:05.607 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:56:05.609 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:56:05.611 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:56:05.612 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:56:05.783 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:56:05.785 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:56:05.787 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-09 18:56:05.787 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:56:05.787 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:56:05.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:56:05.793 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:05.793 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:05.794 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:56:05.859 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:56:05.861 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:56:05.864 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:56:05.865 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:05.866 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:05.867 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:56:05.931 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:56:05.933 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:56:05.936 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:56:05.946 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:05.946 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:56:05.947 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:56:06.021 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:56:06.022 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:57:55.915 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-09 18:57:55.915 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id swgw_MyDeviceName_0_0
<7> 2021-09-09 18:59:55.924 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-09 18:59:55.924 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id swgw_MyDeviceName_0_0
<7> 2021-09-09 19:00:40.178 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Desired properties update message received for MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:40.186 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Received desired property updates for MyDeviceName/$edgeHub with version 2
<7> 2021-09-09 19:00:40.189 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 19:00:40.190 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:40.190 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:40.191 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:40.278 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:40.279 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 19:00:40.293 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating desired properties for MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:40.294 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 19:00:40.294 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:40.294 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:40.295 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:40.363 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:40.363 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 19:00:40.365 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 19:00:40.366 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:40.369 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:40.370 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:40.435 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:40.435 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 19:00:40.440 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged desired properties for MyDeviceName/$edgeHub in store
<7> 2021-09-09 19:00:40.441 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 19:00:40.441 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:40.441 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:40.441 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:40.506 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:40.506 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 19:00:40.511 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Sending desired property updates to MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:40.513 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Sending desired property updates to MyDeviceName/$edgeHub
<6> 2021-09-09 19:00:41.136 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Created cloud endpoint iothub with max batch size 10 and fan-out factor of 10.
<6> 2021-09-09 19:00:41.143 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource] - Obtained edge hub config patch update from module twin
<7> 2021-09-09 19:00:41.144 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:41.144 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:41.145 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 19:00:41.145 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.146 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.146 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:41.218 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:41.218 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 19:00:41.219 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:41.220 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 19:00:41.220 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.220 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.221 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:41.286 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:41.286 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 19:00:41.287 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-09 19:00:41.288 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 19:00:41.288 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.289 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.289 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:41.358 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:41.358 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 19:00:41.359 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:41.359 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 19:00:41.360 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.360 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.360 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:41.426 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:41.427 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 19:00:41.430 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:41.432 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 19:00:41.434 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.434 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.435 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<6> 2021-09-09 19:00:41.439 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Updating edge hub configuration
<7> 2021-09-09 19:00:41.448 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Received edge hub configuration with  updates
<7> 2021-09-09 19:00:41.506 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:41.507 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 19:00:41.508 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-09 19:00:41.509 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 19:00:41.509 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.510 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.510 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:41.571 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:41.571 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 19:00:41.572 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:41.572 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:41.755 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Added sequential store for endpoint iothub
<6> 2021-09-09 19:00:41.833 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Set the following 1 route(s) in edge hub
<6> 2021-09-09 19:00:41.834 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - default: FROM /messages/* INTO $upstream
<7> 2021-09-09 19:00:41.835 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 19:00:41.836 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:41.837 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-09 19:00:41.839 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Updated message store TTL to 2678400 seconds
<6> 2021-09-09 19:00:41.841 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Updated the edge hub store and forward configuration
<6> 2021-09-09 19:00:41.850 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:41.850 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 19:00:41.851 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 19:00:41.851 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.852 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.852 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:41.919 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:41.920 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 19:00:41.921 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 19:00:41.921 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.921 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.922 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/encrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:41.986 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:41.987 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 19:00:41.988 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 19:00:41.988 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.988 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 19:00:41.988 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668103427091032/decrypt?api-version=2019-01-30
<7> 2021-09-09 19:00:42.052 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 19:00:42.053 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
Retrieved 634 line(s)
Good case
2021-09-09 18:50:44  Starting Edge Hub
2021-09-09 18:50:45.175 +00:00 Edge Hub Main()
<7> 2021-09-09 18:50:45.992 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to CreateServerCertificateAsync
<7> 2021-09-09 18:50:46.811 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:46.825 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:46.843 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/certificate/server?api-version=2019-01-30
<7> 2021-09-09 18:50:47.793 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received Created
<7> 2021-09-09 18:50:48.101 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for CreateServerCertificateAsync
<7> 2021-09-09 18:50:48.900 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to TrustBundleAsync
<7> 2021-09-09 18:50:48.913 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:48.914 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:48.914 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/trust-bundle?api-version=2019-01-30
<7> 2021-09-09 18:50:48.919 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:48.928 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for TrustBundleAsync
<6> 2021-09-09 18:50:48.957 +00:00 [INF] [EdgeHub] - Installing certificates [CN=iotedged workload ca:09/13/2021 17:30:14],[CN=Test Edge Device CA:09/13/2021 17:30:14],[CN=Test Edge Owner CA:09/13/2021 17:30:14] to Root
<6> 2021-09-09 18:50:49.024 +00:00 [INF] [EdgeHub] - Installing certificates [CN=Test Edge Owner CA:09/13/2021 17:30:14] to Root
<6> 2021-09-09 18:50:49.063 +00:00 [INF] [EdgeHub] - Enabling SSL protocols: Tls, Tls11, Tls12
<6> 2021-09-09 18:50:49.597 +00:00 [INF] [EdgeHub] - Experimental features configuration: {"Enabled":false,"DisableCloudSubscriptions":false,"DisableConnectivityCheck":false}
<6> 2021-09-09 18:50:51.289 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Service.Modules.RoutingModule] - Created persistent store at /tmp/edgeHub
<6> 2021-09-09 18:50:51.413 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Created device scope identities cache
<7> 2021-09-09 18:50:51.414 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Initializing device scope identities cache refresh task to run every 60 minutes.
<6> 2021-09-09 18:50:51.423 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Starting refresh of device scope identities cache
<7> 2021-09-09 18:50:51.428 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Created iterator to iterate all service identities in the scope of this IoT Edge device
<6> 2021-09-09 18:50:51.438 +00:00 [INF] [EdgeHub] - Initializing Edge Hub
<6> 2021-09-09 18:50:51.439 +00:00 [INF] [EdgeHub] - 
        ������ �����������   ���������� ��������
       �������������������   �������������������
       ��������  ����� ���   �����������������
       �������� �����  ���   �����������������
       ���  �����������������������  �����������
       ���  ����������� ������� ���  �����������

 ��� ������� ���������    ���������������  ������� ��������
 ���������������������    ������������������������ ��������
 ������   ���   ���       ������  ���  ������  ����������
 ������   ���   ���       ������  ���  ������   ���������
 ������������   ���       ���������������������������������
 ��� �������    ���       ���������������  ������� ��������

<6> 2021-09-09 18:50:51.443 +00:00 [INF] [EdgeHub] - Version - 1.1.5.BUILDNUMBER (COMMITID)
<6> 2021-09-09 18:50:51.444 +00:00 [INF] [EdgeHub] - OptimizeForPerformance=True
<6> 2021-09-09 18:50:51.444 +00:00 [INF] [EdgeHub] - MessageAckTimeoutSecs=30
<6> 2021-09-09 18:50:51.454 +00:00 [INF] [EdgeHub] - Loaded server certificate with expiration date of "2021-09-13T17:30:14.0000000+00:00"
<7> 2021-09-09 18:50:51.475 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<6> 2021-09-09 18:50:51.483 +00:00 [INF] [EdgeHub] - Using Asp Net server for metrics
<7> 2021-09-09 18:50:51.520 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:51.521 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:51.522 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/sign?api-version=2019-01-30
<7> 2021-09-09 18:50:51.587 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:51.606 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<6> 2021-09-09 18:50:51.662 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Created new message store
<6> 2021-09-09 18:50:51.665 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Started task to cleanup processed and stale messages
<6> 2021-09-09 18:50:51.902 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Created DeviceConnectivityManager with connected check frequency 00:05:00 and disconnected check frequency 00:02:00
<6> 2021-09-09 18:50:52.017 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Initialized storing twin manager
<7> 2021-09-09 18:50:52.055 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - ConnectionManager provided
<6> 2021-09-09 18:50:52.061 +00:00 [INF] [EdgeHub] - Initializing configuration
<6> 2021-09-09 18:50:52.113 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - New device connection for device MyDeviceName/$edgeHub
<6> 2021-09-09 18:50:52.164 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/$edgeHub connected to edgeHub, processing existing subscriptions.
<7> 2021-09-09 18:50:52.242 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Refreshing service identity for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:52.251 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-09 18:50:52.254 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.254 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.255 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/sign?api-version=2019-01-30
<7> 2021-09-09 18:50:52.275 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Adding subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:50:52.306 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Adding subscription Methods for client MyDeviceName/$edgeHub.
<6> 2021-09-09 18:50:52.313 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:52.329 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:52.330 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-09 18:50:52.447 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:52.488 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:52.599 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:52.620 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.621 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.621 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:52.687 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:52.696 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:52.728 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceScopeApiClient] - Got valid device scope result
<7> 2021-09-09 18:50:52.730 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Received scope result for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:52.733 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-09 18:50:52.756 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:52.758 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceScopeApiClient] - Got valid device scope result
<7> 2021-09-09 18:50:52.761 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Received scope result with 1 devices, 3 modules and null continuation link
<7> 2021-09-09 18:50:52.782 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.782 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.782 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:52.856 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:52.859 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:52.860 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.860 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.860 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:52.866 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:52.903 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:52.904 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:52.905 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.905 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.905 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:52.936 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:52.936 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:52.942 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeHub is in device scope, adding to cache.
<7> 2021-09-09 18:50:52.958 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:52.959 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.959 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:52.959 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:52.998 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:52.998 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:53.007 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnection] - Initialized connection for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:53.037 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:53.038 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:53.038 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName is in device scope, adding to cache.
<7> 2021-09-09 18:50:53.048 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:53.052 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:53.053 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:53.053 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:53.054 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:53.051 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:53.055 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:53.056 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:53.078 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Creating cloud connection for client MyDeviceName/$edgeHub using EdgeHub credentials
<6> 2021-09-09 18:50:53.116 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Attempting to connect to IoT Hub for client MyDeviceName/$edgeHub via AMQP...
<7> 2021-09-09 18:50:53.135 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:53.135 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:53.150 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:53.151 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:53.152 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeAgent is in device scope, adding to cache.
<7> 2021-09-09 18:50:53.160 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:53.161 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:53.163 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:53.165 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<4> 2021-09-09 18:50:53.172 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Empty edge hub configuration received. Ignoring...
<7> 2021-09-09 18:50:53.201 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Getting twin for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:53.207 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Getting configuration
<7> 2021-09-09 18:50:53.241 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:53.242 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:53.243 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeHub is in device scope, adding to cache.
<7> 2021-09-09 18:50:53.244 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:53.245 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:53.245 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:53.246 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:53.309 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:53.310 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:53.311 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/MyModuleName is in device scope, adding to cache.
<7> 2021-09-09 18:50:53.316 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Done refreshing device scope identities cache. Waiting for 60 minutes.
<7> 2021-09-09 18:50:54.236 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-09 18:50:54.237 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:54.237 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:54.238 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/sign?api-version=2019-01-30
<7> 2021-09-09 18:50:54.311 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:54.312 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-09 18:50:54.887 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Received connection status changed callback with connection status Connected and reason Connection_Ok for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:54.923 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-09 18:50:54.980 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Exiting disconnected state
<6> 2021-09-09 18:50:55.055 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Received device connected callback
<7> 2021-09-09 18:50:55.063 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.064 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:55.065 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.065 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.066 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<6> 2021-09-09 18:50:55.071 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Device connected to cloud, processing subscriptions for connected clients.
<6> 2021-09-09 18:50:55.077 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions for client MyDeviceName/$edgeHub on device connected to cloud.
<6> 2021-09-09 18:50:55.079 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/$edgeHub for subscription processing, as it is currently being processed.
<6> 2021-09-09 18:50:55.111 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Entering connected state
<6> 2021-09-09 18:50:55.122 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Cloud connection for MyDeviceName/$edgeHub is True
<6> 2021-09-09 18:50:55.132 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Connection status for MyDeviceName/$edgeHub changed to ConnectionEstablished
<7> 2021-09-09 18:50:55.134 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Invoking cloud connection established event for MyDeviceName/$edgeHub
<6> 2021-09-09 18:50:55.138 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/$edgeHub connected to cloud, processing existing subscriptions.
<6> 2021-09-09 18:50:55.138 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/$edgeHub for subscription processing, as it is currently being processed.
<7> 2021-09-09 18:50:55.139 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation OpenAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.141 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:55.142 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<6> 2021-09-09 18:50:55.143 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud proxy for client MyDeviceName/$edgeHub via AMQP, with client operation timeout 20 seconds.
<7> 2021-09-09 18:50:55.146 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-09 18:50:55.147 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:55.148 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.149 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.149 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<6> 2021-09-09 18:50:55.155 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Initialized cloud proxy b5ebe34f-9d99-40e7-83da-d7c0dcc0fbaf for MyDeviceName/$edgeHub
<6> 2021-09-09 18:50:55.158 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud connection for client MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.173 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.173 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.173 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.221 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:55.222 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:55.233 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:50:55.233 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:50:55.239 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.247 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.433 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.433 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.441 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:50:55.442 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:50:55.615 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:50:55.615 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:50:55.630 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.631 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:50:55.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/$edgeHub.
<7> 2021-09-09 18:50:55.642 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:50:55.642 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation GetTwinAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.644 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Getting twin for MyDeviceName/$edgeHub
<6> 2021-09-09 18:50:55.646 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.656 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.660 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/$edgeHub from cloud
<7> 2021-09-09 18:50:55.669 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating twin in store for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.670 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:55.670 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.672 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.672 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:55.723 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:50:55.723 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.726 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-09 18:50:55.729 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.731 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.742 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:55.742 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:55.744 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:55.744 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.745 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.745 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:55.813 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:55.813 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:55.816 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated twin in store for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:55.816 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:55.817 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.817 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.817 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:55.882 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:55.882 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:55.884 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:55.885 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.885 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.885 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:55.947 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:55.948 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:55.950 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:55.951 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.953 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:55.953 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:56.017 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:56.017 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:56.026 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:56.027 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:56.027 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:56.027 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:56.090 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:56.090 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:56.097 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Twin for MyDeviceName/$edgeHub synced at 09/09/2021 18:50:55 which is sooner than twin sync period 120 secs, skipping syncing twin
<6> 2021-09-09 18:50:56.457 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Created cloud endpoint iothub with max batch size 10 and fan-out factor of 10.
<7> 2021-09-09 18:50:56.488 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:56.490 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:56.492 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:56.492 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:56.494 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:56.494 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:56.564 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:56.564 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:56.591 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:56.592 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:56.592 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:56.593 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:56.593 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:56.662 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:56.663 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:56.663 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-09 18:50:56.664 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:56.664 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:56.665 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:56.665 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:56.728 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:56.728 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:56.729 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:56.729 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:56.730 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:56.730 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:56.730 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:56.809 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:56.813 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<6> 2021-09-09 18:50:56.819 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource] - Obtained edge hub config from module twin
<7> 2021-09-09 18:50:56.830 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Received edge hub configuration with  updates
<7> 2021-09-09 18:50:56.989 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:56.998 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:57.001 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:57.003 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:57.004 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:57.081 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:57.082 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:57.083 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-09 18:50:57.084 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:57.085 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:57.085 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:57.085 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:57.135 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Added sequential store for endpoint iothub
<7> 2021-09-09 18:50:57.155 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:57.155 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:57.156 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:57.157 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<6> 2021-09-09 18:50:57.219 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Set the following 1 route(s) in edge hub
<6> 2021-09-09 18:50:57.220 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - default: FROM /messages/* INTO $upstream
<6> 2021-09-09 18:50:57.224 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Updated message store TTL to 2678400 seconds
<6> 2021-09-09 18:50:57.226 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Updated the edge hub store and forward configuration
<6> 2021-09-09 18:50:57.236 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Started operation Get EdgeHub config
<6> 2021-09-09 18:50:57.237 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Initialized edge hub configuration
<6> 2021-09-09 18:50:57.274 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionReauthenticator] - Starting timer to authenticate connections with a period of 300 seconds
<7> 2021-09-09 18:50:57.285 +00:00 [DBG] [EdgeHub] - Waiting on shutdown handler to trigger
<7> 2021-09-09 18:50:57.309 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:50:57.309 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:57.310 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-09 18:50:57.311 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:57.311 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:50:57.313 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:57.314 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:57.314 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:57.314 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:57.346 +00:00 [DBG] [DotNetty.Common.Internal.PlatformDependent] - -Dio.netty.noPreferDirect: True
<7> 2021-09-09 18:50:57.380 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:57.381 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:50:57.382 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:50:57.382 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:57.383 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:57.383 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:50:57.447 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:57.447 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:50:57.448 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:50:57.449 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:57.449 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:50:57.450 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<6> 2021-09-09 18:50:57.507 +00:00 [INF] [EdgeHub] - Scheduling server certificate renewal for "2021-09-13T17:27:44.0006113Z".
<7> 2021-09-09 18:50:57.507 +00:00 [DBG] [EdgeHub] - Scheduling server certificate renewal timer for "2021-09-13T17:27:44.0010161Z" (clamped to Int32.MaxValue).
<6> 2021-09-09 18:50:57.512 +00:00 [INF] [EdgeHub] - Starting protocol heads - (MQTT, AMQP, HTTP)
<7> 2021-09-09 18:50:57.514 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:50:57.514 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<6> 2021-09-09 18:50:57.522 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Starting MQTT head
<6> 2021-09-09 18:50:57.601 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Initializing TLS endpoint on port 8883 for MQTT head.
<7> 2021-09-09 18:50:57.628 +00:00 [DBG] [DotNetty.Transport.Channels.DefaultChannelId] - -Dio.netty.processId: 1428081 (auto-detected)
<7> 2021-09-09 18:50:57.669 +00:00 [DBG] [DotNetty.Transport.Channels.DefaultChannelId] - -Dio.netty.machineId: 02:42:AC:FF:FE:12:00:03 (auto-detected)
<7> 2021-09-09 18:50:57.680 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.numHeapArenas: 8
<7> 2021-09-09 18:50:57.681 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.numDirectArenas: 8
<7> 2021-09-09 18:50:57.681 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.pageSize: 8192
<7> 2021-09-09 18:50:57.681 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.maxOrder: 11
<7> 2021-09-09 18:50:57.681 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.chunkSize: 16777216
<7> 2021-09-09 18:50:57.681 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.tinyCacheSize: 512
<7> 2021-09-09 18:50:57.681 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.smallCacheSize: 256
<7> 2021-09-09 18:50:57.681 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.normalCacheSize: 64
<7> 2021-09-09 18:50:57.681 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
<7> 2021-09-09 18:50:57.682 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.cacheTrimInterval: 8192
<7> 2021-09-09 18:50:57.709 +00:00 [DBG] [DotNetty.Buffers.ByteBufferUtil] - -Dio.netty.allocator.type: pooled
<7> 2021-09-09 18:50:57.723 +00:00 [DBG] [DotNetty.Common.ResourceLeakDetector] - -Dio.netty.leakDetection.level: simple
<7> 2021-09-09 18:50:57.723 +00:00 [DBG] [DotNetty.Common.ResourceLeakDetector] - -Dio.netty.leakDetection.targetRecords: 4
<6> 2021-09-09 18:50:57.812 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - Starting AMQP head
<7> 2021-09-09 18:50:57.840 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - WebSockets listener registered.
<6> 2021-09-09 18:50:57.851 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Started MQTT head
<6> 2021-09-09 18:50:58.130 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - Started AMQP head
<6> 2021-09-09 18:50:58.136 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Http.HttpProtocolHead] - Starting HTTP head
<7> 2021-09-09 18:50:58.140 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Hosting starting
<4> 2021-09-09 18:50:58.838 +00:00 [WRN] [Microsoft.AspNetCore.Server.Kestrel] - Overriding address(es) '"http://+:80"'. Binding to endpoints defined in "UseKestrel()" instead.
<7> 2021-09-09 18:50:58.862 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Hosting started
<7> 2021-09-09 18:50:58.862 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Loaded hosting startup assembly "Microsoft.Azure.Devices.Edge.Hub.Http"
<6> 2021-09-09 18:50:58.863 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Http.HttpProtocolHead] - Started HTTP head
<7> 2021-09-09 18:51:03.332 +00:00 [DBG] [DotNetty.Buffers.AbstractByteBuffer] - -Dio.netty.buffer.bytebuf.checkAccessible: True
<7> 2021-09-09 18:51:03.349 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxCapacityPerThread: 4096
<7> 2021-09-09 18:51:03.349 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxSharedCapacityFactor: 2
<7> 2021-09-09 18:51:03.349 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxDelayedQueuesPerThread: 8
<7> 2021-09-09 18:51:03.349 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.linkCapacity: 16
<7> 2021-09-09 18:51:03.349 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.ratio: 8
<7> 2021-09-09 18:51:03.723 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Getting service identity for MyDeviceName/MyModuleName
<6> 2021-09-09 18:51:03.785 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.DeviceScopeAuthenticator] - Client MyDeviceName/MyModuleName in device scope authenticated locally.
<7> 2021-09-09 18:51:03.789 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Authenticator] - Client MyDeviceName/MyModuleName authentication successful
<6> 2021-09-09 18:51:03.816 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceIdentityProvider] - Successfully generated identity for clientId MyDeviceName/MyModuleName and username Telemetry-cu-dev1-iot.azure-devices.net/MyDeviceName/MyModuleName/?api-version=2020-09-30&DeviceClientType=iothubclient%2f1.7.0%20(native%3b%20Linux%3b%20x86_64)
<6> 2021-09-09 18:51:03.827 +00:00 [INF] [EdgeHub] - ClientAuthenticated, MyDeviceName/MyModuleName, 7dac7e35
<6> 2021-09-09 18:51:03.914 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - New device connection for device MyDeviceName/MyModuleName
<6> 2021-09-09 18:51:03.916 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/MyModuleName connected to edgeHub, processing existing subscriptions.
<7> 2021-09-09 18:51:03.922 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Creating cloud connection for client MyDeviceName/MyModuleName using EdgeHub credentials
<7> 2021-09-09 18:51:03.929 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnection] - Updating device MyDeviceName/MyModuleName connection status to Connected
<7> 2021-09-09 18:51:03.948 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:51:03.948 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-09 18:51:03.959 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Device.DeviceMessageHandler] - Bind device proxy for device MyDeviceName/MyModuleName
<6> 2021-09-09 18:51:03.963 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Binding message channel for device Id MyDeviceName/MyModuleName
<6> 2021-09-09 18:51:03.972 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Attempting to connect to IoT Hub for client MyDeviceName/MyModuleName via AMQP...
<7> 2021-09-09 18:51:03.980 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:51:03.981 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:03.981 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:03.982 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:51:04.007 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-09 18:51:04.007 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:04.008 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:04.009 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/sign?api-version=2019-01-30
<7> 2021-09-09 18:51:04.081 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:51:04.082 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-09 18:51:04.094 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStatePersistenceProvider] - Processing session subscriptions TwinResponse, Methods, ModuleMessages for client MyDeviceName/MyModuleName: 
<6> 2021-09-09 18:51:04.109 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions TwinResponse, Methods, ModuleMessages for client MyDeviceName/MyModuleName.
<6> 2021-09-09 18:51:04.110 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.153 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<6> 2021-09-09 18:51:04.158 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.169 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:51:04.182 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-09 18:51:04.182 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:51:04.183 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:04.183 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:04.183 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:51:04.207 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Received connection status changed callback with connection status Connected and reason Connection_Ok for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.209 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-09 18:51:04.210 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Cloud connection for MyDeviceName/MyModuleName is True
<6> 2021-09-09 18:51:04.210 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Connection status for MyDeviceName/MyModuleName changed to ConnectionEstablished
<7> 2021-09-09 18:51:04.210 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Invoking cloud connection established event for MyDeviceName/MyModuleName
<6> 2021-09-09 18:51:04.211 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/MyModuleName connected to cloud, processing existing subscriptions.
<6> 2021-09-09 18:51:04.211 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/MyModuleName for subscription processing, as it is currently being processed.
<7> 2021-09-09 18:51:04.211 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation OpenAsync succeeded for MyDeviceName/MyModuleName
<6> 2021-09-09 18:51:04.211 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud proxy for client MyDeviceName/MyModuleName via AMQP, with client operation timeout 20 seconds.
<6> 2021-09-09 18:51:04.212 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Initialized cloud proxy ebfbe072-f7d6-4413-8073-4d919a15570a for MyDeviceName/MyModuleName
<6> 2021-09-09 18:51:04.212 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud connection for client MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.212 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.212 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.213 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:04.213 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:04.214 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:04.523 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.529 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id swgw_MyDeviceName_0
<7> 2021-09-09 18:51:04.622 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:51:04.623 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:51:04.623 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.623 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:04.623 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:04.717 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:51:04.718 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:51:04.718 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.718 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:04.753 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-09 18:51:04.754 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:04.754 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:04.761 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Added message 13477de6-059f-4aa6-8ca6-4aca7ad708f1 to store for iothub at offset 0.
<7> 2021-09-09 18:51:04.787 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.787 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id swgw_MyDeviceName_0_0
<7> 2021-09-09 18:51:04.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:51:04.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:04.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:04.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:51:04.832 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 0 with batch size 100.
<7> 2021-09-09 18:51:04.855 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - GetTwin call received from MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.856 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Getting twin for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.857 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.874 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:51:04.875 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:51:04.876 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-09 18:51:04.876 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:51:04.877 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:04.877 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:04.877 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:51:04.921 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 2. Next start offset = 2.
<7> 2021-09-09 18:51:04.923 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 2 with batch size 98.
<7> 2021-09-09 18:51:04.927 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 2.
<7> 2021-09-09 18:51:04.928 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:51:04.929 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation GetTwinAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.929 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 2 with batch size 100.
<7> 2021-09-09 18:51:04.929 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 2.
<7> 2021-09-09 18:51:04.929 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Getting twin for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.930 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.931 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/MyModuleName from cloud
<7> 2021-09-09 18:51:04.931 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating twin in store for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:04.945 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:51:04.946 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:51:04.951 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:51:04.951 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:04.951 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:04.952 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:51:05.027 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:51:05.029 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:51:05.030 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Sending 2 message(s) upstream.
<7> 2021-09-09 18:51:05.031 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated twin in store for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.056 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Sending 2 message(s) upstream, divided into 1 groups. Processing maximum 10 groups in parallel.
<7> 2021-09-09 18:51:05.077 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceProxy] - Sent twin update to MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.078 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Device.DeviceMessageHandler] - Processed GetTwin for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.081 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Getting twin for device Id MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.089 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.216 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStatePersistenceProvider] - Processing session subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client MyDeviceName/MyModuleName: 
<6> 2021-09-09 18:51:05.216 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client MyDeviceName/MyModuleName.
<6> 2021-09-09 18:51:05.219 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.220 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.220 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:05.220 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:05.221 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:51:05.221 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.221 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:05.222 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-09 18:51:05.222 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/MyModuleName.
<6> 2021-09-09 18:51:05.223 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.224 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.237 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.CloudEndpoint] - Finished processing messages to upstream
<7> 2021-09-09 18:51:05.290 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:51:05.291 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SendEventBatchAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.293 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Sending message for MyDeviceName/MyModuleName
<7> 2021-09-09 18:51:05.413 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Getting next batch for endpoint iothub starting from 2 with batch size 100.
<7> 2021-09-09 18:51:05.413 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Obtained next batch for endpoint iothub with batch size 0. Next start offset = 2.
<7> 2021-09-09 18:51:07.516 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-09 18:51:07.523 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:51:07.529 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:07.531 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:07.533 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:51:07.618 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:51:07.621 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:51:07.629 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-09 18:51:07.632 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:51:07.635 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:07.635 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:07.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:51:07.705 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:51:07.707 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:51:07.710 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:51:07.710 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-09 18:51:07.879 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-09 18:51:07.880 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-09 18:51:07.881 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-09 18:51:07.881 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:51:07.882 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-09 18:51:07.886 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:51:07.887 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:07.888 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:07.890 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:51:07.953 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:51:07.955 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-09 18:51:07.958 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-09 18:51:07.969 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:07.970 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:07.970 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/encrypt?api-version=2019-01-30
<7> 2021-09-09 18:51:08.035 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:51:08.036 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-09 18:51:08.040 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-09 18:51:08.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:08.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-09 18:51:08.042 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637668100028418055/decrypt?api-version=2019-01-30
<7> 2021-09-09 18:51:08.108 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-09 18:51:08.110 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
Retrieved 530 line(s)

@onalante-msft
Copy link
Contributor

onalante-msft commented Sep 12, 2021

Understood. I will generate a new image for you with another change.

Just to be transparent with you, here is what we (myself and a colleague) are thinking about this issue.

Edit: see subsequent comment for caveat.

In your case, it is most likely as you described: a race condition wherein DPS has created the device in the Hub, but the Hub has not assigned the deployment to the device. However, the iotedge daemon still has a cached module identity, and starts up with this identity. When it tries to then merge the upstream configuration with this cached identity, we have the error you see here. The reason why my first comment's scenario elicits the same error is likely for a similar reason in that the upstream module identity is deleted while the daemon has a valid identity.

While the upstream IoT Hub is always the source of truth for identities, we do have to allow for local identity caching to enable offline operation of edge devices. At the same time, we think that edgeHub should not start in case it cannot find an appropriate module identity. So, we have to distinguish between "cannot connect to the IoT Hub" and "can connect, but cannot find the identity." I am tweaking some of the error-handling code to see which places are appropriate to make this distinction.

@onalante-msft
Copy link
Contributor

onalante-msft commented Sep 12, 2021

Alright, could you retry this image: onalantecr.azurecr.io/edgehub? It fixes the errors from my first comment, but it is almost certainly a breaking change.

The whole situation is complicated by the fact that IoT Hub seems to explicitly set desired properties to null when a module is deleted. I will need to think about how best to handle this.

Edit: source branch is https://github.com/onalante-msft/iotedge/tree/hotfix-1.1

@gri6507
Copy link
Contributor Author

gri6507 commented Sep 13, 2021

@onalante-msft - The very first run with the new edgeHub image showed the problem.

$ iotedge list | grep edgeHub; docker images | grep edgehub
edgeHub                running          Up 2 minutes     onalantecr.azurecr.io/edgehub:latest
onalantecr.azurecr.io/edgehub                                                                 latest         26a7305d02fa   29 hours ago   168MB
Bad case
2021-09-13 17:39:14  Starting Edge Hub
2021-09-13 17:39:14.407 +00:00 Edge Hub Main()
<7> 2021-09-13 17:39:15.301 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to CreateServerCertificateAsync
<7> 2021-09-13 17:39:16.188 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:16.209 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:16.226 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/certificate/server?api-version=2019-01-30
<7> 2021-09-13 17:39:16.578 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received Created
<7> 2021-09-13 17:39:16.867 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for CreateServerCertificateAsync
<7> 2021-09-13 17:39:17.983 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to TrustBundleAsync
<7> 2021-09-13 17:39:17.996 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:17.996 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:17.996 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/trust-bundle?api-version=2019-01-30
<7> 2021-09-13 17:39:18.003 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:18.015 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for TrustBundleAsync
<6> 2021-09-13 17:39:18.045 +00:00 [INF] [EdgeHub] - Installing certificates [CN=iotedged workload ca:12/12/2021 17:30:17],[CN=Test Edge Device CA:12/12/2021 17:30:17],[CN=Test Edge Owner CA:12/12/2021 17:30:17] to Root
<6> 2021-09-13 17:39:18.117 +00:00 [INF] [EdgeHub] - Installing certificates [CN=Test Edge Owner CA:12/12/2021 17:30:17] to Root
<6> 2021-09-13 17:39:18.149 +00:00 [INF] [EdgeHub] - Enabling SSL protocols: Tls, Tls11, Tls12
<6> 2021-09-13 17:39:18.695 +00:00 [INF] [EdgeHub] - Experimental features configuration: {"Enabled":false,"DisableCloudSubscriptions":false,"DisableConnectivityCheck":false}
<6> 2021-09-13 17:39:20.415 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Service.Modules.RoutingModule] - Created persistent store at /tmp/edgeHub
<6> 2021-09-13 17:39:20.538 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Created device scope identities cache
<7> 2021-09-13 17:39:20.539 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Initializing device scope identities cache refresh task to run every 60 minutes.
<6> 2021-09-13 17:39:20.549 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Starting refresh of device scope identities cache
<7> 2021-09-13 17:39:20.554 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Created iterator to iterate all service identities in the scope of this IoT Edge device
<6> 2021-09-13 17:39:20.564 +00:00 [INF] [EdgeHub] - Initializing Edge Hub
<6> 2021-09-13 17:39:20.565 +00:00 [INF] [EdgeHub] - 
        ������ �����������   ���������� ��������
       �������������������   �������������������
       ��������  ����� ���   �����������������
       �������� �����  ���   �����������������
       ���  �����������������������  �����������
       ���  ����������� ������� ���  �����������

 ��� ������� ���������    ���������������  ������� ��������
 ���������������������    ������������������������ ��������
 ������   ���   ���       ������  ���  ������  ����������
 ������   ���   ���       ������  ���  ������   ���������
 ������������   ���       ���������������������������������
 ��� �������    ���       ���������������  ������� ��������

<6> 2021-09-13 17:39:20.570 +00:00 [INF] [EdgeHub] - Version - 1.1.5.BUILDNUMBER (COMMITID)
<6> 2021-09-13 17:39:20.571 +00:00 [INF] [EdgeHub] - OptimizeForPerformance=True
<6> 2021-09-13 17:39:20.571 +00:00 [INF] [EdgeHub] - MessageAckTimeoutSecs=30
<6> 2021-09-13 17:39:20.580 +00:00 [INF] [EdgeHub] - Loaded server certificate with expiration date of "2021-12-12T17:30:17.0000000+00:00"
<7> 2021-09-13 17:39:20.606 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<6> 2021-09-13 17:39:20.610 +00:00 [INF] [EdgeHub] - Using Asp Net server for metrics
<7> 2021-09-13 17:39:20.650 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:20.651 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:20.651 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/sign?api-version=2019-01-30
<7> 2021-09-13 17:39:20.719 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:20.739 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<6> 2021-09-13 17:39:20.803 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Created new message store
<6> 2021-09-13 17:39:20.805 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Storage.MessageStore] - Started task to cleanup processed and stale messages
<6> 2021-09-13 17:39:21.045 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Created DeviceConnectivityManager with connected check frequency 00:05:00 and disconnected check frequency 00:02:00
<6> 2021-09-13 17:39:21.170 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Initialized storing twin manager
<7> 2021-09-13 17:39:21.211 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - ConnectionManager provided
<6> 2021-09-13 17:39:21.217 +00:00 [INF] [EdgeHub] - Initializing configuration
<6> 2021-09-13 17:39:21.267 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - New device connection for device MyDeviceName/$edgeHub
<6> 2021-09-13 17:39:21.320 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/$edgeHub connected to edgeHub, processing existing subscriptions.
<7> 2021-09-13 17:39:21.399 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Refreshing service identity for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:21.408 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-13 17:39:21.411 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:21.411 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:21.411 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/sign?api-version=2019-01-30
<7> 2021-09-13 17:39:21.432 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Adding subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-13 17:39:21.462 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Adding subscription Methods for client MyDeviceName/$edgeHub.
<6> 2021-09-13 17:39:21.469 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:21.484 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:21.485 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-13 17:39:21.601 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:21.641 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:21.757 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:21.779 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:21.779 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:21.779 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:21.846 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:21.854 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:21.898 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-13 17:39:21.930 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:21.951 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:21.952 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:21.952 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:22.019 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:22.028 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:22.063 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:22.064 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:22.065 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:22.065 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:22.066 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:22.139 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:22.140 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:22.147 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnection] - Initialized connection for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:22.184 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:22.185 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:22.185 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:22.185 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:22.265 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:22.266 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<4> 2021-09-13 17:39:22.311 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Empty edge hub configuration received. Ignoring...
<7> 2021-09-13 17:39:22.335 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Getting twin for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:22.339 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Getting configuration
<7> 2021-09-13 17:39:22.743 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceScopeApiClient] - Got valid device scope result
<7> 2021-09-13 17:39:22.743 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceScopeApiClient] - Got valid device scope result
<7> 2021-09-13 17:39:22.746 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Received scope result for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:22.748 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ServiceProxy] - Received scope result with 1 devices, 3 modules and null continuation link
<7> 2021-09-13 17:39:22.856 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:22.857 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:22.858 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:22.858 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:22.928 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:22.929 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:22.932 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName is in device scope, adding to cache.
<7> 2021-09-13 17:39:22.944 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:22.944 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:22.944 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:22.945 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:23.013 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:23.014 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:23.015 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeHub is in device scope, adding to cache.
<7> 2021-09-13 17:39:23.016 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:23.017 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:23.017 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:23.017 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:23.081 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:23.081 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:23.082 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeAgent is in device scope, adding to cache.
<7> 2021-09-13 17:39:23.089 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:23.089 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:23.089 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:23.090 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:23.100 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Creating cloud connection for client MyDeviceName/$edgeHub using EdgeHub credentials
<6> 2021-09-13 17:39:23.128 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Attempting to connect to IoT Hub for client MyDeviceName/$edgeHub via AMQP...
<7> 2021-09-13 17:39:23.159 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:23.159 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:23.160 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/$edgeHub is in device scope, adding to cache.
<7> 2021-09-13 17:39:23.161 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:23.161 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:23.161 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:23.162 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:23.242 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:23.243 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:23.244 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - MyDeviceName/MyModuleName is in device scope, adding to cache.
<7> 2021-09-13 17:39:23.250 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Done refreshing device scope identities cache. Waiting for 60 minutes.
<7> 2021-09-13 17:39:24.152 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-13 17:39:24.153 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:24.153 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:24.153 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/sign?api-version=2019-01-30
<7> 2021-09-13 17:39:24.216 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:24.217 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-13 17:39:24.822 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Received connection status changed callback with connection status Connected and reason Connection_Ok for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:24.858 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-13 17:39:24.916 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Exiting disconnected state
<6> 2021-09-13 17:39:24.965 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Received device connected callback
<7> 2021-09-13 17:39:24.973 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:24.974 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:24.975 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:24.975 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:24.975 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<6> 2021-09-13 17:39:24.978 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Device connected to cloud, processing subscriptions for connected clients.
<6> 2021-09-13 17:39:24.984 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions for client MyDeviceName/$edgeHub on device connected to cloud.
<6> 2021-09-13 17:39:24.985 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/$edgeHub for subscription processing, as it is currently being processed.
<6> 2021-09-13 17:39:25.013 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - Entering connected state
<6> 2021-09-13 17:39:25.024 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Cloud connection for MyDeviceName/$edgeHub is True
<6> 2021-09-13 17:39:25.035 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Connection status for MyDeviceName/$edgeHub changed to ConnectionEstablished
<7> 2021-09-13 17:39:25.036 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Invoking cloud connection established event for MyDeviceName/$edgeHub
<6> 2021-09-13 17:39:25.040 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/$edgeHub connected to cloud, processing existing subscriptions.
<6> 2021-09-13 17:39:25.040 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/$edgeHub for subscription processing, as it is currently being processed.
<7> 2021-09-13 17:39:25.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:25.042 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation OpenAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.044 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<6> 2021-09-13 17:39:25.044 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud proxy for client MyDeviceName/$edgeHub via AMQP, with client operation timeout 20 seconds.
<7> 2021-09-13 17:39:25.045 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:25.046 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.053 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.054 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<6> 2021-09-13 17:39:25.066 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Initialized cloud proxy 7893fa4f-0e81-4612-be7b-65b4693e4f98 for MyDeviceName/$edgeHub
<6> 2021-09-13 17:39:25.068 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud connection for client MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.082 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.082 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.082 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.112 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-13 17:39:25.122 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/$edgeHub.
<7> 2021-09-13 17:39:25.123 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.124 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:25.138 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.148 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.327 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.327 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.334 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/$edgeHub.
<7> 2021-09-13 17:39:25.335 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/$edgeHub.
<7> 2021-09-13 17:39:25.415 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-13 17:39:25.430 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation GetTwinAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.432 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Getting twin for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.438 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.443 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/$edgeHub from cloud
<7> 2021-09-13 17:39:25.453 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating twin in store for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.454 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:25.456 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.457 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.457 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:25.481 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-13 17:39:25.481 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-13 17:39:25.482 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.483 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.490 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/$edgeHub.
<7> 2021-09-13 17:39:25.490 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/$edgeHub.
<6> 2021-09-13 17:39:25.495 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.506 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-13 17:39:25.507 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.510 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-13 17:39:25.512 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.515 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.524 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.524 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:25.526 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:25.527 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.527 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.527 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:25.589 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.589 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:25.592 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated twin in store for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.592 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:25.593 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.593 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.594 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:25.668 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.669 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:25.671 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.672 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:25.673 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.673 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.673 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:25.673 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.745 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.745 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:25.746 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:25.747 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.747 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.747 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:25.749 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:25.749 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.750 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.750 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:25.814 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.814 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:25.822 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:25.822 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.822 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.822 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:25.825 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.826 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:25.856 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.857 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:25.857 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.857 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.858 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:25.888 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.889 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:25.896 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Twin for MyDeviceName/$edgeHub synced at 09/13/2021 17:39:25 which is sooner than twin sync period 120 secs, skipping syncing twin
<7> 2021-09-13 17:39:25.924 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.925 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:25.925 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-13 17:39:25.926 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:25.927 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.927 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.927 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:25.995 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:25.996 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:25.996 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:25.997 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:25.998 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.998 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:25.998 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:26.070 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:26.070 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:26.158 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:26.160 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<4> 2021-09-13 17:39:26.076 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource] - Error getting edge hub config from twin desired properties
System.ArgumentException: schemaVersion is null or whitespace.
   at Microsoft.Azure.Devices.Edge.Util.Preconditions.CheckArgument(Boolean expression, String message) in /home/onalante/iotedge/edge-util/src/Microsoft.Azure.Devices.Edge.Util/Preconditions.cs:line 73
   at Microsoft.Azure.Devices.Edge.Util.Preconditions.CheckNonWhiteSpace(String value, String paramName) in /home/onalante/iotedge/edge-util/src/Microsoft.Azure.Devices.Edge.Util/Preconditions.cs:line 191
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.EdgeHubDesiredProperties..ctor(String schemaVersion, IDictionary`2 routes, StoreAndForwardConfiguration storeAndForwardConfiguration) in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/EdgeHubDesiredProperties.cs:line 14
   at lambda_method(Closure , Object[] )
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource.GetConfigInternal() in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/TwinConfigSource.cs:line 96
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource.GetConfigInternal() in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/TwinConfigSource.cs:line 104
<4> 2021-09-13 17:39:26.162 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Empty edge hub configuration received. Ignoring...
<7> 2021-09-13 17:39:26.163 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:26.164 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:26.164 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<6> 2021-09-13 17:39:26.172 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Started operation Get EdgeHub config
<6> 2021-09-13 17:39:26.173 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Initialized edge hub configuration
<6> 2021-09-13 17:39:26.202 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionReauthenticator] - Starting timer to authenticate connections with a period of 300 seconds
<7> 2021-09-13 17:39:26.214 +00:00 [DBG] [EdgeHub] - Waiting on shutdown handler to trigger
<7> 2021-09-13 17:39:26.236 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:26.237 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:26.238 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-13 17:39:26.238 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:26.239 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:26.239 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:26.239 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:26.276 +00:00 [DBG] [DotNetty.Common.Internal.PlatformDependent] - -Dio.netty.noPreferDirect: True
<7> 2021-09-13 17:39:26.308 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:26.308 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:26.309 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:26.309 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<6> 2021-09-13 17:39:26.430 +00:00 [INF] [EdgeHub] - Scheduling server certificate renewal for "2021-12-12T17:27:47.0006231Z".
<7> 2021-09-13 17:39:26.430 +00:00 [DBG] [EdgeHub] - Scheduling server certificate renewal timer for "2021-10-08T14:10:50.0777545Z" (clamped to Int32.MaxValue).
<6> 2021-09-13 17:39:26.435 +00:00 [INF] [EdgeHub] - Starting protocol heads - (MQTT, AMQP, HTTP)
<6> 2021-09-13 17:39:26.445 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Starting MQTT head
<7> 2021-09-13 17:39:26.466 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-13 17:39:26.466 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:26.467 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-13 17:39:26.468 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:26.468 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:26.470 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:26.471 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:26.471 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:26.473 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:26.537 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:26.538 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:26.539 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:26.539 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:26.539 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:26.539 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<6> 2021-09-13 17:39:26.542 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Initializing TLS endpoint on port 8883 for MQTT head.
<7> 2021-09-13 17:39:26.570 +00:00 [DBG] [DotNetty.Transport.Channels.DefaultChannelId] - -Dio.netty.processId: 2621267 (auto-detected)
<7> 2021-09-13 17:39:26.604 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:26.605 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:26.606 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:26.606 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:26.607 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:26.607 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:26.610 +00:00 [DBG] [DotNetty.Transport.Channels.DefaultChannelId] - -Dio.netty.machineId: 02:42:AC:FF:FE:12:00:03 (auto-detected)
<7> 2021-09-13 17:39:26.622 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.numHeapArenas: 8
<7> 2021-09-13 17:39:26.622 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.numDirectArenas: 8
<7> 2021-09-13 17:39:26.622 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.pageSize: 8192
<7> 2021-09-13 17:39:26.623 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.maxOrder: 11
<7> 2021-09-13 17:39:26.623 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.chunkSize: 16777216
<7> 2021-09-13 17:39:26.623 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.tinyCacheSize: 512
<7> 2021-09-13 17:39:26.623 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.smallCacheSize: 256
<7> 2021-09-13 17:39:26.623 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.normalCacheSize: 64
<7> 2021-09-13 17:39:26.623 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
<7> 2021-09-13 17:39:26.623 +00:00 [DBG] [DotNetty.Buffers.PooledByteBufferAllocator] - -Dio.netty.allocator.cacheTrimInterval: 8192
<7> 2021-09-13 17:39:26.649 +00:00 [DBG] [DotNetty.Buffers.ByteBufferUtil] - -Dio.netty.allocator.type: pooled
<7> 2021-09-13 17:39:26.663 +00:00 [DBG] [DotNetty.Common.ResourceLeakDetector] - -Dio.netty.leakDetection.level: simple
<7> 2021-09-13 17:39:26.663 +00:00 [DBG] [DotNetty.Common.ResourceLeakDetector] - -Dio.netty.leakDetection.targetRecords: 4
<7> 2021-09-13 17:39:26.670 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:26.671 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<6> 2021-09-13 17:39:26.749 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - Starting AMQP head
<7> 2021-09-13 17:39:26.770 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - WebSockets listener registered.
<6> 2021-09-13 17:39:26.778 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MqttProtocolHead] - Started MQTT head
<6> 2021-09-13 17:39:27.037 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Amqp.AmqpProtocolHead] - Started AMQP head
<6> 2021-09-13 17:39:27.045 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Http.HttpProtocolHead] - Starting HTTP head
<7> 2021-09-13 17:39:27.051 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Hosting starting
<4> 2021-09-13 17:39:27.791 +00:00 [WRN] [Microsoft.AspNetCore.Server.Kestrel] - Overriding address(es) '"http://+:80"'. Binding to endpoints defined in "UseKestrel()" instead.
<7> 2021-09-13 17:39:27.817 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Hosting started
<7> 2021-09-13 17:39:27.818 +00:00 [DBG] [Microsoft.AspNetCore.Hosting.Diagnostics] - Loaded hosting startup assembly "Microsoft.Azure.Devices.Edge.Hub.Http"
<6> 2021-09-13 17:39:27.819 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Http.HttpProtocolHead] - Started HTTP head
<7> 2021-09-13 17:39:32.236 +00:00 [DBG] [DotNetty.Buffers.AbstractByteBuffer] - -Dio.netty.buffer.bytebuf.checkAccessible: True
<7> 2021-09-13 17:39:32.253 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxCapacityPerThread: 4096
<7> 2021-09-13 17:39:32.253 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxSharedCapacityFactor: 2
<7> 2021-09-13 17:39:32.253 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.maxDelayedQueuesPerThread: 8
<7> 2021-09-13 17:39:32.253 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.linkCapacity: 16
<7> 2021-09-13 17:39:32.253 +00:00 [DBG] [DotNetty.Common.ThreadLocalPool] - -Dio.netty.recycler.ratio: 8
<7> 2021-09-13 17:39:32.619 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.IDeviceScopeIdentitiesCache] - Getting service identity for MyDeviceName/MyModuleName
<6> 2021-09-13 17:39:32.679 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.DeviceScopeAuthenticator] - Client MyDeviceName/MyModuleName in device scope authenticated locally.
<7> 2021-09-13 17:39:32.683 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Authenticator] - Client MyDeviceName/MyModuleName authentication successful
<6> 2021-09-13 17:39:32.710 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceIdentityProvider] - Successfully generated identity for clientId MyDeviceName/MyModuleName and username Telemetry-cu-dev1-iot.azure-devices.net/MyDeviceName/MyModuleName/?api-version=2020-09-30&DeviceClientType=iothubclient%2f1.7.0%20(native%3b%20Linux%3b%20x86_64)
<6> 2021-09-13 17:39:32.720 +00:00 [INF] [EdgeHub] - ClientAuthenticated, MyDeviceName/MyModuleName, 7a69d2e2
<6> 2021-09-13 17:39:32.804 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - New device connection for device MyDeviceName/MyModuleName
<6> 2021-09-13 17:39:32.806 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/MyModuleName connected to edgeHub, processing existing subscriptions.
<7> 2021-09-13 17:39:32.811 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Creating cloud connection for client MyDeviceName/MyModuleName using EdgeHub credentials
<7> 2021-09-13 17:39:32.819 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnection] - Updating device MyDeviceName/MyModuleName connection status to Connected
<7> 2021-09-13 17:39:32.836 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:32.837 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-13 17:39:32.848 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Device.DeviceMessageHandler] - Bind device proxy for device MyDeviceName/MyModuleName
<6> 2021-09-13 17:39:32.851 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Binding message channel for device Id MyDeviceName/MyModuleName
<6> 2021-09-13 17:39:32.859 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Attempting to connect to IoT Hub for client MyDeviceName/MyModuleName via AMQP...
<7> 2021-09-13 17:39:32.867 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:32.868 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:32.868 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:32.869 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:32.896 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to SignAsync
<7> 2021-09-13 17:39:32.897 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:32.897 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:32.898 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/sign?api-version=2019-01-30
<7> 2021-09-13 17:39:32.984 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:32.985 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for SignAsync
<7> 2021-09-13 17:39:32.995 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStatePersistenceProvider] - Processing session subscriptions TwinResponse, Methods, ModuleMessages for client MyDeviceName/MyModuleName: 
<6> 2021-09-13 17:39:33.010 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions TwinResponse, Methods, ModuleMessages for client MyDeviceName/MyModuleName.
<6> 2021-09-13 17:39:33.012 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.056 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<6> 2021-09-13 17:39:33.061 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.066 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Received connection status changed callback with connection status Connected and reason Connection_Ok for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.072 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:33.084 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Merged reported properties in store for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:33.084 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:33.085 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:33.085 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:33.085 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:33.087 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<6> 2021-09-13 17:39:33.087 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Cloud connection for MyDeviceName/MyModuleName is True
<6> 2021-09-13 17:39:33.088 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Connection status for MyDeviceName/MyModuleName changed to ConnectionEstablished
<7> 2021-09-13 17:39:33.088 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Invoking cloud connection established event for MyDeviceName/MyModuleName
<6> 2021-09-13 17:39:33.088 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Client MyDeviceName/MyModuleName connected to cloud, processing existing subscriptions.
<6> 2021-09-13 17:39:33.088 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Skipping MyDeviceName/MyModuleName for subscription processing, as it is currently being processed.
<7> 2021-09-13 17:39:33.088 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation OpenAsync succeeded for MyDeviceName/MyModuleName
<6> 2021-09-13 17:39:33.089 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud proxy for client MyDeviceName/MyModuleName via AMQP, with client operation timeout 20 seconds.
<6> 2021-09-13 17:39:33.089 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Initialized cloud proxy 8f0dd64d-c8d1-45a6-8f7a-7a401609cc54 for MyDeviceName/MyModuleName
<6> 2021-09-13 17:39:33.089 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudConnection] - Created cloud connection for client MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.090 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.090 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:33.092 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.092 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:33.095 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:33.421 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.429 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id swgw_MyDeviceName_0
<7> 2021-09-13 17:39:33.541 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-13 17:39:33.543 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:33.546 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.547 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:33.548 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:33.560 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Processing message for device Id MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.560 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - Received message from MyDeviceName/MyModuleName with message Id swgw_MyDeviceName_0_0
<7> 2021-09-13 17:39:33.629 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Routing.RoutingEdgeHub] - GetTwin call received from MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.630 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Getting twin for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.630 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-13 17:39:33.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.637 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:33.638 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:33.638 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:33.639 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:33.639 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Storing reported properties in store for MyDeviceName/$edgeHub with version 0
<7> 2021-09-13 17:39:33.641 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:33.642 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:33.643 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:33.644 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:33.712 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-13 17:39:33.712 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation GetTwinAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.713 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Getting twin for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.714 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.714 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Got twin for MyDeviceName/MyModuleName from cloud
<7> 2021-09-13 17:39:33.714 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating twin in store for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.716 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:33.716 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:33.717 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties in store with version 0 for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:33.718 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:33.719 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:33.719 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:33.719 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:33.791 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:33.792 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:33.795 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:33.796 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:33.796 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:33.796 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:33.882 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:33.882 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:33.884 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated twin in store for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.928 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.DeviceProxy] - Sent twin update to MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.929 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Device.DeviceMessageHandler] - Processed GetTwin for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:33.932 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.MessagingServiceClient] - Getting twin for device Id MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:34.121 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStatePersistenceProvider] - Processing session subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client MyDeviceName/MyModuleName: 
<6> 2021-09-13 17:39:34.123 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscriptions TwinResponse, Methods, ModuleMessages, DesiredPropertyUpdates for client MyDeviceName/MyModuleName.
<6> 2021-09-13 17:39:34.128 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing pending subscriptions for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:34.129 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:34.130 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription TwinResponse for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:34.131 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription Methods for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:34.132 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-13 17:39:34.134 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetMethodDefaultHandlerAsync succeeded for MyDeviceName/MyModuleName
<6> 2021-09-13 17:39:34.134 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:34.134 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.InvokeMethodHandler] - Processing pending method invoke requests for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:34.135 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription ModuleMessages for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:34.135 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.SubscriptionProcessor] - Processing subscription DesiredPropertyUpdates for client MyDeviceName/MyModuleName.
<7> 2021-09-13 17:39:34.142 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation SetDesiredPropertyUpdateCallbackAsync succeeded for MyDeviceName/MyModuleName
<7> 2021-09-13 17:39:36.674 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Syncing stored reported properties to cloud in MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:36.679 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:36.683 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:36.685 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:36.687 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:36.774 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:36.779 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:36.786 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Found stored reported properties for MyDeviceName/$edgeHub to sync to cloud
<7> 2021-09-13 17:39:36.789 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:36.792 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:36.794 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:36.796 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:36.867 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:36.870 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:36.875 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updating reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:36.875 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.ConnectionManager] - Obtained cloud connection for device MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:37.050 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.DeviceConnectivityManager] - IotHub call succeeded
<7> 2021-09-13 17:39:37.054 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient] - Operation UpdateReportedPropertiesAsync succeeded for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:37.055 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy] - Updating reported properties for MyDeviceName/$edgeHub
<6> 2021-09-13 17:39:37.056 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:37.058 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Hub.Core.Twin.StoringTwinManager] - Updated reported properties for MyDeviceName/$edgeHub
<7> 2021-09-13 17:39:37.062 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:37.063 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:37.078 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:37.079 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:37.146 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:37.147 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
<7> 2021-09-13 17:39:37.152 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Encrypt
<7> 2021-09-13 17:39:37.153 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:37.154 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:37.156 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/encrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:37.229 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:37.231 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Encrypt
<7> 2021-09-13 17:39:37.237 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Making a Http call to unix:///var/run/iotedge/workload.sock to Decrypt
<7> 2021-09-13 17:39:37.239 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:37.239 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/workload.sock
<7> 2021-09-13 17:39:37.241 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://workload.sock/modules/%24edgeHub/genid/637671514542113539/decrypt?api-version=2019-01-30
<7> 2021-09-13 17:39:37.323 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK
<7> 2021-09-13 17:39:37.325 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Edged.WorkloadClient] - Received a valid Http response from unix:///var/run/iotedge/workload.sock for Decrypt
Retrieved 525 line(s)

If I may, perhaps this problem can be tackled in a different way. Let's say that the twin resolution is truly impossible in the current architecture and the default route cannot be established right away. What if this was not considered a fatal problem for telemetry messages? What if, edgeHub would simply queue the unsent messages from modules internally until a default route could be established? I believe edgeHub already does something like this when it does not have internet connectivity. Does this make the problem easier to solve?

@onalante-msft
Copy link
Contributor

onalante-msft commented Sep 13, 2021

When the twin cannot be resolved, (by my understanding) it does proceed as you have described. The problem is that IoT Hub nulls out desired properties for "old" modules, and the manner in which desired and reported properties are updated means that local state corruption is possible in these cases.

Could you try onalantecr.azurecr.io/edgehub:latest again (digest is e4fd00a1)? N.b. I am skeptical as to whether it will address the race condition. I modified it so that edgeHub should not start if it does not receive a valid configuration within its initialization routine.

I am sorry this is taking such a long time. Once again, thank you for your patience.

@gri6507
Copy link
Contributor Author

gri6507 commented Sep 14, 2021

@onalante-msft - the latest image results in edgeHub starting and erroring out right away 100% of the time with the following error:

$ iotedge list | grep edgeHub; docker images --digests | grep edgehub
edgeHub                failed           Failed (139) 2 minutes ago  onalantecr.azurecr.io/edgehub:latest
onalantecr.azurecr.io/edgehub                                                                 latest         sha256:e4fd00a1f1cb690db91db4307139bff94fc6152e135314cbbb02684880f25765   ae694bb7efd8   7 hours ago   168MB
<4> 2021-09-14 14:14:44.703 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource] - Error getting edge hub config from twin desired properties
System.ArgumentException: schemaVersion is null or whitespace.
   at Microsoft.Azure.Devices.Edge.Util.Preconditions.CheckArgument(Boolean expression, String message) in /home/onalante/iotedge/edge-util/src/Microsoft.Azure.Devices.Edge.Util/Preconditions.cs:line 73
   at Microsoft.Azure.Devices.Edge.Util.Preconditions.CheckNonWhiteSpace(String value, String paramName) in /home/onalante/iotedge/edge-util/src/Microsoft.Azure.Devices.Edge.Util/Preconditions.cs:line 191
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.EdgeHubDesiredProperties..ctor(String schemaVersion, IDictionary`2 routes, StoreAndForwardConfiguration storeAndForwardConfiguration) in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/EdgeHubDesiredProperties.cs:line 14
   at lambda_method(Closure , Object[] )
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource.GetConfigInternal() in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/TwinConfigSource.cs:line 95
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.TwinConfigSource.GetConfigInternal() in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/TwinConfigSource.cs:line 105
<4> 2021-09-14 14:14:44.770 +00:00 [WRN] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Empty edge hub configuration received. Ignoring...
<3> 2021-09-14 14:14:44.773 +00:00 [ERR] [Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater] - Error initializing edge hub configuration
Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnectionException: could not initialize configuration
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater.Init(IConfigSource configProvider) in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/ConfigUpdater.cs:line 68
Unhandled exception. System.AggregateException: One or more errors occurred. (could not initialize configuration)
 ---> Microsoft.Azure.Devices.Edge.Hub.Core.EdgeHubConnectionException: could not initialize configuration
   at Microsoft.Azure.Devices.Edge.Hub.Core.Config.ConfigUpdater.Init(IConfigSource configProvider) in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/config/ConfigUpdater.cs:line 68
   at Microsoft.Azure.Devices.Edge.Hub.Service.Program.MainAsync(IConfigurationRoot configuration) in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Service/Program.cs:line 95
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at Microsoft.Azure.Devices.Edge.Hub.Service.Program.Main() in /home/onalante/iotedge/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Service/Program.cs:line 38

UPDATE - it looks like after failing to starting back to back for quite a few times, eventually edgeHub did start without an error

@onalante-msft
Copy link
Contributor

onalante-msft commented Sep 14, 2021

Yes; unfortunately, the fact is that edgeHub should not start unless it gets a valid configuration from one of its sources. Looking through the logs you have submitted so far, it actually looks like the daemon is not initializing with a cached configuration, and so is completely dependent on receiving a valid configuration from IoT Hub [0]. If it cannot do this, starting up without a valid configuration (and thus activating the protocol heads) would mean that modules could connect, but would not have any message routes configured. As a result, exiting the edgeHub process and making edgeAgent restart it until the identity is provisioned (or the retry limit is reached) seems like the only course of action without also getting involved in IoT Hub's twin synchronization code. In this way, modules should block until edgeHub starts successfully and activates the protocol heads.

Also, just to clarify, while those errors you are seeing are from more-or-less the same place in edgeHub that we had discussed earlier, one of the changes in my branch is that the desired properties are not set by upstream unless they parse correctly. So, we do not run the risk of corrupting local state like we would previously.

[0] On that note, my apologies about talking about the identity cache for so long in my earlier comments. Clearly, I still have some more work to do on log examination.

@gri6507
Copy link
Contributor Author

gri6507 commented Sep 14, 2021

Thank for for continuing to investigate this.

I wanted to take this opportunity to summarize the overall expected behavior for the edge device. What happens in edgeAgent and edgeHub are, from my module perspective, details that are irrelevant. Ultimately speaking, when my edge module starts, it needs to send a telemetry message. When the module does so, I get an OK result even if the edgeHub has not yet established an upstream route. Perhaps the current behavior of edgeHub is acceptable, but the module SDK behavior for SendEventAsync() (in C SDK the full function name is IoTHubModuleClient_LL_SendEventAsync()) should make that distinction. If the module is given the ability to know that its telemetry message is not actually sent, then it can then take action

@onalante-msft
Copy link
Contributor

onalante-msft commented Sep 14, 2021

It looks like in the C SDK, the response IOTHUB_CLIENT_OK only indicates that something did not go wrong during the instantiation of the asynchronous task [0]. If you want to get an indication of delivery, you have to provide a callback (type declaration IOTHUB_CLIENT_EVENT_CONFIRMATION_CALLBACK. The type signature of this callback is the following:

typedef void (*IOTHUB_CLIENT_EVENT_CONFIRMATION_CALLBACK)(IOTHUB_CLIENT_CONFIRMATION_RESULT result, void* userContextCallback);

userContextCallback is where you can store e.g. a pointer to some indicator you watch for message delivery.

[0] The precise circumstances under which IotHubClient_LL and its relatives return values other than IOTHUB_CLIENT_OK is documented here: https://github.com/Azure/azure-iot-sdk-c/blob/1c1b2c1a3a00bc445165dde44eb3e58ca999ec23/iothub_client/devdoc/requirement_docs/iothubclient_ll_requirements.md#iothubclient_ll_sendeventasync

@gri6507
Copy link
Contributor Author

gri6507 commented Sep 14, 2021

@onalante-msft - I actually have a callback registered before sending the telemetry message. The problem is that when edgeHub doesn't have an upstream route, that callback never gets called. So, what is my module to do in that case? How long should it wait for before declaring the message as "lost"? Ideally, this should not be an arbitrary time - it should be a callback with an error indication.

@onalante-msft
Copy link
Contributor

onalante-msft commented Sep 14, 2021

There is no timeout for messages and events by default, but you can specify one with IotHubModuleClient_LL_SetOption(client, OPTION_MESSAGE_TIMEOUT, [some_value_in_ms]). I believe the callback should always be called eventually once the timeout is set.

@gri6507
Copy link
Contributor Author

gri6507 commented Sep 14, 2021

@onalante-msft - thank you for pointing that option out. It seems that OPTION_MESSAGE_TIMEOUT is deprecated and only available for MQTT which just happens to be how my module communicates. - https://github.com/Azure/azure-iot-sdk-c/blob/master/iothub_client/inc/iothub_client_options.h#L43

@onalante-msft
Copy link
Contributor

onalante-msft commented Sep 14, 2021

Oh, my mistake. I missed that deprecation notice. However, I do not understand one thing: it looks like OPTION_MESSAGE_TIMEOUT is not available for MQTT. Did you mean AMQP? It looks like your module is connecting with AMQP in the logs. If you want to continue using AMQP and OPTION_MESSAGE_TIMEOUT does not accomplish what you want, you could maybe try changing the OPTION_EVENT_TIMEOUT_SECS option for the AMQP transport.

A useful document: https://github.com/Azure/azure-iot-sdk-c/blob/master/doc/Iothub_sdk_options.md#mqtt-amqp-and-http-specific-protocol-options.

Is there anything else I can help with? I will work on getting this fix into the repository in the meantime.

@gri6507
Copy link
Contributor Author

gri6507 commented Sep 14, 2021

Did you mean AMQP? It looks like your module is connecting with AMQP in the logs.

My module is definitely using MQTT. The module code is written using IoT C SDK which has a critical limitation with AMQP (see Azure/azure-iot-sdk-c#1397 (comment)). The logs that I have been posting are for edgeHub module and that indeed appears to be using AMQP

However, I do not understand one thing: it looks like OPTION_MESSAGE_TIMEOUT is not available for MQTT.

It appears you are correct. I was misreading the comment. However, this also means that my original comment about my module not having any way to know when edgeHub cannot send the message due to a missing upstream route is still valid.

I will work on getting this fix into the repository in the meantime.

Can you please clarify which fix you are working towards putting into the repo? Which version of the repo (1.1.x or 1.2.x)?

@onalante-msft
Copy link
Contributor

onalante-msft commented Sep 14, 2021

The fix that would be put into the repository is to prevent edgeHub from starting without a valid configuration. The plan is to include this in 1.1, 1.2, and the main branch.

Does e.g. IoTHubModuleClient_LL_SetRetryPolicy(client, IOTHUB_CLIENT_RETRY_EXPONENTIAL_BACKOFF, [timeout upper limit in seconds]) work, perhaps?

@gri6507
Copy link
Contributor Author

gri6507 commented Sep 15, 2021

Does e.g. IoTHubModuleClient_LL_SetRetryPolicy(client, IOTHUB_CLIENT_RETRY_EXPONENTIAL_BACKOFF, [timeout upper limit in seconds]) work, perhaps?

I am currently using the C SDK default IOTHUB_CLIENT_RETRY_EXPONENTIAL_BACKOFF_WITH_JITTER and I'm not sure what the default maximum is

@onalante-msft
Copy link
Contributor

As far as I can tell, the maximum is 0 by default.

@github-actions
Copy link

This issue is being marked as stale because it has been open for 30 days with no activity.

kodiakhq bot pushed a commit that referenced this issue Oct 27, 2021
…tion (#5515)

Currently, EdgeHub 1.1 can start without a valid configuration. This PR backports logic introduced in later releases to check that a configuration was pulled successfully, and modifies the configuration pulling task to fail when appropriate.

Fixes #5398.
and-rewsmith pushed a commit to and-rewsmith/iotedge that referenced this issue Oct 28, 2021
…tion (Azure#5515)

Currently, EdgeHub 1.1 can start without a valid configuration. This PR backports logic introduced in later releases to check that a configuration was pulled successfully, and modifies the configuration pulling task to fail when appropriate.

Fixes Azure#5398.
@pmzara pmzara added 1.1.4 Targeted for 1.1.4 release area:sdk Issue with device sdk labels Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.1.4 Targeted for 1.1.4 release area:sdk Issue with device sdk customer-reported iotedge no-issue-activity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants