question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Repeating Error in the Supervisor Logs trying to send information to Sentry.io without my permission

See original GitHub issue

Describe the issue you are experiencing

I am getting an Error repeatedly in the Supervisor Logs

22-10-26 01:52:42 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 0x7f9074b3d0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

I have rebooted and Restarted Supervisor (ha su restart)

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

22-10-26 01:52:42 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 0x7f9074b3d0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/5370612/envelope/

System Health information

System Information

version core-2022.10.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.5
os_name Linux
os_version 5.15.61-v8
arch aarch64
timezone America/New_York
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4723
Installed Version 1.28.3
Stage running
Available Repositories 1140
Downloaded Repositories 20
Home Assistant Supervisor
host_os Home Assistant OS 9.3
update_channel beta
supervisor_version supervisor-2022.10.1
agent_version 1.4.1
docker_version 20.10.18
disk_total 228.5 GB
disk_used 11.3 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Samba share (10.0.0), Node-RED (13.4.0), SSH & Web Terminal (12.0.2), MariaDB (2.5.1), Studio Code Server (5.4.0), Glances (0.16.0), Samba Backup (5.2.0), Log Viewer (0.14.0), ArgonOne Active Cooling (28d), ESPHome (2022.10.1)
Dashboards
dashboards 3
resources 10
views 8
mode storage
Recorder
oldest_recorder_run October 23, 2022 at 5:00 AM
current_recorder_run October 26, 2022 at 1:50 AM
estimated_db_size 173.02 MiB
database_engine mysql
database_version 10.6.8

Supervisor diagnostics

config_entry-hassio-b20a568cb4d1e3c68d96d3ee7f3f12f1.json.txt

Additional information

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
jweston2112commented, Nov 8, 2022

Supervisor container also uses the Analytics Settings from Home Assistant??? Because it appears you are using sentry_sdk in supervisor as well … the errors I am seeing are in the Supervisor Log. So if supervisor is sending information and it does not honor the HA Analytics Settings… then you ARE sending information with out my permission .

The error messages above are making the Supervisor log unusable as well…

3reactions
dotgridcommented, Nov 21, 2022

I just wanted to say a big THANK YOU to everyone who contributed to this issue.

Like the other users who commented, I felt confused and uncomfortable seeing those outbound Sentry.io connections.

It felt very unlike the Home Assistant we know and love ❤️

I really appreciate @mdegat01 (and @pvizeli, @jweston2112, @Tamsy) for listening, clarifying, and expending their valuable time to engineer a solution. 🎉 :shipit:

Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Capturing Errors | Sentry Documentation
Generally, unhandled errors are errors that aren't caught by any except (or try/catch) clause.
Read more >
Data Security, Privacy, and Compliance Overview - Sentry
SDKs securely send events, containing information on errors and exceptions, to the Sentry server, which processes and stores the events. Audit ...
Read more >
Data Processing Addendum 4.0.0 (September 21, 2022) | Sentry
This Data Processing Addendum (this “DPA”) is entered into by and between Functional Software, Inc. d/b/a Sentry (“Sentry”, “we”, or “us”) and the...
Read more >
Slack - Sentry Documentation
Sentry owner, manager, or admin permissions are required to install this integration. ... In sentry.io , navigate to Settings > Integrations > Slack....
Read more >
Logging - Sentry Documentation
event_level (default ERROR ): The Sentry Python SDK will report log records with a level higher than or equal to event_level as events....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found