question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some downstream devices are never authenticated

See original GitHub issue

We are running a custom module that handles the communication with various downstream devices using various protocols and propagated them through iotedge. Unfortunatelly some of the downstream devices are never authenticated.

Expected Behaviour

All of the downstream devices are authenticated

Current Behaviour

Some of the devices are never authenticated

Steps to Reproduce

  1. Connect several(let’s say 20, 30 or 100, not sure if it matters) downstream devices using DeviceClient with AMQP connection
  2. Verify the logs both locally and see some exception during opening the DeviceClient
  3. Verify the logs from the edgeHub and see some warnings about null scope received and reauthenticating the device. This should be the same device as the one from the local exceptions

Context (Environment)

Output of iotedge check

√ 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 - Warning
    config.yaml has hostname imarinov-VirtualBox which does not comply with RFC 1035.
    
    - Hostname must be between 1 and 255 octets inclusive.
    - Each label in the hostname (component separated by ".") must be between 1 and 63 octets inclusive.
    - Each label must start with an ASCII alphabet character (a-z), end with an ASCII alphanumeric character (a-z, 0-9), and must contain only ASCII alphanumeric characters or hyphens (a-z, 0-9, "-").
    
    Not complying with RFC 1035 may cause errors during the TLS handshake with modules and downstream devices.
√ config.yaml has correct URIs for daemon mgmt endpoint - OK
√ latest security daemon - OK
√ host time is close to real time - OK
√ container time is close to host time - OK
β€Ό DNS server - Warning
    Container engine is not configured with DNS server setting, which may impact connectivity to IoT Hub.
    Please see https://aka.ms/iotedge-prod-checklist-dns for best practices.
    You can ignore this warning if you are setting DNS server per module in the Edge deployment.
√ production readiness: certificates - OK
√ production readiness: certificates expiry - OK
√ production readiness: container engine - OK
β€Ό production readiness: logs policy - Warning
    Container engine is not configured to rotate module logs which may cause it run out of disk space.
    Please see https://aka.ms/iotedge-prod-checklist-logs for best practices.
    You can ignore this warning if you are setting log policy per module in the Edge deployment.

Connectivity checks
-------------------
√ 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
√ Edge Hub can bind to ports on host - OK

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

Device (Host) Operating System

Ubuntu 18.04

Architecture

amd64

Container Operating System

Linux containers

Runtime Versions

iotedged

iotedge 1.0.8

Edge Agent

1.0.8.1.24554792

Edge Hub

1.0.8.1.24554792

Docker

Client:
 Version:           3.0.6
 API version:       1.40
 Go version:        go1.12.5
 Git commit:        a63faebc
 Built:             Wed Jun 19 22:56:37 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          3.0.6
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.5
  Git commit:       b07f53d
  Built:            Wed Jun 19 22:28:55 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.6
  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc:
  Version:          1.0.0-rc8
  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Logs

iotedged logs
<Paste here>
edge-agent logs
2019-09-24 10:42:07  Starting Edge Agent
2019-09-24 10:42:10.705 +00:00 Edge Agent Main()
<6> 2019-09-24 10:42:12.367 +00:00 [INF] - Initializing Edge Agent.
<6> 2019-09-24 10:42:13.906 +00:00 [INF] - Version - 1.0.8.1.24554792 (8a9cfedfc6c7455c080dcee6ee21978069024d2f)
<6> 2019-09-24 10:42:13.906 +00:00 [INF] - 
        β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
       β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•
       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
       β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ•”β•  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•
       β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
       β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•

 β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ•”β•β•β•    β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•”β•β•β•β•β•
 β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•
 β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β•šβ•β• β•šβ•β•β•β•β•β•    β•šβ•β•       β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•  β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β•

<6> 2019-09-24 10:42:14.142 +00:00 [INF] - Experimental features configuration: {"Enabled":false,"DisableCloudSubscriptions":false,"EnableUploadLogs":false}
<6> 2019-09-24 10:42:16.376 +00:00 [INF] - Started operation refresh twin config
<6> 2019-09-24 10:42:16.492 +00:00 [INF] - Edge agent attempting to connect to IoT Hub via Amqp_Tcp_Only...
<6> 2019-09-24 10:42:20.161 +00:00 [INF] - Created persistent store at /tmp/edgeAgent
<6> 2019-09-24 10:42:24.704 +00:00 [INF] - Edge agent connected to IoT Hub via Amqp_Tcp_Only.
<6> 2019-09-24 10:42:25.329 +00:00 [INF] - Initialized new module client with subscriptions enabled
<6> 2019-09-24 10:42:25.703 +00:00 [INF] - Obtained Edge agent twin from IoTHub with desired properties version 4 and reported properties version 25.
<6> 2019-09-24 10:42:26.469 +00:00 [INF] - Plan execution started for deployment 4
<6> 2019-09-24 10:42:26.496 +00:00 [INF] - Executing command: "Command Group: (\n  [Stop module edgeHub]\n  [Start module edgeHub]\n  [Saving edgeHub to store]\n)"
<6> 2019-09-24 10:42:26.520 +00:00 [INF] - Executing command: "Stop module edgeHub"
<6> 2019-09-24 10:42:26.634 +00:00 [INF] - Executing command: "Start module edgeHub"
<6> 2019-09-24 10:42:28.292 +00:00 [INF] - Executing command: "Saving edgeHub to store"
<6> 2019-09-24 10:42:28.358 +00:00 [INF] - Executing command: "Command Group: (\n  [Stop module bigs-bacnet]\n  [Start module bigs-bacnet]\n  [Saving bigs-bacnet to store]\n)"
<6> 2019-09-24 10:42:28.358 +00:00 [INF] - Executing command: "Stop module bigs-bacnet"
<6> 2019-09-24 10:42:28.376 +00:00 [INF] - Executing command: "Start module bigs-bacnet"
<6> 2019-09-24 10:42:30.206 +00:00 [INF] - Executing command: "Saving bigs-bacnet to store"
<6> 2019-09-24 10:42:30.237 +00:00 [INF] - Plan execution ended for deployment 4
<6> 2019-09-24 10:42:30.953 +00:00 [INF] - Updated reported properties
<6> 2019-09-24 10:42:36.312 +00:00 [INF] - Updated reported properties
<6> 2019-09-24 10:51:52.686 +00:00 [INF] - HealthRestartPlanner is clearing restart stats for module 'edgeHub' as it has been running healthy for 00:10:00.
<6> 2019-09-24 10:51:52.687 +00:00 [INF] - HealthRestartPlanner is clearing restart stats for module 'bigs-bacnet' as it has been running healthy for 00:10:00.
<6> 2019-09-24 10:51:52.687 +00:00 [INF] - Plan execution started for deployment 4
<6> 2019-09-24 10:51:52.688 +00:00 [INF] - Executing command: "Saving edgeHub to store"
<6> 2019-09-24 10:51:52.692 +00:00 [INF] - Executing command: "Saving bigs-bacnet to store"
<6> 2019-09-24 10:51:52.692 +00:00 [INF] - Plan execution ended for deployment 4
<6> 2019-09-24 10:51:58.042 +00:00 [INF] - Updated reported properties
edge-hub logs
2019-09-24 10:42:28  Starting Edge Hub
2019-09-24 10:42:28.514 +00:00 Edge Hub Main()
[09/24/2019 10:42:32.244 AM] Found intermediate certificates: [CN=iotedged workload ca:10/12/2019 12:54:47],[CN=imarinov-VirtualBox.ca:10/12/2019 12:54:47],[CN=Azure_IoT_Hub_Intermediate_Cert_Test_Only:10/12/2019 12:54:05],[CN=Azure_IoT_Hub_CA_Cert_Test_Only:10/12/2019 12:54:02]
<6> 2019-09-24 10:42:39.141 +00:00 [INF] - Created persistent store at /tmp/edgeHub
<6> 2019-09-24 10:42:39.437 +00:00 [INF] - Initializing Edge Hub
<6> 2019-09-24 10:42:39.441 +00:00 [INF] - 
        β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
       β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•
       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
       β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ•”β•  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•
       β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
       β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•

 β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ•”β•β•β•    β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•”β•β•β•β•β•
 β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•
 β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β•šβ•β• β•šβ•β•β•β•β•β•    β•šβ•β•       β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•  β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β•

