Insane number of websocket errors

Recently my logs started getting spammed with websocket errors.

The debug log shows this and the latest message in this log basically repeats forever.

Any thoughs on what this could be?

2020-05-29 22:42:53 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Received {'type': 'subscribe_events', 'event_type': 'persistent_notifications_updated', 'id': 10} 2020-05-29 22:42:53 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Received {'type': 'subscribe_events', 'event_type': 'lovelace_updated', 'id': 11} 2020-05-29 22:42:53 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Received {'type': 'render_template', 'template': '""{"locale":[],"header_text":"Home Assistant","disabled_mode":false,"kiosk_mode":false,"compact_mode":true,"footer_mode":true,"split_mode":false,"disable_sidebar":false,"hide_header":false,"chevrons":true,"indicator_top":false,"hidden_tab_redirect":true,"shadow":true,"default_tab_on_refresh":true,"background":"#48BA92","elements_color":"#FFFFFF","menu_color":"","voice_color":"","options_color":"","all_tabs_color":"","notification_dot_color":"#ff9800","tab_indicator_color":"","active_tab_color":"","tabs_color":[],"hide_tabs":[],"show_tabs":"1,2,3,4,5,6,7,8,9,10","default_tab":"1","tab_icons":[],"reverse_tab_direction":false,"button_icons":[],"button_text":[],"reverse_button_direction":false,"menu_dropdown":false,"menu_hide":false,"voice_dropdown":false,"voice_hide":false,"options_hide":false,"button_scroll":false,"hide_help":false,"hide_unused":false,"hide_refresh":false,"hide_config":false,"hide_raw":false,"hide_ch_settings":false,"hide_reload_resources":false,"tabs_css":[],"header_css":"","stack_css":"","header_text_css":"","active_tab_css":"","options_list_css":"","menu_css":"","options_css":"","voice_css":"","all_tabs_css":"","tab_container_css":"","view_css":"","panel_view_css":"","template_variables":"","exceptions":[{"conditions":{"tab":"2,3"},"config":{"show_tabs":"0,1,2,3"}}],"editor_warnings":true}', 'variables': {'user': 'Redacted', 'browser': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4151.0 Safari/537.36 Edg/85.0.530.0'}, 'id': 12}

Then it goes over to

2020-05-29 22:42:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Client exceeded max pending messages [2]: 2048 2020-05-29 22:42:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Client exceeded max pending messages [2]: 2048 2020-05-29 22:42:58 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Received {'type': 'render_template', 'template': '""{"locale":[],"header_text":"Home Assistant","disabled_mode":false,"kiosk_mode":false,"compact_mode":true,"footer_mode":true,"split_mode":false,"disable_sidebar":false,"hide_header":false,"chevrons":true,"indicator_top":false,"hidden_tab_redirect":true,"shadow":true,"default_tab_on_refresh":true,"background":"#48BA92","elements_color":"#FFFFFF","menu_color":"","voice_color":"","options_color":"","all_tabs_color":"","notification_dot_color":"#ff9800","tab_indicator_color":"","active_tab_color":"","tabs_color":[],"hide_tabs":[],"show_tabs":"1,2,3,4,5,6,7,8,9,10","default_tab":"1","tab_icons":[],"reverse_tab_direction":false,"button_icons":[],"button_text":[],"reverse_button_direction":false,"menu_dropdown":false,"menu_hide":false,"voice_dropdown":false,"voice_hide":false,"options_hide":false,"button_scroll":false,"hide_help":false,"hide_unused":false,"hide_refresh":false,"hide_config":false,"hide_raw":false,"hide_ch_settings":false,"hide_reload_resources":false,"tabs_css":[],"header_css":"","stack_css":"","header_text_css":"","active_tab_css":"","options_list_css":"","menu_css":"","options_css":"","voice_css":"","all_tabs_css":"","tab_container_css":"","view_css":"","panel_view_css":"","template_variables":"","exceptions":[{"conditions":{"tab":"2,3"},"config":{"show_tabs":"0,1,2,3"}}],"editor_warnings":true}', 'variables': {'user': 'Redacted', 'browser': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4151.0 Safari/537.36 Edg/85.0.530.0'}, 'id': 1150} 2020-05-29 22:42:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Client exceeded max pending messages [2]: 2048 2020-05-29 22:42:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Client exceeded max pending messages [2]: 2048 2020-05-29 22:42:58 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Received {'type': 'render_template', 'template': '""{"locale":[],"header_text":"Home Assistant","disabled_mode":false,"kiosk_mode":false,"compact_mode":true,"footer_mode":true,"split_mode":false,"disable_sidebar":false,"hide_header":false,"chevrons":true,"indicator_top":false,"hidden_tab_redirect":true,"shadow":true,"default_tab_on_refresh":true,"background":"#48BA92","elements_color":"#FFFFFF","menu_color":"","voice_color":"","options_color":"","all_tabs_color":"","notification_dot_color":"#ff9800","tab_indicator_color":"","active_tab_color":"","tabs_color":[],"hide_tabs":[],"show_tabs":"1,2,3,4,5,6,7,8,9,10","default_tab":"1","tab_icons":[],"reverse_tab_direction":false,"button_icons":[],"button_text":[],"reverse_button_direction":false,"menu_dropdown":false,"menu_hide":false,"voice_dropdown":false,"voice_hide":false,"options_hide":false,"button_scroll":false,"hide_help":false,"hide_unused":false,"hide_refresh":false,"hide_config":false,"hide_raw":false,"hide_ch_settings":false,"hide_reload_resources":false,"tabs_css":[],"header_css":"","stack_css":"","header_text_css":"","active_tab_css":"","options_list_css":"","menu_css":"","options_css":"","voice_css":"","all_tabs_css":"","tab_container_css":"","view_css":"","panel_view_css":"","template_variables":"","exceptions":[{"conditions":{"tab":"2,3"},"config":{"show_tabs":"0,1,2,3"}}],"editor_warnings":true}', 'variables': {'user': 'Redacted', 'browser': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4151.0 Safari/537.36 Edg/85.0.530.0'}, 'id': 1151} 2020-05-29 22:42:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Client exceeded max pending messages [2]: 2048 2020-05-29 22:42:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2785295568] Client exceeded max pending messages [2]: 2048