home-assistant / supervisor

:house_with_garden: Home Assistant Supervisor
https://home-assistant.io/hassio/
Apache License 2.0
1.77k stars 648 forks source link

HOAS trying to contact sentry.io #4014

Closed ovenslighted08 closed 1 year ago

ovenslighted08 commented 1 year ago

Describe the issue you are experiencing

HOAS attempts to contact sentry.io event monitoring. Integration is NOT installed.

What operating system image do you use?

rpi4-64 (Raspberry Pi 4/400 64-bit OS)

What version of Home Assistant Operating System is installed?

5.15.61-v8

Did you upgrade the Operating System.

No

Steps to reproduce the issue

1.none specific - instance reaching out to Sentry when the integration has never been installed

  1. Observed attempted connections in logs of local dns service
  2. See hoas logs below ...

Anything in the Supervisor logs that might be useful for us?

22-11-18 07:27:09 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaf4b010>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/
22-11-18 07:32:09 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab7151e0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/
22-11-18 07:32:09 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faafec8b0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/
22-11-18 07:32:09 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae45b70>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/
22-11-18 07:32:21 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-11-18 07:37:09 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaf9fe20>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/
22-11-18 07:37:09 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae46b60>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/
22-11-18 07:37:09 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae458a0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/
22-11-18 07:42:10 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae459f0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/
22-11-18 07:42:10 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa1ca380>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/
22-11-18 07:42:10 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa1c8c10>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/
22-11-18 07:47:10 WARNING (raven-sentry.BackgroundWorker) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaf20850>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/

Anything in the Host logs that might be useful for us?

INFO] 127.0.0.1:51208 - 27587 "NS IN . udp 17 false 512" NOERROR - 0 30.000635213s
[ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
[INFO] 127.0.0.1:54899 - 24539 "NS IN . udp 17 false 512" NOERROR - 0 30.000687194s
[ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
[INFO] 127.0.0.1:52737 - 21417 "NS IN . udp 17 false 512" NOERROR - 0 30.000665546s
[ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout
[INFO] 127.0.0.1:47287 - 56992 "NS IN . udp 17 false 512" NOERROR - 0 30.000569899s
[ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout
[INFO] 127.0.0.1:49606 - 3994 "NS IN . udp 17 false 512" NOERROR - 0 30.00071836s

System information

No response

Additional information

9BB3ECAA-3FD3-4C61-B9D6-2BF6AB16D641

ovenslighted08 commented 1 year ago

Follow-up why hoas is attempting to query cloud flare dns directly? IE, ignoring internal dns provided by dhcp.

agners commented 1 year ago

This is likely a connection attempt made by Supervisor.

Can you provide more information about the versions of your system?

ovenslighted08 commented 1 year ago

Hi @agners, thanks for the response. Current versions are: Home Assistant 2022.11.4 Supervisor 2022.10.2 Operating System 9.3 Frontend 20221108.0 - latest

Confirmed my instance is still trying to reach sentry.io (up to 10 mins ago) 16B0B31E-06AA-4ACC-9C61-DBDF227BFCBC

cheers!

agners commented 1 year ago

Can you check your analytics settings?

Settings -> System -> Analytics

jweston2112 commented 1 year ago

This is actually a known issue in Supervisor 2022.10.2 that has been corrected in the Beta Version of Supervisor... (2022.11.1 and later) , My production machine still does this and I am wondering when the Supervisor 2022.11.2 will be released to the Stable group. See this (closed) issue for details: https://github.com/home-assistant/supervisor/issues/3973

ovenslighted08 commented 1 year ago

Can you check your analytics settings?

Settings -> System -> Analytics

Hi @agners, All settings are disabled in there:

8D9E64D5-4411-49B6-A9DE-76D2579949AC

ovenslighted08 commented 1 year ago

This is actually a known issue in Supervisor 2022.10.2 that has been corrected in the Beta Version of Supervisor... (2022.11.1 and later) , My production machine still does this and I am wondering when the Supervisor 2022.11.2 will be released to the Stable group. See this (closed) issue for details: #3973

Thanks for the reference @jweston2112. Glad to know there’s a fix in the pipeline.

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.