<6> 2019-09-24 10:42:39.443 +00:00 [INF] - Version - 1.0.8.1.24554792 (8a9cfedfc6c7455c080dcee6ee21978069024d2f)
<6> 2019-09-24 10:42:39.443 +00:00 [INF] - OptimizeForPerformance=True
<6> 2019-09-24 10:42:39.458 +00:00 [INF] - Loaded server certificate with expiration date of "2019-10-12T12:54:47.0000000+00:00"
<6> 2019-09-24 10:42:39.574 +00:00 [INF] - Created new message store
<6> 2019-09-24 10:42:39.612 +00:00 [INF] - Started task to cleanup processed and stale messages
<6> 2019-09-24 10:42:39.977 +00:00 [INF] - Created DeviceConnectivityManager with connected check frequency 00:05:00 and disconnected check frequency 00:02:00
<6> 2019-09-24 10:42:41.171 +00:00 [INF] - Created device scope identities cache
<6> 2019-09-24 10:42:41.211 +00:00 [INF] - Starting refresh of device scope identities cache
<6> 2019-09-24 10:42:41.240 +00:00 [INF] - Initialized storing twin manager
<6> 2019-09-24 10:42:41.740 +00:00 [INF] - Initializing configuration
<6> 2019-09-24 10:42:41.845 +00:00 [INF] - New device connection for device boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 10:42:42.469 +00:00 [INF] - Attempting to connect to IoT Hub for client boschIoTGatewayBacnet/$edgeHub via AMQP...
<6> 2019-09-24 10:42:43.371 +00:00 [INF] - Starting periodic operation Get EdgeHub config...
<6> 2019-09-24 10:42:43.406 +00:00 [INF] - Started operation Get EdgeHub config
<6> 2019-09-24 10:42:43.408 +00:00 [INF] - Initialized edge hub configuration
<6> 2019-09-24 10:42:43.429 +00:00 [INF] - Starting timer to authenticate connections with a period of 300 seconds
<6> 2019-09-24 10:42:44.052 +00:00 [INF] - Scheduling server certificate renewal for "2019-10-12T12:52:17.0000962Z".
<6> 2019-09-24 10:42:44.055 +00:00 [INF] - Starting protocol heads - (MQTT, AMQP, HTTP)
<6> 2019-09-24 10:42:44.070 +00:00 [INF] - Starting MQTT head
<6> 2019-09-24 10:42:44.224 +00:00 [INF] - Initializing TLS endpoint on port 8883 for MQTT head.
<6> 2019-09-24 10:42:44.631 +00:00 [INF] - Starting AMQP head
<6> 2019-09-24 10:42:44.669 +00:00 [INF] - Started MQTT head
<6> 2019-09-24 10:42:45.152 +00:00 [INF] - Started AMQP head
<6> 2019-09-24 10:42:45.159 +00:00 [INF] - Starting HTTP head
<6> 2019-09-24 10:42:46.912 +00:00 [INF] - User profile is available. Using '"/home/edgehubuser/.aspnet/DataProtection-Keys"' as key repository; keys will not be encrypted at rest.
<6> 2019-09-24 10:42:47.016 +00:00 [INF] - Exiting disconnected state
<6> 2019-09-24 10:42:47.020 +00:00 [INF] - Received device connected callback
<6> 2019-09-24 10:42:47.027 +00:00 [INF] - Device connected to cloud, processing subscriptions for connected clients.
<6> 2019-09-24 10:42:47.028 +00:00 [INF] - Processing subscriptions for client boschIoTGatewayBacnet/$edgeHub.
<6> 2019-09-24 10:42:47.034 +00:00 [INF] - Cloud connection for boschIoTGatewayBacnet/$edgeHub is True
<6> 2019-09-24 10:42:47.040 +00:00 [INF] - Connection status for boschIoTGatewayBacnet/$edgeHub changed to ConnectionEstablished
<6> 2019-09-24 10:42:47.043 +00:00 [INF] - Client boschIoTGatewayBacnet/$edgeHub connected to cloud, processing existing subscriptions.
<6> 2019-09-24 10:42:47.047 +00:00 [INF] - Starting refresh of device scope identities cache
<6> 2019-09-24 10:42:47.074 +00:00 [INF] - Entering connected state
<6> 2019-09-24 10:42:47.087 +00:00 [INF] - Created cloud proxy for client boschIoTGatewayBacnet/$edgeHub via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 10:42:47.093 +00:00 [INF] - Initialized cloud proxy 08e3a8a2-abe4-47ec-bcd5-5333023fe1f5 for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 10:42:47.095 +00:00 [INF] - Created cloud connection for client boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 10:42:47.767 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 10:42:47.800 +00:00 [INF] - Obtained edge hub config from module twin
<6> 2019-09-24 10:42:47.840 +00:00 [INF] - No routes set in the edge hub
<6> 2019-09-24 10:42:47.858 +00:00 [INF] - Updated message store TTL to 7200 seconds
<6> 2019-09-24 10:42:47.861 +00:00 [INF] - Updated the edge hub store and forward configuration
<6> 2019-09-24 10:42:47.867 +00:00 [INF] - Successfully completed periodic operation Get EdgeHub config
<4> 2019-09-24 10:42:50.065 +00:00 [WRN] - Overriding address(es) '"http://+:80"'. Binding to endpoints defined in "UseKestrel()" instead.
<6> 2019-09-24 10:42:50.211 +00:00 [INF] - Started HTTP head
<6> 2019-09-24 10:42:53.114 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 10:43:02.767 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 10:43:03.058 +00:00 [INF] - Unable to authenticate client da-device-BACnet-1236 with cached service identity da-device-BACnet-1236. Resyncing service identity...
<4> 2019-09-24 10:43:03.969 +00:00 [WRN] - Received null device scope result for da-device-BACnet-1236
<6> 2019-09-24 10:43:04.049 +00:00 [INF] - Client da-device-BACnet-1236 in device scope not authenticated locally.
<6> 2019-09-24 10:43:04.112 +00:00 [INF] - Attempting to connect to IoT Hub for client da-device-BACnet-1236 via AMQP...
<6> 2019-09-24 10:43:04.320 +00:00 [INF] - New token requested by client da-device-BACnet-1236, but using existing token as it is usable.
<6> 2019-09-24 10:43:04.693 +00:00 [INF] - Cloud connection for da-device-BACnet-1236 is True
<6> 2019-09-24 10:43:04.694 +00:00 [INF] - Connection status for da-device-BACnet-1236 changed to ConnectionEstablished
<6> 2019-09-24 10:43:04.694 +00:00 [INF] - Client da-device-BACnet-1236 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 10:43:04.694 +00:00 [INF] - Created cloud proxy for client da-device-BACnet-1236 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 10:43:04.695 +00:00 [INF] - Initialized cloud proxy 9312ed5f-5a8b-49e5-abdb-4459631a6a45 for da-device-BACnet-1236
<6> 2019-09-24 10:43:04.698 +00:00 [INF] - Created cloud connection for client da-device-BACnet-1236
<6> 2019-09-24 10:43:04.710 +00:00 [INF] - New cloud connection created for device da-device-BACnet-1236
<6> 2019-09-24 10:43:04.722 +00:00 [INF] - Authenticated da-device-BACnet-1236 with IotHub
<6> 2019-09-24 10:43:04.785 +00:00 [INF] - New device connection for device da-device-BACnet-1236
<6> 2019-09-24 10:43:04.803 +00:00 [INF] - Bind device proxy for device da-device-BACnet-1236
<6> 2019-09-24 10:43:04.804 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-device-BACnet-1236
<6> 2019-09-24 10:43:04.823 +00:00 [INF] - Start listening for C2D messages for device da-device-BACnet-1236
<6> 2019-09-24 10:43:04.851 +00:00 [INF] - Opened link Events for da-device-BACnet-1236
<6> 2019-09-24 10:43:04.860 +00:00 [INF] - Opened link C2D for da-device-BACnet-1236
<6> 2019-09-24 10:43:05.107 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 10:43:05.113 +00:00 [INF] - Opened link TwinReceiving for da-device-BACnet-1236
<6> 2019-09-24 10:43:05.170 +00:00 [INF] - Opened link TwinSending for da-device-BACnet-1236
<6> 2019-09-24 10:43:05.188 +00:00 [INF] - Opened link MethodReceiving for da-device-BACnet-1236
<6> 2019-09-24 10:43:05.199 +00:00 [INF] - Opened link MethodSending for da-device-BACnet-1236
<6> 2019-09-24 10:43:10.426 +00:00 [INF] - Updated reported properties for da-device-BACnet-1236
<6> 2019-09-24 10:43:11.872 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 10:43:11.929 +00:00 [INF] - Unable to authenticate client da-device-BACnet-21789 with cached service identity da-device-BACnet-21789. Resyncing service identity...
<4> 2019-09-24 10:43:12.774 +00:00 [WRN] - Received null device scope result for da-device-BACnet-21789
<6> 2019-09-24 10:43:12.857 +00:00 [INF] - Client da-device-BACnet-21789 in device scope not authenticated locally.
<6> 2019-09-24 10:43:12.858 +00:00 [INF] - Attempting to connect to IoT Hub for client da-device-BACnet-21789 via AMQP...
<6> 2019-09-24 10:43:13.038 +00:00 [INF] - New token requested by client da-device-BACnet-21789, but using existing token as it is usable.
<6> 2019-09-24 10:43:13.404 +00:00 [INF] - Cloud connection for da-device-BACnet-21789 is True
<6> 2019-09-24 10:43:13.404 +00:00 [INF] - Connection status for da-device-BACnet-21789 changed to ConnectionEstablished
<6> 2019-09-24 10:43:13.404 +00:00 [INF] - Client da-device-BACnet-21789 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 10:43:13.404 +00:00 [INF] - Created cloud proxy for client da-device-BACnet-21789 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 10:43:13.404 +00:00 [INF] - Initialized cloud proxy 20ebd730-22b6-42f5-aacb-911458de4f53 for da-device-BACnet-21789
<6> 2019-09-24 10:43:13.404 +00:00 [INF] - Created cloud connection for client da-device-BACnet-21789
<6> 2019-09-24 10:43:13.404 +00:00 [INF] - New cloud connection created for device da-device-BACnet-21789
<6> 2019-09-24 10:43:13.404 +00:00 [INF] - Authenticated da-device-BACnet-21789 with IotHub
<6> 2019-09-24 10:43:13.404 +00:00 [INF] - New device connection for device da-device-BACnet-21789
<6> 2019-09-24 10:43:13.407 +00:00 [INF] - Bind device proxy for device da-device-BACnet-21789
<6> 2019-09-24 10:43:13.407 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-device-BACnet-21789
<6> 2019-09-24 10:43:13.407 +00:00 [INF] - Opened link C2D for da-device-BACnet-21789
<6> 2019-09-24 10:43:13.407 +00:00 [INF] - Start listening for C2D messages for device da-device-BACnet-21789
<6> 2019-09-24 10:43:13.421 +00:00 [INF] - Opened link Events for da-device-BACnet-21789
<6> 2019-09-24 10:43:13.481 +00:00 [INF] - Opened link TwinReceiving for da-device-BACnet-21789
<6> 2019-09-24 10:43:13.482 +00:00 [INF] - Opened link TwinSending for da-device-BACnet-21789
<6> 2019-09-24 10:43:13.508 +00:00 [INF] - Opened link MethodReceiving for da-device-BACnet-21789
<6> 2019-09-24 10:43:13.509 +00:00 [INF] - Opened link MethodSending for da-device-BACnet-21789
<6> 2019-09-24 10:43:13.953 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 10:43:13.977 +00:00 [INF] - Unable to authenticate client da-device-BACnet-3972691 with cached service identity da-device-BACnet-3972691. Resyncing service identity...
<4> 2019-09-24 10:43:14.805 +00:00 [WRN] - Received null device scope result for da-device-BACnet-3972691
<6> 2019-09-24 10:43:14.854 +00:00 [INF] - Client da-device-BACnet-3972691 in device scope not authenticated locally.
<6> 2019-09-24 10:43:14.854 +00:00 [INF] - Attempting to connect to IoT Hub for client da-device-BACnet-3972691 via AMQP...
<6> 2019-09-24 10:43:15.034 +00:00 [INF] - New token requested by client da-device-BACnet-3972691, but using existing token as it is usable.
<6> 2019-09-24 10:43:15.400 +00:00 [INF] - Cloud connection for da-device-BACnet-3972691 is True
<6> 2019-09-24 10:43:15.400 +00:00 [INF] - Connection status for da-device-BACnet-3972691 changed to ConnectionEstablished
<6> 2019-09-24 10:43:15.400 +00:00 [INF] - Client da-device-BACnet-3972691 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 10:43:15.400 +00:00 [INF] - Created cloud proxy for client da-device-BACnet-3972691 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 10:43:15.400 +00:00 [INF] - Initialized cloud proxy bdf453b0-6ddd-448c-908d-c0ca28a3b711 for da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.400 +00:00 [INF] - Created cloud connection for client da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.400 +00:00 [INF] - New cloud connection created for device da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.400 +00:00 [INF] - Authenticated da-device-BACnet-3972691 with IotHub
<6> 2019-09-24 10:43:15.400 +00:00 [INF] - New device connection for device da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.401 +00:00 [INF] - Bind device proxy for device da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.401 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.401 +00:00 [INF] - Opened link C2D for da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.401 +00:00 [INF] - Start listening for C2D messages for device da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.408 +00:00 [INF] - Opened link Events for da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.450 +00:00 [INF] - Opened link TwinReceiving for da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.453 +00:00 [INF] - Opened link TwinSending for da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.472 +00:00 [INF] - Opened link MethodReceiving for da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.472 +00:00 [INF] - Opened link MethodSending for da-device-BACnet-3972691
<6> 2019-09-24 10:43:15.737 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 10:43:16.030 +00:00 [INF] - Updated reported properties for da-device-BACnet-21789
<6> 2019-09-24 10:43:21.336 +00:00 [INF] - Updated reported properties for da-device-BACnet-3972691
<6> 2019-09-24 10:43:22.087 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 10:43:22.111 +00:00 [INF] - Unable to authenticate client da-device-BACnet-1294418 with cached service identity da-device-BACnet-1294418. Resyncing service identity...
<4> 2019-09-24 10:43:22.992 +00:00 [WRN] - Received null device scope result for da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.050 +00:00 [INF] - Client da-device-BACnet-1294418 in device scope not authenticated locally.
<6> 2019-09-24 10:43:23.050 +00:00 [INF] - Attempting to connect to IoT Hub for client da-device-BACnet-1294418 via AMQP...
<6> 2019-09-24 10:43:23.230 +00:00 [INF] - New token requested by client da-device-BACnet-1294418, but using existing token as it is usable.
<6> 2019-09-24 10:43:23.594 +00:00 [INF] - Cloud connection for da-device-BACnet-1294418 is True
<6> 2019-09-24 10:43:23.594 +00:00 [INF] - Connection status for da-device-BACnet-1294418 changed to ConnectionEstablished
<6> 2019-09-24 10:43:23.594 +00:00 [INF] - Client da-device-BACnet-1294418 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 10:43:23.594 +00:00 [INF] - Created cloud proxy for client da-device-BACnet-1294418 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 10:43:23.595 +00:00 [INF] - Initialized cloud proxy 0fb775eb-9590-428d-a942-3b1baf01f43d for da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.595 +00:00 [INF] - Created cloud connection for client da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.595 +00:00 [INF] - New cloud connection created for device da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.595 +00:00 [INF] - Authenticated da-device-BACnet-1294418 with IotHub
<6> 2019-09-24 10:43:23.595 +00:00 [INF] - New device connection for device da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.595 +00:00 [INF] - Bind device proxy for device da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.595 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.595 +00:00 [INF] - Opened link C2D for da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.596 +00:00 [INF] - Start listening for C2D messages for device da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.599 +00:00 [INF] - Opened link Events for da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.631 +00:00 [INF] - Opened link TwinReceiving for da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.632 +00:00 [INF] - Opened link TwinSending for da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.659 +00:00 [INF] - Opened link MethodReceiving for da-device-BACnet-1294418
<6> 2019-09-24 10:43:23.660 +00:00 [INF] - Opened link MethodSending for da-device-BACnet-1294418
<6> 2019-09-24 10:43:26.651 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 10:43:26.946 +00:00 [INF] - Updated reported properties for da-device-BACnet-1294418
<6> 2019-09-24 10:43:30.160 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 10:43:30.168 +00:00 [INF] - Unable to authenticate client da-device-BACnet-4144367 with cached service identity da-device-BACnet-4144367. Resyncing service identity...
<4> 2019-09-24 10:43:30.939 +00:00 [WRN] - Received null device scope result for da-device-BACnet-4144367
<6> 2019-09-24 10:43:30.958 +00:00 [INF] - Client da-device-BACnet-4144367 in device scope not authenticated locally.
<6> 2019-09-24 10:43:30.958 +00:00 [INF] - Attempting to connect to IoT Hub for client da-device-BACnet-4144367 via AMQP...
<6> 2019-09-24 10:43:31.138 +00:00 [INF] - New token requested by client da-device-BACnet-4144367, but using existing token as it is usable.
<6> 2019-09-24 10:43:31.504 +00:00 [INF] - Cloud connection for da-device-BACnet-4144367 is True
<6> 2019-09-24 10:43:31.504 +00:00 [INF] - Connection status for da-device-BACnet-4144367 changed to ConnectionEstablished
<6> 2019-09-24 10:43:31.504 +00:00 [INF] - Client da-device-BACnet-4144367 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 10:43:31.504 +00:00 [INF] - Created cloud proxy for client da-device-BACnet-4144367 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 10:43:31.504 +00:00 [INF] - Initialized cloud proxy 97381aa9-5f86-4dc7-a42d-1ac35b9df763 for da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.504 +00:00 [INF] - Created cloud connection for client da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.505 +00:00 [INF] - New cloud connection created for device da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.505 +00:00 [INF] - Authenticated da-device-BACnet-4144367 with IotHub
<6> 2019-09-24 10:43:31.505 +00:00 [INF] - New device connection for device da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.505 +00:00 [INF] - Bind device proxy for device da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.505 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.505 +00:00 [INF] - Opened link Events for da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.506 +00:00 [INF] - Opened link C2D for da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.506 +00:00 [INF] - Start listening for C2D messages for device da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.521 +00:00 [INF] - Opened link TwinReceiving for da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.521 +00:00 [INF] - Opened link TwinSending for da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.537 +00:00 [INF] - Opened link MethodReceiving for da-device-BACnet-4144367
<6> 2019-09-24 10:43:31.538 +00:00 [INF] - Opened link MethodSending for da-device-BACnet-4144367
<6> 2019-09-24 10:43:32.250 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 10:43:32.549 +00:00 [INF] - Updated reported properties for da-device-BACnet-4144367
<6> 2019-09-24 10:47:43.439 +00:00 [INF] - Reauthenticating connected clients
<6> 2019-09-24 10:47:43.450 +00:00 [INF] - Unable to authenticate client da-device-BACnet-1236 with cached service identity da-device-BACnet-1236. Resyncing service identity...
<4> 2019-09-24 10:47:44.259 +00:00 [WRN] - Received null device scope result for da-device-BACnet-1236
<6> 2019-09-24 10:47:44.284 +00:00 [INF] - Unable to authenticate client da-device-BACnet-4144367 with cached service identity da-device-BACnet-4144367. Resyncing service identity...
<4> 2019-09-24 10:47:45.051 +00:00 [WRN] - Received null device scope result for da-device-BACnet-4144367
<6> 2019-09-24 10:47:45.071 +00:00 [INF] - Unable to authenticate client da-device-BACnet-3972691 with cached service identity da-device-BACnet-3972691. Resyncing service identity...
<4> 2019-09-24 10:47:45.856 +00:00 [WRN] - Received null device scope result for da-device-BACnet-3972691
<6> 2019-09-24 10:47:45.874 +00:00 [INF] - Unable to authenticate client da-device-BACnet-1294418 with cached service identity da-device-BACnet-1294418. Resyncing service identity...
<4> 2019-09-24 10:47:46.643 +00:00 [WRN] - Received null device scope result for da-device-BACnet-1294418
<6> 2019-09-24 10:47:46.662 +00:00 [INF] - Unable to authenticate client da-device-BACnet-21789 with cached service identity da-device-BACnet-21789. Resyncing service identity...
<4> 2019-09-24 10:47:47.429 +00:00 [WRN] - Received null device scope result for da-device-BACnet-21789

