Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform does not start anymore #147

Closed
4 tasks done
bartek75 opened this issue Nov 25, 2024 · 2 comments
Closed
4 tasks done

Platform does not start anymore #147

bartek75 opened this issue Nov 25, 2024 · 2 comments

Comments

@bartek75
Copy link

System Health details

System Information

version core-2024.11.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.54-haos
arch x86_64
timezone Europe/Warsaw
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4906
Installed Version 1.34.0
Stage running
Available Repositories 1456
Downloaded Repositories 5
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 13.2
update_channel stable
supervisor_version supervisor-2024.11.4
agent_version 1.6.0
docker_version 27.2.0
disk_total 30.8 GB
disk_used 9.6 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons Advanced SSH & Web Terminal (19.0.0), File editor (5.8.0), MariaDB (2.7.1), Samba share (12.3.2), Mosquitto broker (6.4.1), Zigbee2MQTT (1.41.0-1), Home Assistant Google Drive Backup (0.112.1), Cloudflared (5.2.2)
Dashboards
dashboards 2
resources 1
views 4
mode storage
Recorder
oldest_recorder_run November 19, 2024 at 10:41
current_recorder_run November 25, 2024 at 19:00
estimated_db_size 1223.23 MiB
database_engine mysql
database_version 10.11.6
Sonoff
version 3.6.0 (8dd8af9)
cloud_online 6 / 8
local_online 6 / 6

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

Tgtg does not start anymore.
All tgtg entities are unavailable
It might be the same issue as in here: Der-Henning/tgtg#556

Reproduction steps

  1. Restart Homeassistant

Debug logs

2024-11-25 19:00:54.244 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up tgtg platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tgtg/sensor.py", line 83, in setup_platform
    tgtgReply = tgtg_client.get_items()
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tgtg/__init__.py", line 244, in get_items
    self.login()
  File "/usr/local/lib/python3.12/site-packages/tgtg/__init__.py", line 153, in login
    self._refresh_token()
  File "/usr/local/lib/python3.12/site-packages/tgtg/__init__.py", line 139, in _refresh_token
    raise TgtgAPIError(response.status_code, response.content)
tgtg.exceptions.TgtgAPIError: (404, b'{"type":"about:blank","title":"Not Found","status":404,"detail":"No static resource auth/v3/token/refresh.","instance":"/api/auth/v3/token/refresh"}')

Diagnostics dump

No response

@nunodxxd

This comment was marked as off-topic.

@tjorim
Copy link
Collaborator

tjorim commented Nov 26, 2024

@tjorim tjorim closed this as completed Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants