Hi,
For some reasons (?), my iOS Home Assistant App doesn’t want to connect my Home Assistant Web App anymore. I get the error : Shared.WebhookError 3
Here is my setup :
Home Assistant is deployed on my local server using docker-compose :
version: "3"
services:
homeassistant:
container_name: homeassistant
restart: always
image: homeassistant/home-assistant:latest
volumes:
- /etc/localtime:/etc/localtime:ro
- ./ha/config:/config
ports:
- 8123:8123
networks:
- default
- traefik
labels:
- traefik.enable=true
- traefik.docker.network=traefik
- traefik.http.middlewares.ha-force-tls.redirectscheme.scheme=https
- traefik.http.routers.ha.rule=Host(`ha.mywebsite.com`)
- traefik.http.routers.ha.middlewares=ha-force-tls@docker
- traefik.http.routers.ha-tls.rule=Host(`ha.mywebsite.com`)
- traefik.http.routers.ha-tls.tls=true
- traefik.http.routers.ha-tls.tls.certresolver=acme-production
networks:
default:
traefik:
external: true
My ./ha/configuration/configurations.yml is :
default_config:
homeassistant:
customize: !include customize.yaml
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
mqtt:
broker: test.mosquitto.org
port: 1883
google_assistant: !include g_assistant_integration.yaml
lovelace:
mode: yaml
resources:
- url: /local/card-mod.js
type: module
- url: /local/card-tools.js
type: module
- url: /local/search-card/search-card.js?v=0
type: module
- url: /local/banner-card.js?v=1
type: module
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.80.3 #Traefik container IP
# ip_ban_enabled: true
# login_attempts_threshold: 5
the log I see when I get the error in the home-assistant.log is :
2024-11-03 15:35:01 ERROR (MainThread) [homeassistant.components.webhook] Error processing webhook 1237f2436d17dd1bb466a1d65fd5e3d6402f407d08bf9139c1cb43d2bef0e115
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 96, in async_handle_webhook
response = await webhook["handler"](hass, webhook_id, request)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/webhook.py", line 188, in handle_webhook
webhook_payload = _decrypt_payload(config_entry.data[CONF_SECRET], enc_data)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/helpers.py", line 84, in _decrypt_payload
message = decrypt(ciphertext, key)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/helpers.py", line 49, in decrypt
return SecretBox(key).decrypt(ciphertext, encoder=Base64Encoder)
File "/usr/local/lib/python3.8/site-packages/nacl/secret.py", line 130, in decrypt
plaintext = nacl.bindings.crypto_secretbox_open(ciphertext,
File "/usr/local/lib/python3.8/site-packages/nacl/bindings/crypto_secretbox.py", line 77, in crypto_secretbox_open
ensure(res == 0, "Decryption failed. Ciphertext failed verification",
File "/usr/local/lib/python3.8/site-packages/nacl/exceptions.py", line 68, in ensure
raise raising(*args)
nacl.exceptions.CryptoError: Decryption failed. Ciphertext failed verification
2024-11-03 15:42:20 ERROR (MainThread) [custom_components.hacs] HacsTask<prosess_queue> failed: Repository structure for v6.3.1 is not compliant
Does anyone have an idea on how I can solve this ?
For information, the access using my laptop is working using the same credentials and URL…
thanks for your support!