Additional Information

The same happens on raspberry with raspbian stretch. After researching for similar issues and logs, I found out this one and this one both of them suggest using AuthenticationMode: Cloud, and according to the later one this should be fixed in 1.0.6. Perhaps I’m seeing something similar, but setting AuthenticationMode: Cloud really resolved my issue. The most important part and proof for me is the fact that after setting the Cloud authentication mode all of the devices had all of their properties available in the deviceTwin and there are no errors in the local logs from the Device Client.

Here are the edgeHub logs after setting AuthenticationMode:Cloud

edge-hub logs
2019-09-24 11:03:00  Starting Edge Hub
2019-09-24 11:03:00.471 +00:00 Edge Hub Main()
[09/24/2019 11:03:01.536 AM] Found intermediate certificates: [CN=iotedged workload ca:10/12/2019 12:54:47],[CN=imarinov-VirtualBox.ca:10/12/2019 12:54:47],[CN=Azure_IoT_Hub_Intermediate_Cert_Test_Only:10/12/2019 12:54:05],[CN=Azure_IoT_Hub_CA_Cert_Test_Only:10/12/2019 12:54:02]
<6> 2019-09-24 11:03:02.186 +00:00 [INF] - Initializing Edge Hub
<6> 2019-09-24 11:03:02.212 +00:00 [INF] - 
        β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
       β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•
       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
       β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ•”β•  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•
       β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
       β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•

 β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ•”β•β•β•    β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•”β•β•β•β•β•
 β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•
 β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β•šβ•β• β•šβ•β•β•β•β•β•    β•šβ•β•       β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•  β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β•

