{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13530","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13530/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13530/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13530/events","html_url":"https://github.com/home-assistant/home-assistant/issues/13530","id":309690484,"node_id":"MDU6SXNzdWUzMDk2OTA0ODQ=","number":13530,"title":"Cast groups unavailable","user":{"login":"soldag","id":3155494,"node_id":"MDQ6VXNlcjMxNTU0OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3155494?v=4","gravatar_id":"","url":"https://api.github.com/users/soldag","html_url":"https://github.com/soldag","followers_url":"https://api.github.com/users/soldag/followers","following_url":"https://api.github.com/users/soldag/following{/other_user}","gists_url":"https://api.github.com/users/soldag/gists{/gist_id}","starred_url":"https://api.github.com/users/soldag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soldag/subscriptions","organizations_url":"https://api.github.com/users/soldag/orgs","repos_url":"https://api.github.com/users/soldag/repos","events_url":"https://api.github.com/users/soldag/events{/privacy}","received_events_url":"https://api.github.com/users/soldag/received_events","type":"User","site_admin":false},"labels":[{"id":530497746,"node_id":"MDU6TGFiZWw1MzA0OTc3NDY=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20media_player.cast","name":"platform: media_player.cast","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":57,"created_at":"2018-03-29T09:51:05Z","updated_at":"2018-07-06T15:11:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- READ THIS FIRST:\r\n- If you need additional help with this template please refer to https://www.home-assistant.io/help/reporting_issues/\r\n- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases\r\n- Do not report issues for components if you are using custom components: files in <config-dir>/custom_components\r\n- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests\r\n- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!\r\n-->\r\n\r\n**Home Assistant release with the issue:**\r\n0.66.0.beta1\r\n\r\n\r\n**Last working Home Assistant release (if known):**\r\n0.65.6\r\n\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\nRaspbian GNU/Linux 9 (stretch)\r\n\r\n\r\n**Component/platform:**\r\n[media_player.cast](https://www.home-assistant.io/components/media_player.cast)\r\n\r\n\r\n**Description of problem:**\r\nSince update to the latest beta version, my cast groups are unavailable now and then. However, the single devices of the groups can be controlled, but not the groups itself. I encountered this issues typically in the morning. When restarting HASS, all cast devices and groups are available, again.\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```yaml\r\ndiscovery:\r\nmedia_player:\r\n  - platform: cast\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\n\r\n```\r\n\r\n**Additional information:**\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/403062698","html_url":"https://github.com/home-assistant/home-assistant/issues/13530#issuecomment-403062698","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13530","id":403062698,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzA2MjY5OA==","user":{"login":"kdjordjev","id":26642112,"node_id":"MDQ6VXNlcjI2NjQyMTEy","avatar_url":"https://avatars3.githubusercontent.com/u/26642112?v=4","gravatar_id":"","url":"https://api.github.com/users/kdjordjev","html_url":"https://github.com/kdjordjev","followers_url":"https://api.github.com/users/kdjordjev/followers","following_url":"https://api.github.com/users/kdjordjev/following{/other_user}","gists_url":"https://api.github.com/users/kdjordjev/gists{/gist_id}","starred_url":"https://api.github.com/users/kdjordjev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdjordjev/subscriptions","organizations_url":"https://api.github.com/users/kdjordjev/orgs","repos_url":"https://api.github.com/users/kdjordjev/repos","events_url":"https://api.github.com/users/kdjordjev/events{/privacy}","received_events_url":"https://api.github.com/users/kdjordjev/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T15:11:28Z","updated_at":"2018-07-06T15:11:28Z","author_association":"NONE","body":"I am having the same issue here with 0.72. \r\nIndividual devices work, by group gets dropped. I do not recall having this issue before\r\n\r\nThe HA log shows the issue happening first two nights ago @2:38am, which seems to somehow recovered (stopped reporting errors in the log) , and similar errors last nigh @2:27am , which have not recovered yet\r\n\r\n\r\n> 2018-07-05 02:38:17 ERROR (Thread-10) [pychromecast.socket_client] Error reading from socket.\r\n2018-07-05 02:38:17 WARNING (Thread-10) [pychromecast.socket_client] Error communicating with socket, resetting connection\r\n2018-07-05 02:38:17 ERROR (Thread-10) [pychromecast.socket_client] Failed to connect, retrying in 5.0s\r\n2018-07-05 02:38:22 ERROR (Thread-10) [pychromecast.socket_client] Failed to connect. No retries.\r\n2018-07-05 02:38:39 WARNING (Thread-8) [pychromecast.socket_client] Heartbeat timeout, resetting connection\r\n2018-07-05 02:38:54 ERROR (Thread-8) [pychromecast.socket_client] Failed to connect, retrying in 5.0s\r\n2018-07-05 02:41:58 WARNING (Thread-9) [pychromecast.socket_client] Heartbeat timeout, resetting connection\r\n2018-07-05 02:42:05 ERROR (Thread-9) [pychromecast.socket_client] Failed to connect, retrying in 5.0s\r\n2018-07-05 03:05:35 WARNING (Thread-7) [pychromecast.socket_client] Heartbeat timeout, resetting connection\r\n2018-07-05 03:05:38 ERROR (Thread-7) [pychromecast.socket_client] Failed to connect, retrying in 5.0s\r\n2018-07-05 03:29:43 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved\r\n\r\n\r\n\r\n> 2018-07-06 02:27:17 ERROR (Thread-191485) [pychromecast.socket_client] Error reading from socket.\r\n2018-07-06 02:27:17 WARNING (Thread-191485) [pychromecast.socket_client] Error communicating with socket, resetting connection\r\n2018-07-06 02:27:17 ERROR (Thread-191485) [pychromecast.socket_client] Failed to connect, retrying in 5.0s\r\n2018-07-06 02:27:22 ERROR (Thread-191485) [pychromecast.socket_client] Failed to connect. No retries.\r\n2018-07-06 02:27:45 WARNING (Thread-8) [pychromecast.socket_client] Heartbeat timeout, resetting connection\r\n2018-07-06 02:27:52 ERROR (Thread-8) [pychromecast.socket_client] Failed to connect, retrying in 5.0s\r\n2018-07-06 02:51:57 WARNING (Thread-7) [pychromecast.socket_client] Heartbeat timeout, resetting connection\r\n2018-07-06 02:52:04 ERROR (Thread-7) [pychromecast.socket_client] Failed to connect, retrying in 5.0s\r\n2018-07-06 02:52:15 ERROR (Thread-481327) [pychromecast.socket_client] Error reading from socket.\r\n2018-07-06 02:52:15 WARNING (Thread-481327) [pychromecast.socket_client] Error communicating with socket, resetting connection\r\n2018-07-06 02:52:15 ERROR (Thread-481327) [pychromecast.socket_client] Failed to connect, retrying in 5.0s\r\n2018-07-06 04:35:58 WARNING (Thread-9) [pychromecast.socket_client] Heartbeat timeout, resetting connection\r\n2018-07-06 04:36:01 ERROR (Thread-9) [pychromecast.socket_client] Failed to connect, retrying in 5.0s\r\n2018-07-06 07:41:15 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting\r\n"}}
{"actor":{"display_login":"kdjordjev"}}