home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.18k stars 31.15k forks source link

Webhook errors with Google Home Speakers in multilocation setups #52247

Closed stephack closed 3 years ago

stephack commented 3 years ago

The problem

Logger: homeassistant.components.webhook Source: components/webhook/init.py:84 Integration: Webhook (documentation, issues) First occurred: 3:59:05 AM (1 occurrences) Last logged: 3:59:05 AM

Received message for unregistered webhook [WEBHOOK ID HERE] from 192.168.x.x


The ip is from a Google Home Speaker. I have 2 instances of HAOS in 2 separate locations. Location A is my primary instance of HA with NabuCasa. I have multiple Google speakers at this location. Location B is the secondary location where the error is being generated. I have one Google speaker at this location.

All speakers are setup in Google Home under the same account but segmented in their respective "Home". The webhook id in the error is being generated at Location B but is registered as a google_local_webhook_id at Location A.

Please advise on whether there is a way to fix this issue. Thanks.

What is version of Home Assistant Core has the issue?

core-2021.6.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

webhook

Link to integration documentation on our website

https://www.home-assistant.io/docs/automation/trigger/#webhook-trigger

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.webhook
Source: components/webhook/__init__.py:84
Integration: Webhook (documentation, issues)
First occurred: 3:59:05 AM (1 occurrences)
Last logged: 3:59:05 AM

Received message for unregistered webhook [WEBHOOK ID HERE] from 192.168.x.x

Additional information

No response

probot-home-assistant[bot] commented 3 years ago

cloud documentation cloud source (message by IssueLinks)

balloob commented 3 years ago

You can safely ignore this warning.

probot-home-assistant[bot] commented 3 years ago

Hey there @home-assistant/cloud, mind taking a look at this issue as its been labeled with an integration (cloud) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)

stephack commented 3 years ago

You can safely ignore this warning.

Thanks for the quick response Paulus. Obviously not a priority, but are there any plans to remove this error from the logs where it doesn't apply. Repetitive errors trigger my ocd ;)

frenck commented 3 years ago

You could filter the logs:

https://www.home-assistant.io/integrations/logger#log-filters

ludeeus commented 3 years ago

You can remove that with filters https://www.home-assistant.io/integrations/logger/#log-filters

stephack commented 3 years ago

Thank you all for the responses. That was my initial thought but wanted to ensure it was a known issue as well. I will create a filter in the logs and let you guys get back to priority tasks. Btw, awesome job on all the improvements. Keep em coming!