Comments (7)
Looks like this will take some time home-assistant/core#90400 there was a security vulnerability that home assistant closed and caused this issue. I'm going to keep this open while waiting for a fix.
from clean_up_snapshots.
Error message when calling automation to clean:
This error originated from a custom integration.
Logger: custom_components.clean_up_snapshots_service
Source: custom_components/clean_up_snapshots_service/__init__.py:49
Integration: Clean up your snapshots (documentation)
First occurred: 4:00:00 AM (1 occurrences)
Last logged: 4:00:00 AM
Client error on calling get snapshots
Traceback (most recent call last):
File "/config/custom_components/clean_up_snapshots_service/__init__.py", line 49, in async_get_snapshots
resp = await session.get(hassio_url + BACKUPS_URL_PATH, headers=headers, ssl=shouldVerifySsl(hassio_url))
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 643, in _request
resp.raise_for_status()
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1005, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 401, message='Unauthorized', url=URL('http://192.168.1.10:8123/api/hassio/backups')
from clean_up_snapshots.
Thanks for posting this, I completely spaced on this in my instance. I am actively debugging and will have a working version soon.
from clean_up_snapshots.
Hi, on 2023.4 same error.
You think will be a fix soon?
Logger: custom_components.clean_up_snapshots_service
Source: custom_components/clean_up_snapshots_service/init.py:49
Integration: Clean up your snapshots (documentation)
First occurred: 21:31:59 (1 occurrences)
Last logged: 21:31:59
Client error on calling get snapshots
Traceback (most recent call last):
File "/config/custom_components/clean_up_snapshots_service/__init__.py", line 49, in async_get_snapshots
resp = await session.get(hassio_url + BACKUPS_URL_PATH, headers=headers, ssl=shouldVerifySsl(hassio_url))
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 643, in _request
resp.raise_for_status()
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1005, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 401, message='Unauthorized', url=URL('http://192.168.0.4:8123/api/hassio/backups')
from clean_up_snapshots.
Same issue
from clean_up_snapshots.
I have merge the code from @DaftHonk and published a new release.
from clean_up_snapshots.
I have confirmed the fix has been applied with the latest version 0.10.0
from clean_up_snapshots.
Related Issues (20)
- Error while executing automation automation.daily_snapshot_clean_up. Unknown error for call_service at pos 1: HOT 15
- Thanks HOT 1
- Typo in module call 'dateutil'?
- Unable to remove snapshots after 0.4 HOT 6
- aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host hassio:8123 ssl:True HOT 9
- Error with deleting snapshots HOT 3
- No 'version' key in the manifest file HOT 9
- Error on new HA 2021.6 HOT 7
- Align to HA Code Dev HOT 1
- Errors in logs HOT 4
- Update needed to address /backups change HOT 3
- 404 finding remove path HOT 4
- Backups location has changed HOT 2
- Dependency Dashboard
- Rename service to not include the word snapshots
- Migrate to ConfigFlow HOT 1
- Import is not bringing current configuration
- The 'clean_up_snapshots_service' option near /config/configuration.yaml:1 is deprecated HOT 5
- Missing Icon HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clean_up_snapshots.