{"action":"created","issue":{"url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-Android/issues/265","labels_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-Android/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-Android/issues/265/comments","events_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-Android/issues/265/events","html_url":"https://github.com/ConnectSDK/Connect-SDK-Android/issues/265","id":88040944,"number":265,"title":"How do I troubleshoot discovery issues?","user":{"login":"mntgoat","id":1638377,"avatar_url":"https://avatars.githubusercontent.com/u/1638377?v=3","gravatar_id":"","url":"https://api.github.com/users/mntgoat","html_url":"https://github.com/mntgoat","followers_url":"https://api.github.com/users/mntgoat/followers","following_url":"https://api.github.com/users/mntgoat/following{/other_user}","gists_url":"https://api.github.com/users/mntgoat/gists{/gist_id}","starred_url":"https://api.github.com/users/mntgoat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mntgoat/subscriptions","organizations_url":"https://api.github.com/users/mntgoat/orgs","repos_url":"https://api.github.com/users/mntgoat/repos","events_url":"https://api.github.com/users/mntgoat/events{/privacy}","received_events_url":"https://api.github.com/users/mntgoat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-Android/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-13T17:55:15Z","updated_at":"2015-06-24T15:23:09Z","closed_at":null,"body":"I had an issue a little bit ago where my phone kept making the Chromecast devices disappear, and also the Apple TV would never show up. Other phones with the same version of the app would see them just fine. Killing the app wouldn't fix it, only turning wifi off and back on fixed it. I captured the logs but I doubt they tell you much, so next time this happens what can I do? Also, is there a way to force rediscovery? \r\n\r\nThe logs (you can see the wifi going off around 12:50):\r\n\r\n06-13 12:45:21.895  31796-31796/mypackage D/Connect SDK﹕ Service added: Master bedroom (DIAL)\r\n06-13 12:45:21.897  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.74 and id 60daf9e2-a61c-46a8-a6ce-6516a6e750d2\r\n06-13 12:45:21.906  31796-31796/mypackage D/Connect SDK﹕ Service added: Basement east bedroom (DIAL)\r\n06-13 12:45:21.906  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.69 and id d996fe3d-00b8-42da-b901-2e2053fcbe9e\r\n06-13 12:45:22.231  31796-31796/mypackage D/Connect SDK﹕ Service added: HT-RC460 (DLNA)\r\n06-13 12:45:22.231  31796-31796/mypackage D/Connect SDK﹕ Adding service DLNA to device with address 192.168.1.91 and id 6b767ca7-e667-4bc7-b144-a14b66bd5795\r\n06-13 12:45:22.234  31796-31796/mypackage D/Connect SDK﹕ Service added: HT-RC460 (Netcast TV)\r\n06-13 12:45:22.234  31796-31796/mypackage D/Connect SDK﹕ Adding service Netcast TV to device with address 192.168.1.91 and id 6b767ca7-e667-4bc7-b144-a14b66bd5795\r\n06-13 12:45:22.425  31796-31796/mypackage D/Connect SDK﹕ Service added: Basement east bedroom (Chromecast)\r\n06-13 12:45:22.425  31796-31796/mypackage D/Connect SDK﹕ Adding service Chromecast to device with address 192.168.1.69 and id d996fe3d-00b8-42da-b901-2e2053fcbe9e\r\n06-13 12:45:22.576  31796-31796/mypackage D/Connect SDK﹕ Service added: Master bedroom (Chromecast)\r\n06-13 12:45:22.577  31796-31796/mypackage D/Connect SDK﹕ Adding service Chromecast to device with address 192.168.1.74 and id 60daf9e2-a61c-46a8-a6ce-6516a6e750d2\r\n06-13 12:45:22.582  31796-31796/mypackage D/Connect SDK﹕ Service added: Gym (Chromecast)\r\n06-13 12:45:22.582  31796-31796/mypackage D/Connect SDK﹕ Adding service Chromecast to device with address 192.168.1.67 and id c67ae830-5a11-42f4-8f65-3ce81074bfc6\r\n06-13 12:45:22.716  31796-31796/mypackage D/Connect SDK﹕ Service added: TV-55C6400 (DLNA)\r\n06-13 12:45:22.716  31796-31796/mypackage D/Connect SDK﹕ Adding service DLNA to device with address 192.168.1.90 and id cab4a7e1-fd8e-4d88-86cc-9fbfd1eb1488\r\n06-13 12:45:22.717  31796-31796/mypackage D/Connect SDK﹕ Service added: TV-55C6400 (Netcast TV)\r\n06-13 12:45:22.717  31796-31796/mypackage D/Connect SDK﹕ Adding service Netcast TV to device with address 192.168.1.90 and id cab4a7e1-fd8e-4d88-86cc-9fbfd1eb1488\r\n06-13 12:45:23.233  31796-31796/mypackage D/Connect SDK﹕ Service added: Roku 3 - 4124CD116856 (Roku)\r\n06-13 12:45:23.233  31796-31796/mypackage D/Connect SDK﹕ Adding service Roku to device with address 192.168.1.208 and id a34d0ad6-5150-4a60-877c-7f1d43346fdb\r\n06-13 12:45:23.778  31796-31796/mypackage D/Connect SDK﹕ Service added: Roku 3 - 4124CD116856 (DIAL)\r\n06-13 12:45:23.778  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.208 and id a34d0ad6-5150-4a60-877c-7f1d43346fdb\r\n06-13 12:45:23.945  31796-31796/mypackage D/Connect SDK﹕ Service added: Living room (DIAL)\r\n06-13 12:45:23.945  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.66 and id 27e5efa4-dc05-47d5-8f96-8cdb2e69a289\r\n06-13 12:45:24.194  31796-31796/mypackage D/Connect SDK﹕ Service added: Gym (DIAL)\r\n06-13 12:45:24.194  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.67 and id c67ae830-5a11-42f4-8f65-3ce81074bfc6\r\n06-13 12:45:24.472  31796-31796/mypackage D/Connect SDK﹕ Service added: Lilian's Fire TV (DIAL)\r\n06-13 12:45:24.472  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.72 and id e8a5cae1-7b51-4902-9faa-5e4eef82af71\r\n06-13 12:46:33.617  31796-31796/mypackage D/Connect SDK﹕ Service added: Nearby device (Chromecast)\r\n06-13 12:46:33.617  31796-31796/mypackage D/Connect SDK﹕ Adding service Chromecast to device with address 127.0.0.1 and id 8cc52a95-94f9-4677-9628-3b7698e00a19\r\n06-13 12:46:33.618  31796-31796/mypackage D/Connect SDK﹕ Service [Basement east bedroom] has been removed\r\n06-13 12:46:33.618  31796-31796/mypackage D/Connect SDK﹕ Service [Gym] has been removed\r\n06-13 12:46:33.618  31796-31796/mypackage D/Connect SDK﹕ Service [Master bedroom] has been removed\r\n06-13 12:46:33.745  31796-31796/mypackage D/Connect SDK﹕ onServiceRemoved: friendlyName: Basement east bedroom\r\n06-13 12:46:33.746  31796-31796/mypackage D/Connect SDK﹕ onServiceRemoved: friendlyName: Gym\r\n06-13 12:46:33.747  31796-31796/mypackage D/Connect SDK﹕ onServiceRemoved: friendlyName: Master bedroom\r\n06-13 12:50:14.036  31796-31796/mypackage W/Connect SDK﹕ Network connection is disconnected\r\n06-13 12:50:14.037  31796-31796/mypackage W/Connect SDK﹕ Network connection is disconnected\r\n06-13 12:50:14.147  31796-31796/mypackage W/Connect SDK﹕ Network connection is disconnected\r\n06-13 12:50:24.310  31796-31796/mypackage W/Connect SDK﹕ Network connection is disconnected\r\n06-13 12:50:24.357  31796-31796/mypackage W/Connect SDK﹕ Network connection is disconnected\r\n06-13 12:50:27.707  31796-31796/mypackage D/Connect SDK﹕ Service added: TV-55C6400 (DLNA)\r\n06-13 12:50:27.707  31796-31796/mypackage D/Connect SDK﹕ Adding service DLNA to device with address 192.168.1.90 and id cab4a7e1-fd8e-4d88-86cc-9fbfd1eb1488\r\n06-13 12:50:27.708  31796-31796/mypackage D/Connect SDK﹕ Service added: TV-55C6400 (Netcast TV)\r\n06-13 12:50:27.708  31796-31796/mypackage D/Connect SDK﹕ Adding service Netcast TV to device with address 192.168.1.90 and id cab4a7e1-fd8e-4d88-86cc-9fbfd1eb1488\r\n06-13 12:50:27.823  31796-31796/mypackage D/Connect SDK﹕ Service added: Roku 3 - 4124CD116856 (DIAL)\r\n06-13 12:50:27.823  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.208 and id a34d0ad6-5150-4a60-877c-7f1d43346fdb\r\n06-13 12:50:27.837  31796-31796/mypackage D/Connect SDK﹕ Service added: Living room (Chromecast)\r\n06-13 12:50:27.837  31796-31796/mypackage D/Connect SDK﹕ Adding service Chromecast to device with address 192.168.1.66 and id 27e5efa4-dc05-47d5-8f96-8cdb2e69a289\r\n06-13 12:50:27.852   31796-7440/mypackage D/Connect SDK﹕ Service added: Apple TV (2) (AirPlay)\r\n06-13 12:50:27.853   31796-7440/mypackage D/Connect SDK﹕ Adding service AirPlay to device with address 192.168.1.92 and id a28d8d76-b633-448c-8206-47ebe1b8f2b3\r\n06-13 12:50:27.858  31796-31796/mypackage D/Connect SDK﹕ Service added: Basement east bedroom (Chromecast)\r\n06-13 12:50:27.858  31796-31796/mypackage D/Connect SDK﹕ Adding service Chromecast to device with address 192.168.1.69 and id d996fe3d-00b8-42da-b901-2e2053fcbe9e\r\n06-13 12:50:27.882  31796-31796/mypackage D/Connect SDK﹕ Service added: Master bedroom (Chromecast)\r\n06-13 12:50:27.882  31796-31796/mypackage D/Connect SDK﹕ Adding service Chromecast to device with address 192.168.1.74 and id 8a6433cc-ed03-4636-8bcd-84f8e0a4c65f\r\n06-13 12:50:27.914  31796-31796/mypackage D/Connect SDK﹕ Service added: Gym (Chromecast)\r\n06-13 12:50:27.914  31796-31796/mypackage D/Connect SDK﹕ Adding service Chromecast to device with address 192.168.1.67 and id c67ae830-5a11-42f4-8f65-3ce81074bfc6\r\n06-13 12:50:28.311  31796-31796/mypackage D/Connect SDK﹕ Service added: Roku 3 - 4124CD116856 (Roku)\r\n06-13 12:50:28.311  31796-31796/mypackage D/Connect SDK﹕ Adding service Roku to device with address 192.168.1.208 and id a34d0ad6-5150-4a60-877c-7f1d43346fdb\r\n06-13 12:50:28.721  31796-31796/mypackage D/Connect SDK﹕ Service added: HT-RC460 (DLNA)\r\n06-13 12:50:28.721  31796-31796/mypackage D/Connect SDK﹕ Adding service DLNA to device with address 192.168.1.91 and id 63d5c615-55e5-4952-be05-892f115a0d46\r\n06-13 12:50:28.722  31796-31796/mypackage D/Connect SDK﹕ Service added: HT-RC460 (Netcast TV)\r\n06-13 12:50:28.722  31796-31796/mypackage D/Connect SDK﹕ Adding service Netcast TV to device with address 192.168.1.91 and id 63d5c615-55e5-4952-be05-892f115a0d46\r\n06-13 12:50:29.027  31796-31796/mypackage D/Connect SDK﹕ Service added: Living room (DIAL)\r\n06-13 12:50:29.027  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.66 and id 27e5efa4-dc05-47d5-8f96-8cdb2e69a289\r\n06-13 12:50:30.013  31796-31796/mypackage D/Connect SDK﹕ Service added: Gym (DIAL)\r\n06-13 12:50:30.013  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.67 and id c67ae830-5a11-42f4-8f65-3ce81074bfc6\r\n06-13 12:50:30.044  31796-31796/mypackage D/Connect SDK﹕ Service added: Master bedroom (DIAL)\r\n06-13 12:50:30.044  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.74 and id 8a6433cc-ed03-4636-8bcd-84f8e0a4c65f\r\n06-13 12:50:30.212  31796-31796/mypackage D/Connect SDK﹕ Service added: Basement east bedroom (DIAL)\r\n06-13 12:50:30.212  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.69 and id d996fe3d-00b8-42da-b901-2e2053fcbe9e\r\n06-13 12:50:31.055  31796-31796/mypackage D/Connect SDK﹕ Service added: Lilian's Fire TV (DIAL)\r\n06-13 12:50:31.055  31796-31796/mypackage D/Connect SDK﹕ Adding service DIAL to device with address 192.168.1.72 and id 2252d34c-e606-423e-96ce-e8b726e58d66\r\n"},"comment":{"url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-Android/issues/comments/114908388","html_url":"https://github.com/ConnectSDK/Connect-SDK-Android/issues/265#issuecomment-114908388","issue_url":"https://api.github.com/repos/ConnectSDK/Connect-SDK-Android/issues/265","id":114908388,"user":{"login":"mntgoat","id":1638377,"avatar_url":"https://avatars.githubusercontent.com/u/1638377?v=3","gravatar_id":"","url":"https://api.github.com/users/mntgoat","html_url":"https://github.com/mntgoat","followers_url":"https://api.github.com/users/mntgoat/followers","following_url":"https://api.github.com/users/mntgoat/following{/other_user}","gists_url":"https://api.github.com/users/mntgoat/gists{/gist_id}","starred_url":"https://api.github.com/users/mntgoat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mntgoat/subscriptions","organizations_url":"https://api.github.com/users/mntgoat/orgs","repos_url":"https://api.github.com/users/mntgoat/repos","events_url":"https://api.github.com/users/mntgoat/events{/privacy}","received_events_url":"https://api.github.com/users/mntgoat/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T15:23:09Z","updated_at":"2015-06-24T15:23:09Z","body":"I've seen this exact same problem without calling stop/start. Basically a phone will not show any chromecast devices but if I step the code I can see them on the list of discoveryManager.getAllDevices() but when I check the capabilities they just don't pass that test. "}}