|
发表于 2022-12-10 01:23:17
|
显示全部楼层
这个是我的错误日志
Logger: homeassistant.components.webhook
Source: components/mobile_app/helpers.py:45
Integration: Webhook (documentation, issues)
First occurred: 2022年12月9日 22:41:37 (11 occurrences)
Last logged: 2022年12月9日 22:41:38
Error processing webhook 84974fe67d6dd8b2098608307fe98815f52ae4073a16061c18a8f22485caa64e
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 104, in async_handle_webhook
response = await webhook["handler"](hass, webhook_id, request)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/webhook.py", line 193, 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 80, in _decrypt_payload
message = decrypt(ciphertext, key)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/helpers.py", line 45, in decrypt
return SecretBox(key).decrypt(ciphertext, encoder=Base64Encoder)
File "/usr/local/lib/python3.9/site-packages/nacl/secret.py", line 130, in decrypt
plaintext = nacl.bindings.crypto_secretbox_open(ciphertext,
File "/usr/local/lib/python3.9/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.9/site-packages/nacl/exceptions.py", line 81, in ensure
raise raising(*args)
nacl.exceptions.CryptoError: Decryption failed. Ciphertext failed verification |
|