I previously used Hangouts for notifications. I started noticing I was missing some notifications and checked the logs a crazy amount of log spam from hangups/client.py
I ended up switching to Signal for notifications, and disabling all of my hangouts notifications, but I still have an insane amount of logspam from this client. Here are some of the logs
2020-07-30 04:13:52 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/hangups/client.py", line 138, in connect
await self._listen_future
File "/usr/local/lib/python3.8/site-packages/hangups/channel.py", line 197, in listen
await self._longpoll_request()
File "/usr/local/lib/python3.8/site-packages/hangups/channel.py", line 298, in _longpoll_request
await self._on_push_data(chunk)
File "/usr/local/lib/python3.8/site-packages/hangups/channel.py", line 332, in _on_push_data
await self.on_receive_array.fire(data_array)
File "/usr/local/lib/python3.8/site-packages/hangups/event.py", line 59, in fire
await gen
File "/usr/local/lib/python3.8/site-packages/hangups/client.py", line 347, in _on_receive_array
wrapper = json.loads(array[0]['p'])
and
2020-07-30 03:30:51 ERROR (MainThread) [homeassistant.util.logging] Exception in async_handle_update_users_and_conversations when dispatching 'hangouts_connected': ()
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/hangouts/hangouts_bot.py", line 341, in async_handle_update_users_and_conversations
await self._async_list_conversations()
File "/usr/src/homeassistant/homeassistant/components/hangouts/hangouts_bot.py", line 310, in _async_list_conversations
) = await hangups.build_user_conversation_list(self._client)
File "/usr/local/lib/python3.8/site-packages/hangups/conversation.py", line 30, in build_user_conversation_list
conv_states, sync_timestamp = await _sync_all_conversations(client)
File "/usr/local/lib/python3.8/site-packages/hangups/conversation.py", line 110, in _sync_all_conversations
response = await client.sync_recent_conversations(request)
File "/usr/local/lib/python3.8/site-packages/hangups/client.py", line 672, in sync_recent_conversations
await self._pb_request('conversations/syncrecentconversations',
File "/usr/local/lib/python3.8/site-packages/hangups/client.py", line 433, in _pb_request
raise exceptions.NetworkError(
hangups.exceptions.NetworkError: Request failed with status 0: 'User over quota.
These errors repeat over and over for minutes or hours at a time making attempting to find anything else in the logs next to impossible. Has anyone been able to completely remove hangouts?
I saw in another thread someone mentioned there might be something in the .storage
dir, but I don’t see anything there that looks like Hangouts.
➜ config ls ./.storage
auth core.config_entries frontend.user_data_1b34be8e583a469bb7e8a7922c42c264 hacs.installed http person
auth_module.totp core.device_registry google_assistant hacs.removed lovelace smartthings
auth_provider.homeassistant core.entity_registry hacs hacs.repositories lovelace_resources wyzesense.json
cloud core.restore_state hacs.critical hassio mobile_app zha.storage
core.area_registry core.uuid hacs.hacs homekit_controller-entity-map onboarding