401: Unauthorized: add-on hs

Mon problème

Impossible d’ouvrir mes add-ons, exemple vs code, node red, infludb, tous en erreur 401: Unauthorized.

Ma configuration


System Health

version core-2021.7.4
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.9.5
os_name Linux
os_version 5.10.17-v8
arch aarch64
timezone Europe/Paris
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 3953
Installed Version 1.13.2
Stage running
Available Repositories 862
Installed Repositories 40
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 6.1
update_channel stable
supervisor_version supervisor-2021.06.8
docker_version 20.10.6
disk_total 116.7 GB
disk_used 26.5 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Samba share (9.5.1), Mosquitto broker (6.0.1), InfluxDB (4.1.1), Grafana (7.0.4), Node-RED (9.2.1), Samba Backup (4.5.0), File editor (5.3.3), Z-Wave JS to MQTT (0.23.2), Visual Studio Code (3.6.0), Zigbee2mqtt (1.18.1-1), deCONZ (6.9.0), Zigbee2mqtt Edge (edge), Let’s Encrypt (4.11.0), Z-Wave JS (0.1.32), ESPHome (1.20.0)
Lovelace
dashboards 9
resources 28
views 33
mode storage
___
1 « J'aime »

Pourquoi? comment? depuis quand? une montée de niveau? des logs? un redémarrage?..

1 « J'aime »

Bonsoir,

Maj core-2021.7.4 cet après-midi

installation trois car mod: numberbox-card, Xiaomi Cloud Map Extractor et Xiaomi Miot Auto
Tous ces add-on pour essayer de nouveau l’intégration du Roborock S7 puisque enfin ils sont compatible avec cette version.

avant de redémarrer : Configuration valide ! OK

@+

Tu n 'as pas les logs pour fournir un max d’info ?
Parce que c’est déjà pas simple de dépanner à distance, mais s’il faut deviner ce qui coince…

re,
journal Supervisor :

Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/homeassistant/websocket.py", line 134, in async_send_command
    return await self._client.async_send_command(message)
  File "/usr/src/supervisor/supervisor/homeassistant/websocket.py", line 46, in async_send_command
    response = await self.client.receive_json()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_ws.py", line 291, in receive_json
    data = await self.receive_str(timeout=timeout)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_ws.py", line 276, in receive_str
    raise TypeError(f"Received message {msg.type}:{msg.data!r} is not str")
TypeError: Received message 8:1000 is not str
21-07-23 22:11:05 INFO (MainThread) [supervisor.ingress] Update Ingress as panel for a0d7b954_vscode
21-07-23 22:11:05 INFO (MainThread) [supervisor.addons] Add-on 'a0d7b954_vscode' successfully removed
21-07-23 22:11:14 WARNING (MainThread) [supervisor.api.ingress] No valid ingress session None
21-07-23 22:11:15 WARNING (MainThread) [supervisor.api.ingress] Ingress for LQMuGc9EIXZLrURqw_MSbKjX5wXBZpvT0tlQ-uS3soQ not available
21-07-23 22:11:16 WARNING (MainThread) [supervisor.api.ingress] Ingress for LQMuGc9EIXZLrURqw_MSbKjX5wXBZpvT0tlQ-uS3soQ not available
21-07-23 22:11:21 INFO (MainThread) [supervisor.addons] Creating Home Assistant add-on data folder /data/addons/data/a0d7b954_vscode
21-07-23 22:11:21 INFO (SyncWorker_6) [supervisor.docker.interface] Downloading docker image ghcr.io/hassio-addons/vscode/aarch64 with tag 3.6.0.
21-07-23 22:12:34 WARNING (MainThread) [supervisor.api.ingress] Ingress for LQMuGc9EIXZLrURqw_MSbKjX5wXBZpvT0tlQ-uS3soQ not available
21-07-23 22:12:45 INFO (MainThread) [supervisor.addons] Add-on 'a0d7b954_vscode' successfully installed
21-07-23 22:12:47 WARNING (MainThread) [supervisor.api.ingress] Ingress for LQMuGc9EIXZLrURqw_MSbKjX5wXBZpvT0tlQ-uS3soQ not available
21-07-23 22:12:50 INFO (MainThread) [supervisor.ingress] Update Ingress as panel for a0d7b954_vscode
21-07-23 22:12:57 WARNING (MainThread) [supervisor.api.ingress] Ingress for LQMuGc9EIXZLrURqw_MSbKjX5wXBZpvT0tlQ-uS3soQ not available
21-07-23 22:12:57 INFO (SyncWorker_7) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/vscode/aarch64 with version 3.6.0
21-07-23 22:12:59 WARNING (MainThread) [supervisor.api.ingress] No valid ingress session None

journal Core :


2021-07-23 22:14:33 ERROR (MainThread) [homeassistant.components.upnp] Unexpected error fetching Freebox Server data: Error during async_call(), status: 500, body: <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
    return await self.update_method()
  File "/usr/src/homeassistant/homeassistant/components/upnp/device.py", line 184, in async_get_traffic_data
    values = await asyncio.gather(
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/profiles/igd.py", line 93, in async_get_total_bytes_received
    result = await action.async_call()
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/client.py", line 550, in async_call
    raise UpnpError(
async_upnp_client.exceptions.UpnpError: Error during async_call(), status: 500, body: <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
2021-07-23 22:15:03 ERROR (MainThread) [homeassistant.components.scrape.sensor] Unable to extract data from HTML for Dicton
2021-07-23 22:15:03 ERROR (MainThread) [homeassistant.components.upnp] Unexpected error fetching Freebox Server data: Error during async_call(), status: 500, body: <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
    return await self.update_method()
  File "/usr/src/homeassistant/homeassistant/components/upnp/device.py", line 184, in async_get_traffic_data
    values = await asyncio.gather(
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/profiles/igd.py", line 93, in async_get_total_bytes_received
    result = await action.async_call()
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/client.py", line 550, in async_call
    raise UpnpError(
async_upnp_client.exceptions.UpnpError: Error during async_call(), status: 500, body: <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>

1 « J'aime »

Peux-tu tester d’ouvrir HA avec un navigateur en mode privé pour forcer la saisie du login/mot de passe et ne pas utiliser le cache ?

@Wanfr : toujours penser a aller voir si quelqu’un d’autre a signalé le problème.

Vide le cache complètement et essaie avec un autre navigateur…

Re,

Fenêtre privé, mot de passe redemandé et le problème persiste

Apparemment Chrome regle le soucis… Tu utilises quel navigateur ?


Salut,

Je suis sur Firefox, j’ai effacé le cache, j’ai réinstallé mon dernier snapshot et toujours pareil.

Tu as raison, pas de soucis avec chrome

Donc c’est pas dû à HA mais à la mise à jour d’aujourd’hui de Firefox

Solution pour Firefox:
Paramêtres > vie privée et securité > protection renforcée contre le pistage > passage en mode standard (le mode stricte bloque les add-ons)

Ou rester en mode stricte et sur l’url de HA:

  • Cliquez sur le bouclier Shield Fx89 situé à gauche de la barre d’adresse.
  • Basculez le commutateur Fx70-ETPswitch situé en haut du panneau.

Merci à tous

2 « J'aime »

Bien vu et en plus avec le mode op