pantherale0 / ha-familysafety

Microsoft Family Safety Home Assistant integration
MIT License
11 stars 1 forks source link

403 Unauthorized #40

Closed pantherale0 closed 4 weeks ago

pantherale0 commented 7 months ago

System Health details

System Information

version core-2024.3.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.74-haos
arch x86_64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1493 Downloaded Repositories | 91 HACS Data | ok
AccuWeather can_reach_server | ok -- | -- remaining_requests | 44
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 17 August 2024 at 01:00 relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | false remote_server | eu-central-1-11.ui.nabu.casa certificate_status | ready instance_id | 01ba98e99eda43a0a3d26db17b0fd36a can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 11.5 -- | -- update_channel | stable supervisor_version | supervisor-2024.03.0 agent_version | 1.6.0 docker_version | 24.0.7 disk_total | 30.8 GB disk_used | 18.6 GB healthy | true supported | true board | ova supervisor_api | ok version_api | ok installed_addons | Studio Code Server (5.15.0), Terminal & SSH (9.10.0), RPC Shutdown (2.4), Folding@home (0.7.2), ESPHome (2024.2.1), Mosquitto broker (6.4.0), Zigbee2MQTT (1.36.0-1), Samba share (12.3.0), Home Assistant Google Drive Backup (0.112.1), sip2mqtt (beta), AppDaemon (0.16.4), Filebrowser (2.23.0_12), Portainer Agent (linux-arm64-2.19.4-alpine), Cloudflared (5.1.6), Meross Local Broker Addon (0.0.1-alpha49)
Dashboards dashboards | 5 -- | -- resources | 37 views | 20 mode | storage
Recorder oldest_recorder_run | 17 March 2024 at 15:16 -- | -- current_recorder_run | 17 March 2024 at 15:16 estimated_db_size | 879.37 MiB database_engine | sqlite database_version | 3.44.2
Spotify api_endpoint_reachable | ok -- | --

Checklist

Describe the issue

Since around 10:20 AM (UK Time) the MSFT Family Safety API has started to return a 403 Unauthorized error.

No details in logs, but will require investigation upstream. Perhaps the auth protocol has changed.

Reproduction steps

N/A

Debug logs

Logger: custom_components.family_safety.coordinator
Source: helpers/update_coordinator.py:350
integration: Microsoft Family Safety (documentation, issues)
First occurred: 19 March 2024 at 06:59:34 (10 occurrences)
Last logged: 10:20:32

    Error fetching Microsoft Family Safety data: Error communicating with API
    Error fetching Microsoft Family Safety data: Error communicating with API [Errno 104] Connection reset by peer
    Error fetching Microsoft Family Safety data: Error communicating with API HTTP Unauthorized

Diagnostics dump

No response

pantherale0 commented 4 weeks ago

Will be fixed in next version