<6> 2019-09-24 11:03:02.213 +00:00 [INF] - Version - 1.0.8.1.24554792 (8a9cfedfc6c7455c080dcee6ee21978069024d2f)
<6> 2019-09-24 11:03:02.213 +00:00 [INF] - OptimizeForPerformance=True
<6> 2019-09-24 11:03:02.216 +00:00 [INF] - Loaded server certificate with expiration date of "2019-10-12T12:54:47.0000000+00:00"
<6> 2019-09-24 11:03:02.605 +00:00 [INF] - Created persistent store at /tmp/edgeHub
<6> 2019-09-24 11:03:02.624 +00:00 [INF] - Started task to cleanup processed and stale messages
<6> 2019-09-24 11:03:02.626 +00:00 [INF] - Created new message store
<6> 2019-09-24 11:03:02.730 +00:00 [INF] - Created DeviceConnectivityManager with connected check frequency 00:05:00 and disconnected check frequency 00:02:00
<6> 2019-09-24 11:03:02.821 +00:00 [INF] - Initialized storing twin manager
<6> 2019-09-24 11:03:02.838 +00:00 [INF] - Initializing configuration
<6> 2019-09-24 11:03:02.862 +00:00 [INF] - New device connection for device boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 11:03:03.103 +00:00 [INF] - Attempting to connect to IoT Hub for client boschIoTGatewayBacnet/$edgeHub via AMQP...
<6> 2019-09-24 11:03:03.196 +00:00 [INF] - Starting periodic operation Get EdgeHub config...
<6> 2019-09-24 11:03:03.254 +00:00 [INF] - Started operation Get EdgeHub config
<6> 2019-09-24 11:03:03.255 +00:00 [INF] - Initialized edge hub configuration
<6> 2019-09-24 11:03:03.583 +00:00 [INF] - Scheduling server certificate renewal for "2019-10-12T12:52:17.0001502Z".
<6> 2019-09-24 11:03:03.586 +00:00 [INF] - Starting protocol heads - (MQTT, AMQP, HTTP)
<6> 2019-09-24 11:03:03.591 +00:00 [INF] - Starting MQTT head
<6> 2019-09-24 11:03:03.634 +00:00 [INF] - Initializing TLS endpoint on port 8883 for MQTT head.
<6> 2019-09-24 11:03:03.706 +00:00 [INF] - Starting AMQP head
<6> 2019-09-24 11:03:03.725 +00:00 [INF] - Started MQTT head
<6> 2019-09-24 11:03:03.809 +00:00 [INF] - Started AMQP head
<6> 2019-09-24 11:03:03.817 +00:00 [INF] - Starting HTTP head
<6> 2019-09-24 11:03:03.978 +00:00 [INF] - User profile is available. Using '"/home/edgehubuser/.aspnet/DataProtection-Keys"' as key repository; keys will not be encrypted at rest.
<6> 2019-09-24 11:03:04.007 +00:00 [INF] - Creating key {b5b0e99d-ab88-4851-b253-6a8c812fd46d} with creation date 2019-09-24 11:03:04Z, activation date 2019-09-24 11:03:03Z, and expiration date 2019-12-23 11:03:03Z.
<4> 2019-09-24 11:03:04.020 +00:00 [WRN] - No XML encryptor configured. Key {b5b0e99d-ab88-4851-b253-6a8c812fd46d} may be persisted to storage in unencrypted form.
<6> 2019-09-24 11:03:04.025 +00:00 [INF] - Writing data to file '"/home/edgehubuser/.aspnet/DataProtection-Keys/key-b5b0e99d-ab88-4851-b253-6a8c812fd46d.xml"'.
<4> 2019-09-24 11:03:04.390 +00:00 [WRN] - Overriding address(es) '"http://+:80"'. Binding to endpoints defined in "UseKestrel()" instead.
<6> 2019-09-24 11:03:04.415 +00:00 [INF] - Started HTTP head
<6> 2019-09-24 11:03:06.437 +00:00 [INF] - Exiting disconnected state
<6> 2019-09-24 11:03:06.441 +00:00 [INF] - Received device connected callback
<6> 2019-09-24 11:03:06.466 +00:00 [INF] - Device connected to cloud, processing subscriptions for connected clients.
<6> 2019-09-24 11:03:06.467 +00:00 [INF] - Processing subscriptions for client boschIoTGatewayBacnet/$edgeHub.
<6> 2019-09-24 11:03:06.473 +00:00 [INF] - Cloud connection for boschIoTGatewayBacnet/$edgeHub is True
<6> 2019-09-24 11:03:06.479 +00:00 [INF] - Connection status for boschIoTGatewayBacnet/$edgeHub changed to ConnectionEstablished
<6> 2019-09-24 11:03:06.482 +00:00 [INF] - Client boschIoTGatewayBacnet/$edgeHub connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:03:06.494 +00:00 [INF] - Entering connected state
<6> 2019-09-24 11:03:06.499 +00:00 [INF] - Created cloud proxy for client boschIoTGatewayBacnet/$edgeHub via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:03:06.505 +00:00 [INF] - Initialized cloud proxy 28471284-393d-4f36-8a45-0028faad94af for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 11:03:06.507 +00:00 [INF] - Created cloud connection for client boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 11:03:07.394 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 11:03:07.439 +00:00 [INF] - Obtained edge hub config from module twin
<6> 2019-09-24 11:03:07.451 +00:00 [INF] - No routes set in the edge hub
<6> 2019-09-24 11:03:07.452 +00:00 [INF] - Updated message store TTL to 7200 seconds
<6> 2019-09-24 11:03:07.453 +00:00 [INF] - Updated the edge hub store and forward configuration
<6> 2019-09-24 11:03:07.454 +00:00 [INF] - Successfully completed periodic operation Get EdgeHub config
<6> 2019-09-24 11:03:08.121 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 11:05:26.506 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:26.617 +00:00 [INF] - Attempting to connect to IoT Hub for client da-device-BACnet-1002 via AMQP...
<6> 2019-09-24 11:05:26.814 +00:00 [INF] - New token requested by client da-device-BACnet-1002, but using existing token as it is usable.
<6> 2019-09-24 11:05:27.181 +00:00 [INF] - Cloud connection for da-device-BACnet-1002 is True
<6> 2019-09-24 11:05:27.181 +00:00 [INF] - Connection status for da-device-BACnet-1002 changed to ConnectionEstablished
<6> 2019-09-24 11:05:27.181 +00:00 [INF] - Client da-device-BACnet-1002 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:27.182 +00:00 [INF] - Created cloud proxy for client da-device-BACnet-1002 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:27.183 +00:00 [INF] - Initialized cloud proxy 8b23c7e0-5e41-4872-bab5-6a41775812e7 for da-device-BACnet-1002
<6> 2019-09-24 11:05:27.185 +00:00 [INF] - Created cloud connection for client da-device-BACnet-1002
<6> 2019-09-24 11:05:27.194 +00:00 [INF] - New cloud connection created for device da-device-BACnet-1002
<6> 2019-09-24 11:05:27.196 +00:00 [INF] - Authenticated da-device-BACnet-1002 with IotHub
<6> 2019-09-24 11:05:27.267 +00:00 [INF] - New device connection for device da-device-BACnet-1002
<6> 2019-09-24 11:05:27.292 +00:00 [INF] - Bind device proxy for device da-device-BACnet-1002
<6> 2019-09-24 11:05:27.297 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-device-BACnet-1002
<6> 2019-09-24 11:05:27.313 +00:00 [INF] - Opened link Events for da-device-BACnet-1002
<6> 2019-09-24 11:05:27.333 +00:00 [INF] - Opened link C2D for da-device-BACnet-1002
<6> 2019-09-24 11:05:27.350 +00:00 [INF] - Start listening for C2D messages for device da-device-BACnet-1002
<6> 2019-09-24 11:05:27.512 +00:00 [INF] - Opened link TwinReceiving for da-device-BACnet-1002
<6> 2019-09-24 11:05:27.519 +00:00 [INF] - Opened link TwinSending for da-device-BACnet-1002
<6> 2019-09-24 11:05:27.526 +00:00 [INF] - Opened link MethodReceiving for da-device-BACnet-1002
<6> 2019-09-24 11:05:27.532 +00:00 [INF] - Opened link MethodSending for da-device-BACnet-1002
<6> 2019-09-24 11:05:27.619 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 11:05:27.775 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:27.786 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1002-analog-input_0 via AMQP...
<6> 2019-09-24 11:05:27.987 +00:00 [INF] - New token requested by client da-item-BACnet-1002-analog-input_0, but using existing token as it is usable.
<6> 2019-09-24 11:05:28.354 +00:00 [INF] - Cloud connection for da-item-BACnet-1002-analog-input_0 is True
<6> 2019-09-24 11:05:28.354 +00:00 [INF] - Connection status for da-item-BACnet-1002-analog-input_0 changed to ConnectionEstablished
<6> 2019-09-24 11:05:28.354 +00:00 [INF] - Client da-item-BACnet-1002-analog-input_0 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:28.354 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1002-analog-input_0 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:28.354 +00:00 [INF] - Initialized cloud proxy e1eafbdb-9b14-465b-b414-e7c1528108e1 for da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.354 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.354 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.355 +00:00 [INF] - Authenticated da-item-BACnet-1002-analog-input_0 with IotHub
<6> 2019-09-24 11:05:28.355 +00:00 [INF] - New device connection for device da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.356 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.356 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.356 +00:00 [INF] - Opened link Events for da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.358 +00:00 [INF] - Opened link C2D for da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.359 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.376 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.376 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.390 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.391 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:28.639 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:28.658 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1002-binary-output_8 via AMQP...
<6> 2019-09-24 11:05:28.839 +00:00 [INF] - New token requested by client da-item-BACnet-1002-binary-output_8, but using existing token as it is usable.
<6> 2019-09-24 11:05:29.206 +00:00 [INF] - Cloud connection for da-item-BACnet-1002-binary-output_8 is True
<6> 2019-09-24 11:05:29.206 +00:00 [INF] - Connection status for da-item-BACnet-1002-binary-output_8 changed to ConnectionEstablished
<6> 2019-09-24 11:05:29.206 +00:00 [INF] - Client da-item-BACnet-1002-binary-output_8 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:29.206 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1002-binary-output_8 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:29.206 +00:00 [INF] - Initialized cloud proxy 21baaf34-fa14-4fa6-a756-932cc2ceba50 for da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.206 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.206 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.206 +00:00 [INF] - Authenticated da-item-BACnet-1002-binary-output_8 with IotHub
<6> 2019-09-24 11:05:29.206 +00:00 [INF] - New device connection for device da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.207 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.207 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.207 +00:00 [INF] - Opened link Events for da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.228 +00:00 [INF] - Opened link C2D for da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.230 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.262 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.264 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.283 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.284 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:29.517 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:29.526 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1002-binary-input_4 via AMQP...
<6> 2019-09-24 11:05:29.708 +00:00 [INF] - New token requested by client da-item-BACnet-1002-binary-input_4, but using existing token as it is usable.
<6> 2019-09-24 11:05:32.223 +00:00 [INF] - Cloud connection for da-item-BACnet-1002-binary-input_4 is True
<6> 2019-09-24 11:05:32.223 +00:00 [INF] - Connection status for da-item-BACnet-1002-binary-input_4 changed to ConnectionEstablished
<6> 2019-09-24 11:05:32.223 +00:00 [INF] - Client da-item-BACnet-1002-binary-input_4 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:32.223 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1002-binary-input_4 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:32.223 +00:00 [INF] - Initialized cloud proxy f80b2b5a-7ef7-4f8c-b847-005b1ed8fabb for da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.223 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.224 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.224 +00:00 [INF] - Authenticated da-item-BACnet-1002-binary-input_4 with IotHub
<6> 2019-09-24 11:05:32.224 +00:00 [INF] - New device connection for device da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.224 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.225 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.225 +00:00 [INF] - Opened link C2D for da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.232 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.246 +00:00 [INF] - Opened link Events for da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.277 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.279 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.297 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.298 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:32.530 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:32.542 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1002-binary-output_7 via AMQP...
<6> 2019-09-24 11:05:32.733 +00:00 [INF] - New token requested by client da-item-BACnet-1002-binary-output_7, but using existing token as it is usable.
<6> 2019-09-24 11:05:32.927 +00:00 [INF] - Updated reported properties for da-device-BACnet-1002
<6> 2019-09-24 11:05:33.100 +00:00 [INF] - Cloud connection for da-item-BACnet-1002-binary-output_7 is True
<6> 2019-09-24 11:05:33.100 +00:00 [INF] - Connection status for da-item-BACnet-1002-binary-output_7 changed to ConnectionEstablished
<6> 2019-09-24 11:05:33.100 +00:00 [INF] - Client da-item-BACnet-1002-binary-output_7 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:33.100 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1002-binary-output_7 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:33.100 +00:00 [INF] - Initialized cloud proxy 66928eee-6c61-40a7-a836-bd66781ac342 for da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.100 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.100 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.101 +00:00 [INF] - Authenticated da-item-BACnet-1002-binary-output_7 with IotHub
<6> 2019-09-24 11:05:33.101 +00:00 [INF] - New device connection for device da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.114 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.114 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.115 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.117 +00:00 [INF] - Opened link C2D for da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.119 +00:00 [INF] - Opened link Events for da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.176 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.181 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.214 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.220 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:33.226 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 11:05:33.604 +00:00 [INF] - Updated reported properties for da-item-BACnet-1002-analog-input_0
<6> 2019-09-24 11:05:33.901 +00:00 [INF] - Updated reported properties for da-item-BACnet-1002-binary-output_8
<6> 2019-09-24 11:05:36.051 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:36.061 +00:00 [INF] - Attempting to connect to IoT Hub for client da-device-BACnet-1001 via AMQP...
<6> 2019-09-24 11:05:37.006 +00:00 [INF] - New token requested by client da-device-BACnet-1001, but using existing token as it is usable.
<6> 2019-09-24 11:05:37.732 +00:00 [INF] - Cloud connection for da-device-BACnet-1001 is True
<6> 2019-09-24 11:05:37.733 +00:00 [INF] - Connection status for da-device-BACnet-1001 changed to ConnectionEstablished
<6> 2019-09-24 11:05:37.733 +00:00 [INF] - Client da-device-BACnet-1001 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:37.733 +00:00 [INF] - Created cloud proxy for client da-device-BACnet-1001 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:37.733 +00:00 [INF] - Initialized cloud proxy 6d34d9d2-f351-4389-a298-190c4a8657b3 for da-device-BACnet-1001
<6> 2019-09-24 11:05:37.733 +00:00 [INF] - Created cloud connection for client da-device-BACnet-1001
<6> 2019-09-24 11:05:37.733 +00:00 [INF] - New cloud connection created for device da-device-BACnet-1001
<6> 2019-09-24 11:05:37.733 +00:00 [INF] - Authenticated da-device-BACnet-1001 with IotHub
<6> 2019-09-24 11:05:37.736 +00:00 [INF] - New device connection for device da-device-BACnet-1001
<6> 2019-09-24 11:05:37.736 +00:00 [INF] - Bind device proxy for device da-device-BACnet-1001
<6> 2019-09-24 11:05:37.736 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-device-BACnet-1001
<6> 2019-09-24 11:05:37.736 +00:00 [INF] - Opened link Events for da-device-BACnet-1001
<6> 2019-09-24 11:05:37.738 +00:00 [INF] - Opened link C2D for da-device-BACnet-1001
<6> 2019-09-24 11:05:37.741 +00:00 [INF] - Start listening for C2D messages for device da-device-BACnet-1001
<6> 2019-09-24 11:05:37.751 +00:00 [INF] - Opened link TwinReceiving for da-device-BACnet-1001
<6> 2019-09-24 11:05:37.752 +00:00 [INF] - Opened link TwinSending for da-device-BACnet-1001
<6> 2019-09-24 11:05:37.760 +00:00 [INF] - Opened link MethodReceiving for da-device-BACnet-1001
<6> 2019-09-24 11:05:37.761 +00:00 [INF] - Opened link MethodSending for da-device-BACnet-1001
<6> 2019-09-24 11:05:37.976 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:37.980 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-input_0 via AMQP...
<6> 2019-09-24 11:05:38.273 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-input_0, but using existing token as it is usable.
<6> 2019-09-24 11:05:38.647 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-input_0 is True
<6> 2019-09-24 11:05:38.648 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-input_0 changed to ConnectionEstablished
<6> 2019-09-24 11:05:38.648 +00:00 [INF] - Client da-item-BACnet-1001-analog-input_0 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:38.648 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-input_0 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:38.648 +00:00 [INF] - Initialized cloud proxy 21ab2944-4ff4-400a-a200-3816b4c0257c for da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.648 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.648 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.648 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-input_0 with IotHub
<6> 2019-09-24 11:05:38.649 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.649 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.649 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.649 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.649 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.651 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.669 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.671 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.684 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.684 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:38.952 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:38.960 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-input_1 via AMQP...
<6> 2019-09-24 11:05:39.140 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-input_1, but using existing token as it is usable.
<6> 2019-09-24 11:05:39.217 +00:00 [INF] - Updated reported properties for da-item-BACnet-1002-binary-input_4
<6> 2019-09-24 11:05:39.506 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-input_1 is True
<6> 2019-09-24 11:05:39.506 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-input_1 changed to ConnectionEstablished
<6> 2019-09-24 11:05:39.506 +00:00 [INF] - Client da-item-BACnet-1001-analog-input_1 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:39.506 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-input_1 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:39.506 +00:00 [INF] - Initialized cloud proxy 4924af50-b0c9-4ae6-a730-a1cde9234e6a for da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.506 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.507 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.507 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-input_1 with IotHub
<6> 2019-09-24 11:05:39.507 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.509 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.509 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.509 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.510 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.512 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.522 +00:00 [INF] - Updated reported properties for da-device-BACnet-1002
<6> 2019-09-24 11:05:39.526 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.527 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.531 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.531 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:39.775 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:39.779 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-input_2 via AMQP...
<6> 2019-09-24 11:05:39.822 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 11:05:39.960 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-input_2, but using existing token as it is usable.
<6> 2019-09-24 11:05:40.120 +00:00 [INF] - Updated reported properties for da-item-BACnet-1002-binary-output_7
<6> 2019-09-24 11:05:40.325 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-input_2 is True
<6> 2019-09-24 11:05:40.325 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-input_2 changed to ConnectionEstablished
<6> 2019-09-24 11:05:40.325 +00:00 [INF] - Client da-item-BACnet-1001-analog-input_2 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:40.325 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-input_2 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:40.326 +00:00 [INF] - Initialized cloud proxy d688bfc5-9e46-4dc7-a626-0caadaa8696d for da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.326 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.326 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.326 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-input_2 with IotHub
<6> 2019-09-24 11:05:40.326 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.326 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.326 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.326 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.327 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.328 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.342 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.342 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.356 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.356 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-input_2
<6> 2019-09-24 11:05:40.422 +00:00 [INF] - Updated reported properties for da-device-BACnet-1001
<6> 2019-09-24 11:05:40.649 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:40.655 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-input_3 via AMQP...
<6> 2019-09-24 11:05:42.487 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-input_3, but using existing token as it is usable.
<6> 2019-09-24 11:05:43.396 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-input_3 is True
<6> 2019-09-24 11:05:43.396 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-input_3 changed to ConnectionEstablished
<6> 2019-09-24 11:05:43.396 +00:00 [INF] - Client da-item-BACnet-1001-analog-input_3 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:43.396 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-input_3 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:43.396 +00:00 [INF] - Initialized cloud proxy 36df98a7-2d24-4c47-90ec-659bcf2626f1 for da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.396 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.398 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.398 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-input_3 with IotHub
<6> 2019-09-24 11:05:43.399 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.400 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.400 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.400 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.400 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.422 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.439 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.440 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.454 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.455 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-input_3
<6> 2019-09-24 11:05:43.687 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:43.693 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-output_0 via AMQP...
<6> 2019-09-24 11:05:44.065 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-output_0, but using existing token as it is usable.
<6> 2019-09-24 11:05:44.430 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-output_0 is True
<6> 2019-09-24 11:05:44.430 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-output_0 changed to ConnectionEstablished
<6> 2019-09-24 11:05:44.430 +00:00 [INF] - Client da-item-BACnet-1001-analog-output_0 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:44.430 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-output_0 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:44.430 +00:00 [INF] - Initialized cloud proxy f1d34067-b576-452e-9523-34dca67f6172 for da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.430 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.431 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.431 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-output_0 with IotHub
<6> 2019-09-24 11:05:44.431 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.432 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.432 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.432 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.432 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.438 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.469 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.472 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.489 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.490 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-output_0
<6> 2019-09-24 11:05:44.753 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:44.768 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-output_1 via AMQP...
<6> 2019-09-24 11:05:44.949 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-output_1, but using existing token as it is usable.
<6> 2019-09-24 11:05:45.317 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-output_1 is True
<6> 2019-09-24 11:05:45.318 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-output_1 changed to ConnectionEstablished
<6> 2019-09-24 11:05:45.318 +00:00 [INF] - Client da-item-BACnet-1001-analog-output_1 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:45.318 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-output_1 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:45.318 +00:00 [INF] - Initialized cloud proxy b910f8dc-7876-4486-a0c4-c45fe457cd48 for da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.318 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.319 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.319 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-output_1 with IotHub
<6> 2019-09-24 11:05:45.320 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.325 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.325 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.325 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.327 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.328 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.351 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.353 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.366 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.367 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-output_1
<6> 2019-09-24 11:05:45.603 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:45.608 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-output_2 via AMQP...
<6> 2019-09-24 11:05:45.728 +00:00 [INF] - Updated reported properties for da-item-BACnet-1001-analog-input_0
<6> 2019-09-24 11:05:45.800 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-output_2, but using existing token as it is usable.
<6> 2019-09-24 11:05:46.039 +00:00 [INF] - Updated reported properties for boschIoTGatewayBacnet/$edgeHub
<6> 2019-09-24 11:05:46.164 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-output_2 is True
<6> 2019-09-24 11:05:46.164 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-output_2 changed to ConnectionEstablished
<6> 2019-09-24 11:05:46.164 +00:00 [INF] - Client da-item-BACnet-1001-analog-output_2 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:46.164 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-output_2 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:46.164 +00:00 [INF] - Initialized cloud proxy 9541645e-4b58-4ad4-a376-5d6abee66c52 for da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.164 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.165 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.165 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-output_2 with IotHub
<6> 2019-09-24 11:05:46.165 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.165 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.165 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.165 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.166 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.167 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.193 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.194 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.207 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.207 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-output_2
<6> 2019-09-24 11:05:46.349 +00:00 [INF] - Updated reported properties for da-item-BACnet-1001-analog-input_1
<6> 2019-09-24 11:05:46.441 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:46.451 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-input_0 via AMQP...
<4> 2019-09-24 11:05:46.592 +00:00 [WRN] - Error getting twin for da-item-BACnet-1001-analog-output_2
System.InvalidOperationException: operation: attach, state: End
   at Microsoft.Azure.Devices.Client.Transport.Amqp.AmqpTransportHandler.SendTwinGetAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Devices.Client.Transport.ErrorDelegatingHandler.ExecuteWithErrorHandlingAsync[T](Func`1 asyncOperation)
   at Microsoft.Azure.Devices.Client.Transport.RetryDelegatingHandler.<>c__DisplayClass24_0.<<SendTwinGetAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Devices.Client.Transport.RetryDelegatingHandler.SendTwinGetAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Devices.Client.InternalClient.GetTwinAsync()
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient.InvokeFunc[T](Func`1 func, String operation, Boolean useForConnectivityCheck)
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient.InvokeFunc[T](Func`1 func, String operation, Boolean useForConnectivityCheck) in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/ConnectivityAwareClient.cs:line 162
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy.GetTwinAsync() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/CloudProxy.cs:line 112
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy.GetTwinAsync() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/CloudProxy.cs:line 121
   at Microsoft.Azure.Devices.Edge.Hub.Core.Cloud.RetryingCloudProxy.ExecuteOperation[T](Func`2 func, String operation)
   at Microsoft.Azure.Devices.Edge.Hub.Core.Twin.CloudSync.<>c__DisplayClass4_0.<<GetTwin>b__0>d.MoveNext() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/twin/CloudSync.cs:line 36
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Devices.Edge.Hub.Core.Twin.CloudSync.GetTwin(String id) in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/twin/CloudSync.cs:line 33
<6> 2019-09-24 11:05:48.085 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-input_0, but using existing token as it is usable.
<6> 2019-09-24 11:05:48.864 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-input_0 is True
<6> 2019-09-24 11:05:48.865 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-input_0 changed to ConnectionEstablished
<6> 2019-09-24 11:05:48.865 +00:00 [INF] - Client da-item-BACnet-1001-binary-input_0 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:48.865 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-input_0 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:48.865 +00:00 [INF] - Initialized cloud proxy 51374d8d-1c74-49e0-8b67-a1be03b0d73a for da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.865 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.865 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.865 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-input_0 with IotHub
<6> 2019-09-24 11:05:48.865 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.866 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.866 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.866 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.867 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.867 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.893 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.893 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.905 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:48.905 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-input_0
<6> 2019-09-24 11:05:49.126 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:49.133 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-input_1 via AMQP...
<6> 2019-09-24 11:05:49.900 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-input_1, but using existing token as it is usable.
<6> 2019-09-24 11:05:50.264 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-input_1 is True
<6> 2019-09-24 11:05:50.265 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-input_1 changed to ConnectionEstablished
<6> 2019-09-24 11:05:50.265 +00:00 [INF] - Client da-item-BACnet-1001-binary-input_1 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:50.265 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-input_1 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:50.265 +00:00 [INF] - Initialized cloud proxy e22d4958-3190-482e-910a-f934a531b89c for da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.265 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.266 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.266 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-input_1 with IotHub
<6> 2019-09-24 11:05:50.266 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.267 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.268 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.268 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.269 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.269 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.289 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.290 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.303 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.304 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-input_1
<6> 2019-09-24 11:05:50.528 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:50.532 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-input_2 via AMQP...
<6> 2019-09-24 11:05:50.713 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-input_2, but using existing token as it is usable.
<6> 2019-09-24 11:05:51.080 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-input_2 is True
<6> 2019-09-24 11:05:51.080 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-input_2 changed to ConnectionEstablished
<6> 2019-09-24 11:05:51.080 +00:00 [INF] - Client da-item-BACnet-1001-binary-input_2 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:51.080 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-input_2 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:51.080 +00:00 [INF] - Initialized cloud proxy 13c1c59c-116f-4dda-8b22-00d3f6678bd0 for da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.081 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.081 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.081 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-input_2 with IotHub
<6> 2019-09-24 11:05:51.081 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.081 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.082 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.082 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.082 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.085 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.109 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.110 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.123 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.124 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-input_2
<6> 2019-09-24 11:05:51.391 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:51.399 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-input_3 via AMQP...
<6> 2019-09-24 11:05:51.580 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-input_3, but using existing token as it is usable.
<6> 2019-09-24 11:05:51.946 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-input_3 is True
<6> 2019-09-24 11:05:51.946 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-input_3 changed to ConnectionEstablished
<6> 2019-09-24 11:05:51.946 +00:00 [INF] - Client da-item-BACnet-1001-binary-input_3 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:51.946 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-input_3 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:51.946 +00:00 [INF] - Initialized cloud proxy 8ff0b9bb-e10a-460c-8cd5-46d4ea90b715 for da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.946 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.946 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.946 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-input_3 with IotHub
<6> 2019-09-24 11:05:51.947 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.947 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.947 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.947 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.948 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.948 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.963 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.963 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.971 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:51.972 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-input_3
<6> 2019-09-24 11:05:52.200 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:52.208 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-input_4 via AMQP...
<6> 2019-09-24 11:05:52.388 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-input_4, but using existing token as it is usable.
<6> 2019-09-24 11:05:55.234 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-input_4 is True
<6> 2019-09-24 11:05:55.234 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-input_4 changed to ConnectionEstablished
<6> 2019-09-24 11:05:55.234 +00:00 [INF] - Client da-item-BACnet-1001-binary-input_4 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:55.234 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-input_4 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:55.234 +00:00 [INF] - Initialized cloud proxy b9b1ad83-3625-476a-9020-315e2568d44e for da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.235 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.235 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.235 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-input_4 with IotHub
<6> 2019-09-24 11:05:55.235 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.235 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.236 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.236 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.238 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.240 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.262 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.263 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.267 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.267 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-input_4
<6> 2019-09-24 11:05:55.486 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:55.492 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-value_9 via AMQP...
<6> 2019-09-24 11:05:56.336 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-value_9, but using existing token as it is usable.
<6> 2019-09-24 11:05:56.703 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-value_9 is True
<6> 2019-09-24 11:05:56.703 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-value_9 changed to ConnectionEstablished
<6> 2019-09-24 11:05:56.703 +00:00 [INF] - Client da-item-BACnet-1001-binary-value_9 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:56.703 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-value_9 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:56.704 +00:00 [INF] - Initialized cloud proxy 9d84e241-9c70-405e-b078-246ba7246ef2 for da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.704 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.704 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.704 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-value_9 with IotHub
<6> 2019-09-24 11:05:56.704 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.704 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.704 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.705 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.706 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.706 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.721 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.722 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.740 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.740 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-value_9
<6> 2019-09-24 11:05:56.964 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:56.969 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-value_7 via AMQP...
<6> 2019-09-24 11:05:57.149 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-value_7, but using existing token as it is usable.
<6> 2019-09-24 11:05:57.514 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-value_7 is True
<6> 2019-09-24 11:05:57.515 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-value_7 changed to ConnectionEstablished
<6> 2019-09-24 11:05:57.515 +00:00 [INF] - Client da-item-BACnet-1001-binary-value_7 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:57.515 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-value_7 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:57.515 +00:00 [INF] - Initialized cloud proxy a9f56308-2b98-4a84-8a65-11386505f471 for da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.515 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.515 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.515 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-value_7 with IotHub
<6> 2019-09-24 11:05:57.515 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.516 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.516 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.516 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.517 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.518 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.541 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.541 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.555 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.556 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-value_7
<6> 2019-09-24 11:05:57.773 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:57.779 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-value_3 via AMQP...
<6> 2019-09-24 11:05:57.960 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-value_3, but using existing token as it is usable.
<6> 2019-09-24 11:05:58.327 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-value_3 is True
<6> 2019-09-24 11:05:58.327 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-value_3 changed to ConnectionEstablished
<6> 2019-09-24 11:05:58.327 +00:00 [INF] - Client da-item-BACnet-1001-binary-value_3 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:05:58.327 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-value_3 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:05:58.327 +00:00 [INF] - Initialized cloud proxy 7136409e-dd28-49bf-9a95-e35c3b9ebf9d for da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.327 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.327 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.327 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-value_3 with IotHub
<6> 2019-09-24 11:05:58.328 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.328 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.328 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.328 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.330 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.330 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.355 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.355 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.360 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.360 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-value_3
<6> 2019-09-24 11:05:58.580 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:05:58.586 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-value_6 via AMQP...
<4> 2019-09-24 11:05:58.666 +00:00 [WRN] - Error getting twin for da-item-BACnet-1001-binary-value_3
System.InvalidOperationException: operation: attach, state: End
   at Microsoft.Azure.Devices.Client.Transport.Amqp.AmqpTransportHandler.SendTwinGetAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Devices.Client.Transport.ErrorDelegatingHandler.ExecuteWithErrorHandlingAsync[T](Func`1 asyncOperation)
   at Microsoft.Azure.Devices.Client.Transport.RetryDelegatingHandler.<>c__DisplayClass24_0.<<SendTwinGetAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Devices.Client.Transport.RetryDelegatingHandler.SendTwinGetAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Devices.Client.InternalClient.GetTwinAsync()
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient.InvokeFunc[T](Func`1 func, String operation, Boolean useForConnectivityCheck)
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient.InvokeFunc[T](Func`1 func, String operation, Boolean useForConnectivityCheck) in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/ConnectivityAwareClient.cs:line 162
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy.GetTwinAsync() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/CloudProxy.cs:line 112
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy.GetTwinAsync() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/CloudProxy.cs:line 121
   at Microsoft.Azure.Devices.Edge.Hub.Core.Cloud.RetryingCloudProxy.ExecuteOperation[T](Func`2 func, String operation)
   at Microsoft.Azure.Devices.Edge.Hub.Core.Twin.CloudSync.<>c__DisplayClass4_0.<<GetTwin>b__0>d.MoveNext() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/twin/CloudSync.cs:line 36
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Devices.Edge.Hub.Core.Twin.CloudSync.GetTwin(String id) in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/twin/CloudSync.cs:line 33
<6> 2019-09-24 11:06:00.110 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-value_6, but using existing token as it is usable.
<6> 2019-09-24 11:06:01.015 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-value_6 is True
<6> 2019-09-24 11:06:01.015 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-value_6 changed to ConnectionEstablished
<6> 2019-09-24 11:06:01.016 +00:00 [INF] - Client da-item-BACnet-1001-binary-value_6 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:01.016 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-value_6 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:01.016 +00:00 [INF] - Initialized cloud proxy 5963ab83-2a3c-4c0a-b2dd-d72314409d14 for da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.016 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.016 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.016 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-value_6 with IotHub
<6> 2019-09-24 11:06:01.017 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.017 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.017 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.017 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.020 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.036 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.037 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.051 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.052 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:01.253 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:01.259 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-output_2 via AMQP...
<6> 2019-09-24 11:06:01.797 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-value_6
<6> 2019-09-24 11:06:02.284 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-output_2, but using existing token as it is usable.
<6> 2019-09-24 11:06:02.876 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-output_2 is True
<6> 2019-09-24 11:06:02.876 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-output_2 changed to ConnectionEstablished
<6> 2019-09-24 11:06:02.876 +00:00 [INF] - Client da-item-BACnet-1001-binary-output_2 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:02.876 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-output_2 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:02.876 +00:00 [INF] - Initialized cloud proxy e5b54f40-8313-42fe-9693-1a16449841c4 for da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.876 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.876 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.876 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-output_2 with IotHub
<6> 2019-09-24 11:06:02.877 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.877 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.877 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.877 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.878 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.878 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.911 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.912 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.916 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:02.916 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-output_2
<6> 2019-09-24 11:06:03.134 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:03.140 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-output_3 via AMQP...
<6> 2019-09-24 11:06:03.319 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-output_3, but using existing token as it is usable.
<6> 2019-09-24 11:06:06.004 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-output_3 is True
<6> 2019-09-24 11:06:06.005 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-output_3 changed to ConnectionEstablished
<6> 2019-09-24 11:06:06.005 +00:00 [INF] - Client da-item-BACnet-1001-binary-output_3 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:06.005 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-output_3 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:06.005 +00:00 [INF] - Initialized cloud proxy f71924a2-375f-4fa0-a546-92d6897acfbe for da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.005 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.005 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.006 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-output_3 with IotHub
<6> 2019-09-24 11:06:06.006 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.008 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.008 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.008 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.009 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.010 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.027 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.029 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.033 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.034 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-output_3
<6> 2019-09-24 11:06:06.251 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:06.256 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-value_4 via AMQP...
<6> 2019-09-24 11:06:07.266 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-value_4, but using existing token as it is usable.
<6> 2019-09-24 11:06:08.167 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-value_4 is True
<6> 2019-09-24 11:06:08.167 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-value_4 changed to ConnectionEstablished
<6> 2019-09-24 11:06:08.167 +00:00 [INF] - Client da-item-BACnet-1001-binary-value_4 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:08.167 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-value_4 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:08.167 +00:00 [INF] - Initialized cloud proxy cf466cd1-8513-4ff7-a255-ae073faea371 for da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.167 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.167 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.167 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-value_4 with IotHub
<6> 2019-09-24 11:06:08.168 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.168 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.168 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.168 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.170 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.176 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.203 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.204 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.214 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.215 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-value_4
<6> 2019-09-24 11:06:08.482 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:08.490 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-output_0 via AMQP...
<6> 2019-09-24 11:06:08.671 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-output_0, but using existing token as it is usable.
<6> 2019-09-24 11:06:11.379 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-output_0 is True
<6> 2019-09-24 11:06:11.383 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-output_0 changed to ConnectionEstablished
<6> 2019-09-24 11:06:11.383 +00:00 [INF] - Client da-item-BACnet-1001-binary-output_0 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:11.383 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-output_0 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:11.383 +00:00 [INF] - Initialized cloud proxy 6d8be943-d88f-4d9a-bec6-dab191085231 for da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.383 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.383 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.383 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-output_0 with IotHub
<6> 2019-09-24 11:06:11.384 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.385 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.386 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.386 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.393 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.400 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.431 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.432 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.445 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.446 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-output_0
<6> 2019-09-24 11:06:11.664 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:11.667 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-value_1 via AMQP...
<6> 2019-09-24 11:06:12.815 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-value_1, but using existing token as it is usable.
<6> 2019-09-24 11:06:13.714 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-value_1 is True
<6> 2019-09-24 11:06:13.714 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-value_1 changed to ConnectionEstablished
<6> 2019-09-24 11:06:13.715 +00:00 [INF] - Client da-item-BACnet-1001-binary-value_1 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:13.715 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-value_1 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:13.715 +00:00 [INF] - Initialized cloud proxy ec2eb738-c834-43e1-b126-7c9b355efa2d for da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.715 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.715 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.715 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-value_1 with IotHub
<6> 2019-09-24 11:06:13.715 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.716 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.716 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.716 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.717 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.718 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.736 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.736 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.751 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.752 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-value_1
<6> 2019-09-24 11:06:13.954 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:13.957 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-value_5 via AMQP...
<6> 2019-09-24 11:06:14.138 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-value_5, but using existing token as it is usable.
<6> 2019-09-24 11:06:17.014 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-value_5 is True
<6> 2019-09-24 11:06:17.014 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-value_5 changed to ConnectionEstablished
<6> 2019-09-24 11:06:17.014 +00:00 [INF] - Client da-item-BACnet-1001-binary-value_5 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:17.014 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-value_5 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:17.014 +00:00 [INF] - Initialized cloud proxy 552774ce-bab2-4a72-acb1-f29c077f69a8 for da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.014 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.015 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.015 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-value_5 with IotHub
<6> 2019-09-24 11:06:17.015 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.015 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.015 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.016 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.016 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.019 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.041 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.043 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.058 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.059 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-value_5
<6> 2019-09-24 11:06:17.264 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:17.270 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-output_1 via AMQP...
<6> 2019-09-24 11:06:18.001 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-output_1, but using existing token as it is usable.
<6> 2019-09-24 11:06:19.473 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-output_1 is True
<6> 2019-09-24 11:06:19.473 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-output_1 changed to ConnectionEstablished
<6> 2019-09-24 11:06:19.473 +00:00 [INF] - Client da-item-BACnet-1001-binary-output_1 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:19.473 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-output_1 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:19.473 +00:00 [INF] - Initialized cloud proxy b97d1e9e-8652-47e5-a61a-d9d9bf4b2437 for da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.473 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.474 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.474 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-output_1 with IotHub
<6> 2019-09-24 11:06:19.474 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.474 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.474 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.475 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.475 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.478 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.492 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.494 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.508 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.508 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-output_1
<6> 2019-09-24 11:06:19.732 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:19.735 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-value_2 via AMQP...
<6> 2019-09-24 11:06:19.915 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-value_2, but using existing token as it is usable.
<6> 2019-09-24 11:06:20.286 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-value_2 is True
<6> 2019-09-24 11:06:20.286 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-value_2 changed to ConnectionEstablished
<6> 2019-09-24 11:06:20.286 +00:00 [INF] - Client da-item-BACnet-1001-binary-value_2 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:20.287 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-value_2 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:20.287 +00:00 [INF] - Initialized cloud proxy 7a9cbad3-6326-4339-8d89-3b9bd883781b for da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.287 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.287 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.288 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-value_2 with IotHub
<6> 2019-09-24 11:06:20.288 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.288 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.288 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.288 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.289 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.292 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.312 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.312 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.327 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.327 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-value_2
<6> 2019-09-24 11:06:20.542 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:20.548 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-value_8 via AMQP...
<4> 2019-09-24 11:06:20.755 +00:00 [WRN] - Error getting twin for da-item-BACnet-1001-binary-value_2
System.InvalidOperationException: operation: attach, state: End
   at Microsoft.Azure.Devices.Client.Transport.Amqp.AmqpTransportHandler.SendTwinGetAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Devices.Client.Transport.ErrorDelegatingHandler.ExecuteWithErrorHandlingAsync[T](Func`1 asyncOperation)
   at Microsoft.Azure.Devices.Client.Transport.RetryDelegatingHandler.<>c__DisplayClass24_0.<<SendTwinGetAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Devices.Client.Transport.RetryDelegatingHandler.SendTwinGetAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Devices.Client.InternalClient.GetTwinAsync()
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient.InvokeFunc[T](Func`1 func, String operation, Boolean useForConnectivityCheck)
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient.InvokeFunc[T](Func`1 func, String operation, Boolean useForConnectivityCheck) in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/ConnectivityAwareClient.cs:line 162
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy.GetTwinAsync() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/CloudProxy.cs:line 112
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy.GetTwinAsync() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/CloudProxy.cs:line 121
   at Microsoft.Azure.Devices.Edge.Hub.Core.Cloud.RetryingCloudProxy.ExecuteOperation[T](Func`2 func, String operation)
   at Microsoft.Azure.Devices.Edge.Hub.Core.Twin.CloudSync.<>c__DisplayClass4_0.<<GetTwin>b__0>d.MoveNext() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/twin/CloudSync.cs:line 36
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Devices.Edge.Hub.Core.Twin.CloudSync.GetTwin(String id) in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/twin/CloudSync.cs:line 33
<6> 2019-09-24 11:06:22.231 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-value_8, but using existing token as it is usable.
<6> 2019-09-24 11:06:23.135 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-value_8 is True
<6> 2019-09-24 11:06:23.136 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-value_8 changed to ConnectionEstablished
<6> 2019-09-24 11:06:23.136 +00:00 [INF] - Client da-item-BACnet-1001-binary-value_8 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:23.136 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-value_8 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:23.136 +00:00 [INF] - Initialized cloud proxy 890c0138-6e7b-4ff1-b25f-80a3e9d72509 for da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.136 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.137 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.137 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-value_8 with IotHub
<6> 2019-09-24 11:06:23.138 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.138 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.138 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.138 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.144 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.169 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.170 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.183 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.183 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:23.403 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:23.411 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-binary-value_0 via AMQP...
<6> 2019-09-24 11:06:24.944 +00:00 [INF] - New token requested by client da-item-BACnet-1001-binary-value_0, but using existing token as it is usable.
<6> 2019-09-24 11:06:25.305 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-value_8
<6> 2019-09-24 11:06:25.843 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-binary-value_0 is True
<6> 2019-09-24 11:06:25.844 +00:00 [INF] - Connection status for da-item-BACnet-1001-binary-value_0 changed to ConnectionEstablished
<6> 2019-09-24 11:06:25.844 +00:00 [INF] - Client da-item-BACnet-1001-binary-value_0 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:25.844 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-binary-value_0 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:25.844 +00:00 [INF] - Initialized cloud proxy 8dfb4255-e0b7-47f6-98e4-26609563636a for da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.844 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.844 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.844 +00:00 [INF] - Authenticated da-item-BACnet-1001-binary-value_0 with IotHub
<6> 2019-09-24 11:06:25.845 +00:00 [INF] - New device connection for device da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.845 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.845 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.846 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.846 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.849 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.865 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.866 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.880 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:25.881 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-binary-value_0
<6> 2019-09-24 11:06:26.116 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:26.124 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-value_1 via AMQP...
<4> 2019-09-24 11:06:26.482 +00:00 [WRN] - Error getting twin for da-item-BACnet-1001-binary-value_0
System.InvalidOperationException: operation: attach, state: End
   at Microsoft.Azure.Devices.Client.Transport.Amqp.AmqpTransportHandler.SendTwinGetAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Devices.Client.Transport.ErrorDelegatingHandler.ExecuteWithErrorHandlingAsync[T](Func`1 asyncOperation)
   at Microsoft.Azure.Devices.Client.Transport.RetryDelegatingHandler.<>c__DisplayClass24_0.<<SendTwinGetAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Devices.Client.Transport.RetryDelegatingHandler.SendTwinGetAsync(CancellationToken cancellationToken)
   at Microsoft.Azure.Devices.Client.InternalClient.GetTwinAsync()
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient.InvokeFunc[T](Func`1 func, String operation, Boolean useForConnectivityCheck)
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.ConnectivityAwareClient.InvokeFunc[T](Func`1 func, String operation, Boolean useForConnectivityCheck) in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/ConnectivityAwareClient.cs:line 162
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy.GetTwinAsync() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/CloudProxy.cs:line 112
   at Microsoft.Azure.Devices.Edge.Hub.CloudProxy.CloudProxy.GetTwinAsync() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.CloudProxy/CloudProxy.cs:line 121
   at Microsoft.Azure.Devices.Edge.Hub.Core.Cloud.RetryingCloudProxy.ExecuteOperation[T](Func`2 func, String operation)
   at Microsoft.Azure.Devices.Edge.Hub.Core.Twin.CloudSync.<>c__DisplayClass4_0.<<GetTwin>b__0>d.MoveNext() in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/twin/CloudSync.cs:line 36
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Devices.Edge.Hub.Core.Twin.CloudSync.GetTwin(String id) in /home/vsts/work/1/s/edge-hub/src/Microsoft.Azure.Devices.Edge.Hub.Core/twin/CloudSync.cs:line 33
<6> 2019-09-24 11:06:27.984 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-value_1, but using existing token as it is usable.
<6> 2019-09-24 11:06:28.719 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-value_1 is True
<6> 2019-09-24 11:06:28.740 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-value_1 changed to ConnectionEstablished
<6> 2019-09-24 11:06:28.740 +00:00 [INF] - Client da-item-BACnet-1001-analog-value_1 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:28.740 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-value_1 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:28.740 +00:00 [INF] - Initialized cloud proxy 1103aa94-e939-48f1-a41f-c054781fcca3 for da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.740 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.742 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.742 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-value_1 with IotHub
<6> 2019-09-24 11:06:28.743 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.743 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.743 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.743 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.755 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.801 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.802 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.817 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:28.818 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:29.012 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:29.023 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-value_0 via AMQP...
<6> 2019-09-24 11:06:30.694 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-value_0, but using existing token as it is usable.
<6> 2019-09-24 11:06:31.550 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-value_1
<6> 2019-09-24 11:06:31.596 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-value_0 is True
<6> 2019-09-24 11:06:31.596 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-value_0 changed to ConnectionEstablished
<6> 2019-09-24 11:06:31.596 +00:00 [INF] - Client da-item-BACnet-1001-analog-value_0 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:31.597 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-value_0 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:31.597 +00:00 [INF] - Initialized cloud proxy d87afea5-9fe9-4eb8-9c14-7208d23edd1c for da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.597 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.597 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.597 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-value_0 with IotHub
<6> 2019-09-24 11:06:31.597 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.598 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.598 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.598 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.601 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.624 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.624 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.628 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.629 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.733 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-value_0
<6> 2019-09-24 11:06:31.834 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:31.838 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-output_3 via AMQP...
<6> 2019-09-24 11:06:33.657 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-output_3, but using existing token as it is usable.
<6> 2019-09-24 11:06:34.564 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-output_3 is True
<6> 2019-09-24 11:06:34.564 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-output_3 changed to ConnectionEstablished
<6> 2019-09-24 11:06:34.564 +00:00 [INF] - Client da-item-BACnet-1001-analog-output_3 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:34.564 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-output_3 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:34.564 +00:00 [INF] - Initialized cloud proxy a8bcbef8-835e-4f6e-8641-64c88a891514 for da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.564 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.565 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.565 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-output_3 with IotHub
<6> 2019-09-24 11:06:34.565 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.566 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.566 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.568 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.570 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.588 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.589 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.603 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.604 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:34.816 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:34.821 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-value_2 via AMQP...
<6> 2019-09-24 11:06:36.517 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-value_2, but using existing token as it is usable.
<6> 2019-09-24 11:06:38.158 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-output_3
<6> 2019-09-24 11:06:38.160 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-value_2 is True
<6> 2019-09-24 11:06:38.160 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-value_2 changed to ConnectionEstablished
<6> 2019-09-24 11:06:38.160 +00:00 [INF] - Client da-item-BACnet-1001-analog-value_2 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:38.160 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-value_2 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:38.160 +00:00 [INF] - Initialized cloud proxy 6b2c55e0-c9cd-4aff-90b1-0284d6607c2d for da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.161 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.161 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.161 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-value_2 with IotHub
<6> 2019-09-24 11:06:38.162 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.178 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.178 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.178 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.181 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.199 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.199 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.213 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.214 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.341 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-value_2
<6> 2019-09-24 11:06:38.424 +00:00 [INF] - New token received on the Cbs link
<6> 2019-09-24 11:06:38.435 +00:00 [INF] - Attempting to connect to IoT Hub for client da-item-BACnet-1001-analog-value_3 via AMQP...
<6> 2019-09-24 11:06:38.615 +00:00 [INF] - New token requested by client da-item-BACnet-1001-analog-value_3, but using existing token as it is usable.
<6> 2019-09-24 11:06:41.315 +00:00 [INF] - Cloud connection for da-item-BACnet-1001-analog-value_3 is True
<6> 2019-09-24 11:06:41.316 +00:00 [INF] - Connection status for da-item-BACnet-1001-analog-value_3 changed to ConnectionEstablished
<6> 2019-09-24 11:06:41.316 +00:00 [INF] - Client da-item-BACnet-1001-analog-value_3 connected to cloud, processing existing subscriptions.
<6> 2019-09-24 11:06:41.316 +00:00 [INF] - Created cloud proxy for client da-item-BACnet-1001-analog-value_3 via AMQP, with client operation timeout 20 seconds.
<6> 2019-09-24 11:06:41.316 +00:00 [INF] - Initialized cloud proxy d3756273-0720-4c69-a4b5-82e2680a5459 for da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.316 +00:00 [INF] - Created cloud connection for client da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.317 +00:00 [INF] - New cloud connection created for device da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.317 +00:00 [INF] - Authenticated da-item-BACnet-1001-analog-value_3 with IotHub
<6> 2019-09-24 11:06:41.317 +00:00 [INF] - New device connection for device da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.317 +00:00 [INF] - Bind device proxy for device da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.318 +00:00 [INF] - Initialized device listener in the AMQP protocol head for da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.318 +00:00 [INF] - Opened link C2D for da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.319 +00:00 [INF] - Start listening for C2D messages for device da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.322 +00:00 [INF] - Opened link Events for da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.339 +00:00 [INF] - Opened link TwinReceiving for da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.341 +00:00 [INF] - Opened link TwinSending for da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.353 +00:00 [INF] - Opened link MethodReceiving for da-item-BACnet-1001-analog-value_3
<6> 2019-09-24 11:06:41.353 +00:00 [INF] - Opened link MethodSending for da-item-BACnet-1001-analog-value_3

