{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/issues/567","repository_url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp","labels_url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/issues/567/comments","events_url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/issues/567/events","html_url":"https://github.com/Azure/azure-iot-sdk-csharp/issues/567","id":344958788,"node_id":"MDU6SXNzdWUzNDQ5NTg3ODg=","number":567,"title":"IoTEdge Device shows offline in Service SDK","user":{"login":"MPapst","id":16494676,"node_id":"MDQ6VXNlcjE2NDk0Njc2","avatar_url":"https://avatars1.githubusercontent.com/u/16494676?v=4","gravatar_id":"","url":"https://api.github.com/users/MPapst","html_url":"https://github.com/MPapst","followers_url":"https://api.github.com/users/MPapst/followers","following_url":"https://api.github.com/users/MPapst/following{/other_user}","gists_url":"https://api.github.com/users/MPapst/gists{/gist_id}","starred_url":"https://api.github.com/users/MPapst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MPapst/subscriptions","organizations_url":"https://api.github.com/users/MPapst/orgs","repos_url":"https://api.github.com/users/MPapst/repos","events_url":"https://api.github.com/users/MPapst/events{/privacy}","received_events_url":"https://api.github.com/users/MPapst/received_events","type":"User","site_admin":false},"labels":[{"id":513244227,"node_id":"MDU6TGFiZWw1MTMyNDQyMjc=","url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/labels/area-service","name":"area-service","color":"d4c5f9","default":false},{"id":461746551,"node_id":"MDU6TGFiZWw0NjE3NDY1NTE=","url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/labels/question","name":"question","color":"1d76db","default":true}],"state":"closed","locked":false,"assignee":{"login":"CIPop","id":8635911,"node_id":"MDQ6VXNlcjg2MzU5MTE=","avatar_url":"https://avatars2.githubusercontent.com/u/8635911?v=4","gravatar_id":"","url":"https://api.github.com/users/CIPop","html_url":"https://github.com/CIPop","followers_url":"https://api.github.com/users/CIPop/followers","following_url":"https://api.github.com/users/CIPop/following{/other_user}","gists_url":"https://api.github.com/users/CIPop/gists{/gist_id}","starred_url":"https://api.github.com/users/CIPop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CIPop/subscriptions","organizations_url":"https://api.github.com/users/CIPop/orgs","repos_url":"https://api.github.com/users/CIPop/repos","events_url":"https://api.github.com/users/CIPop/events{/privacy}","received_events_url":"https://api.github.com/users/CIPop/received_events","type":"User","site_admin":false},"assignees":[{"login":"CIPop","id":8635911,"node_id":"MDQ6VXNlcjg2MzU5MTE=","avatar_url":"https://avatars2.githubusercontent.com/u/8635911?v=4","gravatar_id":"","url":"https://api.github.com/users/CIPop","html_url":"https://github.com/CIPop","followers_url":"https://api.github.com/users/CIPop/followers","following_url":"https://api.github.com/users/CIPop/following{/other_user}","gists_url":"https://api.github.com/users/CIPop/gists{/gist_id}","starred_url":"https://api.github.com/users/CIPop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CIPop/subscriptions","organizations_url":"https://api.github.com/users/CIPop/orgs","repos_url":"https://api.github.com/users/CIPop/repos","events_url":"https://api.github.com/users/CIPop/events{/privacy}","received_events_url":"https://api.github.com/users/CIPop/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-26T18:36:38Z","updated_at":"2018-08-30T18:41:39Z","closed_at":"2018-08-30T18:41:39Z","author_association":"NONE","body":"See Azure/iotedge#80\r\n\r\nI am using the `RegistryManager` from the `Microsoft.Azure.Devices` Package to get informations about the running IoT Edge Devices.\r\nThis works very well except the device status. This one is always disconnected (even if the portal shows connected).\r\n\r\nI am not sure if this is a SDK issue or an iotedge issue.\r\n\r\n## Expected Behavior\r\n`Device` instance requested by `RegistryManager` shows actual Connection State.\r\n\r\n## Current Behavior\r\nShows always Disconnected\r\n\r\n## Steps to Reproduce\r\n```C#\r\nRegistryManager mgr = RegistryManager.CreateFromConnectionString(\"\");\r\nvar dev = await mgr.GetDeviceAsync(\"IoTEdge-0002\");\r\nConsole.WriteLine(dev.ConnectionState);\r\n```\r\n## Context (Environment)\r\n\r\n### Device (Host) Operating System\r\nWindows 10\r\n\r\n### Architecture\r\n<!-- amd64, arm32, etc. -->\r\n\r\n### Container Operating System\r\nWindows\r\n\r\n### Runtime Versions\r\n\r\n#### iotedged\r\n1.0\r\n#### Edge Agent\r\n1.0\r\n#### Edge Hub\r\n1.0\r\n#### Docker\r\n18.03.1-ce\r\n"}}
{"actor":{"display_login":"CIPop"}}