{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/1645","repository_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit","labels_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/1645/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/1645/comments","events_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/1645/events","html_url":"https://github.com/Microsoft/UWPCommunityToolkit/issues/1645","id":276348640,"number":1645,"title":"Sometimes ConnectionInformation.UpdateConnectionInformation() throws exceptions","user":{"login":"snrnats","id":1597284,"avatar_url":"https://avatars1.githubusercontent.com/u/1597284?v=4","gravatar_id":"","url":"https://api.github.com/users/snrnats","html_url":"https://github.com/snrnats","followers_url":"https://api.github.com/users/snrnats/followers","following_url":"https://api.github.com/users/snrnats/following{/other_user}","gists_url":"https://api.github.com/users/snrnats/gists{/gist_id}","starred_url":"https://api.github.com/users/snrnats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snrnats/subscriptions","organizations_url":"https://api.github.com/users/snrnats/orgs","repos_url":"https://api.github.com/users/snrnats/repos","events_url":"https://api.github.com/users/snrnats/events{/privacy}","received_events_url":"https://api.github.com/users/snrnats/received_events","type":"User","site_admin":false},"labels":[{"id":677277873,"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/labels/connectivity","name":"connectivity","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"hermitdave","id":1896163,"avatar_url":"https://avatars2.githubusercontent.com/u/1896163?v=4","gravatar_id":"","url":"https://api.github.com/users/hermitdave","html_url":"https://github.com/hermitdave","followers_url":"https://api.github.com/users/hermitdave/followers","following_url":"https://api.github.com/users/hermitdave/following{/other_user}","gists_url":"https://api.github.com/users/hermitdave/gists{/gist_id}","starred_url":"https://api.github.com/users/hermitdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermitdave/subscriptions","organizations_url":"https://api.github.com/users/hermitdave/orgs","repos_url":"https://api.github.com/users/hermitdave/repos","events_url":"https://api.github.com/users/hermitdave/events{/privacy}","received_events_url":"https://api.github.com/users/hermitdave/received_events","type":"User","site_admin":false},"assignees":[{"login":"hermitdave","id":1896163,"avatar_url":"https://avatars2.githubusercontent.com/u/1896163?v=4","gravatar_id":"","url":"https://api.github.com/users/hermitdave","html_url":"https://github.com/hermitdave","followers_url":"https://api.github.com/users/hermitdave/followers","following_url":"https://api.github.com/users/hermitdave/following{/other_user}","gists_url":"https://api.github.com/users/hermitdave/gists{/gist_id}","starred_url":"https://api.github.com/users/hermitdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermitdave/subscriptions","organizations_url":"https://api.github.com/users/hermitdave/orgs","repos_url":"https://api.github.com/users/hermitdave/repos","events_url":"https://api.github.com/users/hermitdave/events{/privacy}","received_events_url":"https://api.github.com/users/hermitdave/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-11-23T11:53:36Z","updated_at":"2017-12-04T18:46:38Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n<!-- Check one of the following options with \"x\" -->\r\n```\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Feature request <!-- Please file a UserVoice request and include the link below https://wpdev.uservoice.com/forums/110705-universal-windows-platform/category/193402-uwp-community-toolkit -->\r\n[ ] Sample app request\r\n[ ] Documentation issue or request\r\n[ ] Question of Support request => Please do not submit support request here, instead see https://github.com/Microsoft/UWPCommunityToolkit/blob/master/contributing.md#question\r\n```\r\n\r\n## UserVoice link\r\n<!-- If requesting new functionality -->\r\n\r\n\r\n## Current behavior\r\n<!-- Describe how the issue manifests. -->\r\nI have a app in Microsoft Store. Sometimes I get crash reports in HockeyApp pointing to toolkit method **ConnectionInformation.UpdateConnectionInformation**. I can see two different types of exceptions:\r\n\r\n1) For now I can see a least one device with this issue. It occurs every time an app is launching. I have a background task. So it happens every 15 minutes.\r\n```\r\nElement not found. (Excep_FromHResult 0x80070490)\r\n\r\nException Stack:\r\nSharedLibrary!<BaseAddress>+0x3a13cd\r\nCryptoCoins.UWP!<BaseAddress>+0xd4baff\r\nCryptoCoins.UWP!<BaseAddress>+0xd4ba16\r\nMicrosoft.Toolkit.Uwp.Connectivity.ConnectionInformation.UpdateConnectionInformation(Networking.Connectivity.ConnectionProfile profile)\r\nMicrosoft.Toolkit.Uwp.Connectivity.NetworkHelper.OnNetworkStatusChanged(Object sender)\r\nMicrosoft.Toolkit.Uwp.Connectivity.NetworkHelper..ctor()\r\nMicrosoft.Toolkit.Uwp.Connectivity.NetworkHelper.get_Instance()\r\nCryptoCoins.UWP!<BaseAddress>+0xd8f373\r\nSystem.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\nSharedLibrary!<BaseAddress>+0x3a7e80\r\n...\r\n```\r\n\r\n2) This occurs time to time on different devices. In my logs I can see that this happens after a handled http exception in my code (WebErrorStatus.HostNameNotResolved or WebErrorStatus.ConnectionAborted)\r\n```\r\nCatastrophic failure (Excep_FromHResult 0x8000FFFF)\r\n\r\nException Stack:\r\nSharedLibrary!<BaseAddress>+0x4a0ad0\r\nCryptoCoins.UWP!<BaseAddress>+0x112fdde\r\nCryptoCoins.UWP!<BaseAddress>+0x112fcb7\r\nMicrosoft.Toolkit.Uwp.Connectivity.ConnectionInformation.UpdateConnectionInformation(Networking.Connectivity.ConnectionProfile profile)\r\nMicrosoft.Toolkit.Uwp.Connectivity.NetworkHelper.OnNetworkStatusChanged(Object sender)\r\nCryptoCoins.UWP!<BaseAddress>+0xfe87d8\r\n...\r\n```\r\n\r\n## Expected behavior\r\nApp don't crash\r\n\r\n\r\n## Minimal reproduction of the problem with instructions\r\nI don't have steps to reproduce it. For me it looks like a hardware failure.\r\n\r\n\r\n## Environment\r\n<!-- For bug reports Check one or more of the following options with \"x\" -->\r\n```\r\nNuget Package(s): \r\nMicrosoft.Toolkit.Uwp\r\nPackage Version(s): \r\n2.0.0\r\nWindows 10 Build Number:\r\n- [ ] Anniversary Update (14393) \r\n- [x] Creators Update (15063)\r\n- [x] Fall Creators Update (16299)\r\n- [ ] Insider Build (xxxxx)\r\n\r\nApp min and target version:\r\n- [x] Anniversary Update (14393) \r\n- [ ] Creators Update (15063)\r\n- [ ] Fall Creators Update (16299)\r\n- [ ] Insider Build (xxxxx)\r\n\r\nDevice form factor:\r\n- [x] Desktop\r\n- [ ] Mobile\r\n- [ ] Xbox\r\n- [ ] Surface Hub\r\n- [ ] IoT\r\n\r\nVisual Studio \r\n- [ ] 2017 15.3\r\n- [x] 2017 15.4\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/comments/349063439","html_url":"https://github.com/Microsoft/UWPCommunityToolkit/issues/1645#issuecomment-349063439","issue_url":"https://api.github.com/repos/Microsoft/UWPCommunityToolkit/issues/1645","id":349063439,"user":{"login":"snrnats","id":1597284,"avatar_url":"https://avatars1.githubusercontent.com/u/1597284?v=4","gravatar_id":"","url":"https://api.github.com/users/snrnats","html_url":"https://github.com/snrnats","followers_url":"https://api.github.com/users/snrnats/followers","following_url":"https://api.github.com/users/snrnats/following{/other_user}","gists_url":"https://api.github.com/users/snrnats/gists{/gist_id}","starred_url":"https://api.github.com/users/snrnats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snrnats/subscriptions","organizations_url":"https://api.github.com/users/snrnats/orgs","repos_url":"https://api.github.com/users/snrnats/repos","events_url":"https://api.github.com/users/snrnats/events{/privacy}","received_events_url":"https://api.github.com/users/snrnats/received_events","type":"User","site_admin":false},"created_at":"2017-12-04T18:46:38Z","updated_at":"2017-12-04T18:46:38Z","author_association":"NONE","body":"For now it hit even more different devices. I observe 11 and 25 different devices accordingly.\r\nAlso I've got crash dumps from dev center. Some of them are from insider build, although the issue occurs on stable versions too.\r\n\r\n[bf500f85-1ce4-4eb9-a160-3f61aa8e2088.ext.zip](https://github.com/Microsoft/UWPCommunityToolkit/files/1528363/bf500f85-1ce4-4eb9-a160-3f61aa8e2088.ext.zip)\r\n[002d0019-a274-4ca6-9150-e4c92cdad4de.ext.zip](https://github.com/Microsoft/UWPCommunityToolkit/files/1528364/002d0019-a274-4ca6-9150-e4c92cdad4de.ext.zip)\r\n\r\n[742faf3f-ba07-40d0-a4fd-b6f26d270292.ext.zip](https://github.com/Microsoft/UWPCommunityToolkit/files/1528379/742faf3f-ba07-40d0-a4fd-b6f26d270292.ext.zip)\r\n[6a2343f2-a746-4cc7-9fc2-72801d4bf2f1.ext.zip](https://github.com/Microsoft/UWPCommunityToolkit/files/1528380/6a2343f2-a746-4cc7-9fc2-72801d4bf2f1.ext.zip)\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/1597284/33569174-e37bf87e-d939-11e7-9db3-49615f5767bb.png)\r\n![image](https://user-images.githubusercontent.com/1597284/33569448-cd5231ac-d93a-11e7-802c-c22c19e44221.png)\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"snrnats"}}