Here is an example of the local log before setting the cloud authentication mode

Fri, 13 Sep 2019 09:29:15 GMT  106  WARNING        Could not open the device twin while updating Functional Item with id da:item:BACnet:1236:binary-value_0
java.io.IOException: Could not open the connection
	at com.microsoft.azure.sdk.iot.device.DeviceIO.open(DeviceIO.java:164)
	at com.microsoft.azure.sdk.iot.device.InternalClient.open(InternalClient.java:130)
	at com.microsoft.azure.sdk.iot.device.DeviceClient.open(DeviceClient.java:317)
	at com.prosyst.mbs.azure.iot.hub.impl.edge.device.adapter.DeviceAdapter.initializeClientCommunicationChannels(DeviceAdapter.java:161)
	at com.prosyst.mbs.azure.iot.hub.impl.edge.device.adapter.DeviceAdapter.handlePropertyChanged(DeviceAdapter.java:118)
	at com.prosyst.mbs.azure.iot.hub.impl.edge.device.adapter.notification.NotificationDispatcher.dispatch(NotificationDispatcher.java:57)
	at com.prosyst.mbs.azure.iot.hub.impl.edge.device.osgi.PropertyChangedEventHandler.handleEvent(PropertyChangedEventHandler.java:52)
	at com.prosyst.mbs.impl.services.event.HandlerWrapper.deliverEvent(HandlerWrapper.java:430)
	at com.prosyst.mbs.impl.services.event.EventAdminImpl.deliverEvent(EventAdminImpl.java:482)
	at com.prosyst.mbs.impl.services.event.ASynchQueue.run(ASynchQueue.java:125)
	at com.prosyst.mbs.impl.services.core.threads.tpt.threadpool.ExecutorImpl.run(ExecutorImpl.java:221)
