Coder Social home page Coder Social logo

Comments (7)

tmonck avatar tmonck commented on June 22, 2024 2

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.

SupremeSports avatar SupremeSports commented on June 22, 2024 1

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.

tmonck avatar tmonck commented on June 22, 2024 1

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.

sagitt avatar sagitt commented on June 22, 2024

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.

xabileiro avatar xabileiro commented on June 22, 2024

Same issue

from clean_up_snapshots.

tmonck avatar tmonck commented on June 22, 2024

I have merge the code from @DaftHonk and published a new release.

from clean_up_snapshots.

tmonck avatar tmonck commented on June 22, 2024

I have confirmed the fix has been applied with the latest version 0.10.0

from clean_up_snapshots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.