Caused by: com.microsoft.azure.sdk.iot.device.exceptions.TransportException: Timed out waiting for worker links to open from service
	at com.microsoft.azure.sdk.iot.device.transport.amqps.AmqpsIotHubConnection.open(AmqpsIotHubConnection.java:245)
	at com.microsoft.azure.sdk.iot.device.transport.IotHubTransport.openConnection(IotHubTransport.java:700)
	at com.microsoft.azure.sdk.iot.device.transport.IotHubTransport.open(IotHubTransport.java:280)
	at com.microsoft.azure.sdk.iot.device.DeviceIO.open(DeviceIO.java:160)
	... 10 more

And nothing like this is visible after setting the cloud authentication mode

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
damonbarrycommented, Sep 30, 2019

@IvanBoychevMarinov I hope you don’t mind…I fixed up your original description and deleted the 2nd comment (after making sure it was exactly the same as the original content). πŸ˜ƒ The original just needed three backticks (```) at the end of the edge hub logs.

0reactions
IvanBoychevMarinovcommented, Oct 10, 2019

Thanks! This is exactly what we are doing. And you hit straight bulls eye. We are currently discussing is it a valid usecase to have more than one edge gateways in the same network, connected to the same hub (and thus having the same devices β€œroaming” between the gateways). Really thanks for the hints and the explanations.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duo Authentication Proxy - Cannot find username
I'm trying to set up a Duo Authentication Proxy server and while I've made some progress, I've just run into an issue I...
Read more >
How to create nested Azure IoT Edge device hierarchies
The downstream (child) devices can authenticate and send or receive messages through their gateway (parent) device. There are two differentΒ ...
Read more >
Understand how Azure IoT Edge uses certificates
How Azure IoT Edge uses certificate to validate devices, modules, and downstream devices enabling secure connections between them.
Read more >
Duo Two-Factor Authentication for Cisco ISE
You should update the configuration on any downstream device that is sending authentication requests to ISE so that the timeout for clientΒ ...
Read more >
802.1x Multiauth mode and downstream switches
When I ran a quick test on a test 3560 running some 15.0.1 code I could get a laptop to connect via 802.1x...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found